VirtualBox

儲存庫 vbox 的更動 89622


忽略:
時間撮記:
2021-6-11 上午09:43:32 (4 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
145066
訊息:

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

位置:
trunk
檔案:
新增 1 筆資料
修改 4 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/VBox/types.h

    r87594 r89622  
    535535/** A NIL DBGF breakpoint handle. */
    536536#define NIL_DBGFBP              ((uint32_t)UINT32_MAX)
     537
     538/** A sample report handle. */
     539typedef struct DBGFSAMPLEREPORTINT *DBGFSAMPLEREPORT;
     540/** Pointer to a sample report handle. */
     541typedef DBGFSAMPLEREPORT       *PDBGFSAMPLEREPORT;
    537542/** @} */
    538543
  • 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
  • trunk/src/VBox/VMM/Makefile.kmk

    r88153 r89622  
    119119        VMMR3/DBGFR3Trace.cpp \
    120120        $(if-expr defined(VBOX_WITH_DBGF_TRACING), VMMR3/DBGFR3Tracer.cpp,) \
     121        $(if-expr defined(VBOX_WITH_DBGF_SAMPLE_REPORT), VMMR3/DBGFR3SampleReport.cpp,) \
    121122        VMMR3/DBGFR3Type.cpp \
    122123        VMMR3/EM.cpp \
  • trunk/src/VBox/VMM/VMMR3/VMMR3.def

    r88366 r89622  
    226226    DBGFR3PlugInLoadAll
    227227    DBGFR3PlugInUnloadAll
     228    DBGFR3SampleReportCreate
     229    DBGFR3SampleReportRetain
     230    DBGFR3SampleReportRelease
     231    DBGFR3SampleReportStart
     232    DBGFR3SampleReportStop
     233    DBGFR3SampleReportDumpToFile
    228234    DBGFR3SelQueryInfo
    229235    DBGFR3StackWalkBegin
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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