VirtualBox

Changeset 71492 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Mar 24, 2018 10:23:10 PM (7 years ago)
Author:
vboxsync
Message:

Runtime: Introduce RTTraceLog* API for creating and parsing binary trace log files. The format and API is designed with the

following goals in mind:

  1. Allow streaming the data via network or write it to a file.
  2. Embed the structure of the traced data into the log allowing arbitrary structured data to be embedded without requiring adaptions on the parsing side.
  3. Allow grouping of traced data belonging together to easily follow chains of events later on.
  4. Trace events can have a parent assigned to check where an event originally originated from.
  5. Low overhead on the creation side.

The current state implements the absolute basics on the creation and parsing side and is work in progress. This will
be used later on in the device emulation fuzzer to capture device and examine device states and changes.

Location:
trunk/src/VBox/Runtime/testcase
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/Makefile.kmk

    r69643 r71492  
    135135        tstRTThreadExecutionTime \
    136136        tstRTTime \
     137        tstRTTraceLog \
    137138        tstTime-2 \
    138139        tstTime-3 \
     
    661662tstRTTime_SOURCES = tstRTTime.cpp
    662663
     664tstRTTraceLog_TEMPLATE = VBOXR3TSTEXE
     665tstRTTraceLog_SOURCES = tstRTTraceLog.cpp
     666
    663667tstTime-2_TEMPLATE = VBOXR3TSTEXE
    664668tstTime-2_SOURCES = tstTime-2.cpp
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette