VirtualBox

Changeset 89622 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Jun 11, 2021 9:43:32 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145066
Message:

VMM/DBGFR3SampleReport: Some prototype code to allow creating guest sample reports in order to get more insight into what a guest is doing, bugref:10025

File:
1 edited

Legend:

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

    r88366 r89622  
    30833083/** @} */
    30843084
     3085
     3086/** @defgroup grp_dbgf_sample_report DBGF sample report.
     3087 * @{ */
     3088
     3089/** @name Flags to pass to DBGFR3SampleReportCreate().
     3090 * @{ */
     3091/** The report creates the call stack in reverse order (bottom to top). */
     3092#define DBGF_SAMPLE_REPORT_F_UPSIDE_DOWN    RT_BIT(0)
     3093/** Mask containing the valid flags. */
     3094#define DBGF_AMPLE_REPORT_F_VALID_MASK      UINT32_C(0x00000001)
    30853095/** @} */
    30863096
     3097VMMR3DECL(int)      DBGFR3SampleReportCreate(PUVM pUVM, uint32_t cSampleIntervalMs, uint32_t fFlags, PDBGFSAMPLEREPORT phSample);
     3098VMMR3DECL(uint32_t) DBGFR3SampleReportRetain(DBGFSAMPLEREPORT hSample);
     3099VMMR3DECL(uint32_t) DBGFR3SampleReportRelease(DBGFSAMPLEREPORT hSample);
     3100VMMR3DECL(int)      DBGFR3SampleReportStart(DBGFSAMPLEREPORT hSample);
     3101VMMR3DECL(int)      DBGFR3SampleReportStop(DBGFSAMPLEREPORT hSample);
     3102VMMR3DECL(int)      DBGFR3SampleReportDumpToFile(DBGFSAMPLEREPORT hSample, const char *pszFilename);
     3103/** @} */
     3104
     3105/** @} */
     3106
    30873107RT_C_DECLS_END
    30883108
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