VirtualBox

Changeset 89682 in vbox for trunk/include


Ignore:
Timestamp:
Jun 14, 2021 2:29:35 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145130
Message:

VMM/DBGFR3SampleReport: More work on the sample creation code, bugref:10025

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/dbgf.h

    r89622 r89682  
    30873087 * @{ */
    30883088
     3089/**
     3090 * Callback which provides progress information about a currently running
     3091 * lengthy operation.
     3092 *
     3093 * @return  VBox status code.
     3094 * @retval  VERR_DBGF_CANCELLED to cancel the operation.
     3095 * @param   pvUser          The opaque user data associated with this interface.
     3096 * @param   uPercentage     Completion percentage.
     3097 */
     3098typedef DECLCALLBACKTYPE(int, FNDBGFPROGRESS,(void *pvUser, unsigned uPercentage));
     3099/** Pointer to FNDBGFPROGRESS() */
     3100typedef FNDBGFPROGRESS *PFNDBGFPROGRESS;
     3101
    30893102/** @name Flags to pass to DBGFR3SampleReportCreate().
    30903103 * @{ */
    30913104/** The report creates the call stack in reverse order (bottom to top). */
    3092 #define DBGF_SAMPLE_REPORT_F_UPSIDE_DOWN    RT_BIT(0)
     3105#define DBGF_SAMPLE_REPORT_F_STACK_REVERSE  RT_BIT(0)
    30933106/** Mask containing the valid flags. */
    3094 #define DBGF_AMPLE_REPORT_F_VALID_MASK      UINT32_C(0x00000001)
     3107#define DBGF_SAMPLE_REPORT_F_VALID_MASK     UINT32_C(0x00000001)
    30953108/** @} */
    30963109
     
    30983111VMMR3DECL(uint32_t) DBGFR3SampleReportRetain(DBGFSAMPLEREPORT hSample);
    30993112VMMR3DECL(uint32_t) DBGFR3SampleReportRelease(DBGFSAMPLEREPORT hSample);
    3100 VMMR3DECL(int)      DBGFR3SampleReportStart(DBGFSAMPLEREPORT hSample);
     3113VMMR3DECL(int)      DBGFR3SampleReportStart(DBGFSAMPLEREPORT hSample, uint64_t cSampleUs, PFNDBGFPROGRESS pfnProgress, void *pvUser);
    31013114VMMR3DECL(int)      DBGFR3SampleReportStop(DBGFSAMPLEREPORT hSample);
    31023115VMMR3DECL(int)      DBGFR3SampleReportDumpToFile(DBGFSAMPLEREPORT hSample, const char *pszFilename);
Note: See TracChangeset for help on using the changeset viewer.

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