VirtualBox

Changeset 84494 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
May 25, 2020 11:09:52 AM (5 years ago)
Author:
vboxsync
Message:

VMM/DBGFTracer: Add events when an event source gets registered/deregistered and proper grouping for events caused by the event source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/DBGFAllTracer.cpp

    r84488 r84494  
    154154}
    155155
     156
     157#ifdef IN_RING3
     158/**
     159 * Posts a single event descriptor to the ring buffer of the given tracer instance - R3 only variant
     160 * (used for the register/deregister event source events currently).
     161 *
     162 * @returns VBox status code.
     163 * @param   pVM                     The current context VM instance data.
     164 * @param   pThisCC                 The event tracer instance current context data.
     165 * @param   hEvtSrc                 The event source for the posted event.
     166 * @param   enmTraceEvt             The trace event type posted.
     167 * @param   pvEvtDesc               The event descriptor to copy after the header.
     168 * @param   cbEvtDesc               Event descriptor size in bytes.
     169 * @param   pidEvt                  Where to store the assigned event ID, optional.
     170 */
     171DECLHIDDEN(int) dbgfTracerR3EvtPostSingle(PVMCC pVM, PDBGFTRACERINSCC pThisCC, DBGFTRACEREVTSRC hEvtSrc,
     172                                          DBGFTRACEREVT enmTraceEvt, const void *pvEvtDesc, size_t cbEvtDesc,
     173                                          uint64_t *pidEvt)
     174{
     175    return dbgfTracerEvtPostEx(pVM, pThisCC, hEvtSrc, enmTraceEvt, DBGF_TRACER_EVT_HDR_ID_INVALID,
     176                               pvEvtDesc, cbEvtDesc, pidEvt);
     177}
     178#endif
    156179
    157180/**
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