VirtualBox

Changeset 87788 in vbox for trunk/src/VBox/Debugger/testcase


Ignore:
Timestamp:
Feb 18, 2021 3:12:31 PM (4 years ago)
Author:
vboxsync
Message:

Debugger: Some early access to the DBGFR3FlowTrace* API for toying around, bugref:8650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/testcase/tstDBGCStubs.cpp

    r86101 r87788  
    2323
    2424#include <VBox/vmm/dbgf.h>
     25#include <VBox/vmm/dbgfflowtrace.h>
    2526VMMR3DECL(PDBGFADDRESS) DBGFR3AddrFromFlat(PUVM pUVM, PDBGFADDRESS pAddress, RTGCUINTPTR FlatPtr)
    2627{
     
    560561    return VERR_INTERNAL_ERROR;
    561562}
     563VMMR3DECL(int) DBGFR3FlowTraceModCreateFromFlowGraph(PUVM pUVM, VMCPUID idCpu, DBGFFLOW hFlow,
     564                                                     DBGFFLOWTRACEPROBE hFlowTraceProbeCommon,
     565                                                     DBGFFLOWTRACEPROBE hFlowTraceProbeEntry,
     566                                                     DBGFFLOWTRACEPROBE hFlowTraceProbeRegular,
     567                                                     DBGFFLOWTRACEPROBE hFlowTraceProbeExit,
     568                                                     PDBGFFLOWTRACEMOD phFlowTraceMod)
     569{
     570    return VERR_INTERNAL_ERROR;
     571}
     572VMMR3DECL(uint32_t) DBGFR3FlowTraceModRetain(DBGFFLOWTRACEMOD hFlowTraceMod)
     573{
     574    return 0;
     575}
     576VMMR3DECL(uint32_t) DBGFR3FlowTraceModRelease(DBGFFLOWTRACEMOD hFlowTraceMod)
     577{
     578    return 0;
     579}
     580VMMR3DECL(int) DBGFR3FlowTraceModEnable(DBGFFLOWTRACEMOD hFlowTraceMod, uint32_t cHits, uint32_t cRecordsMax)
     581{
     582    return VERR_INTERNAL_ERROR;
     583}
     584VMMR3DECL(int) DBGFR3FlowTraceModDisable(DBGFFLOWTRACEMOD hFlowTraceMod)
     585{
     586    return VERR_INTERNAL_ERROR;
     587}
     588VMMR3DECL(int) DBGFR3FlowTraceModQueryReport(DBGFFLOWTRACEMOD hFlowTraceMod,
     589                                             PDBGFFLOWTRACEREPORT phFlowTraceReport)
     590{
     591    return VERR_INTERNAL_ERROR;
     592}
     593VMMR3DECL(int) DBGFR3FlowTraceModClear(DBGFFLOWTRACEMOD hFlowTraceMod)
     594{
     595    return VERR_INTERNAL_ERROR;
     596}
     597VMMR3DECL(int) DBGFR3FlowTraceModAddProbe(DBGFFLOWTRACEMOD hFlowTraceMod, PCDBGFADDRESS pAddrProbe,
     598                                          DBGFFLOWTRACEPROBE hFlowTraceProbe, uint32_t fFlags)
     599{
     600    return VERR_INTERNAL_ERROR;
     601}
     602VMMR3DECL(int) DBGFR3FlowTraceProbeCreate(PUVM pUVM, const char *pszDescr, PDBGFFLOWTRACEPROBE phFlowTraceProbe)
     603{
     604    return VERR_INTERNAL_ERROR;
     605}
     606VMMR3DECL(uint32_t) DBGFR3FlowTraceProbeRetain(DBGFFLOWTRACEPROBE hFlowTraceProbe)
     607{
     608    return 0;
     609}
     610VMMR3DECL(uint32_t) DBGFR3FlowTraceProbeRelease(DBGFFLOWTRACEPROBE hFlowTraceProbe)
     611{
     612    return 0;
     613}
     614VMMR3DECL(int) DBGFR3FlowTraceProbeEntriesAdd(DBGFFLOWTRACEPROBE hFlowTraceProbe,
     615                                              PCDBGFFLOWTRACEPROBEENTRY paEntries, uint32_t cEntries)
     616{
     617    return VERR_INTERNAL_ERROR;
     618}
     619VMMR3DECL(uint32_t) DBGFR3FlowTraceReportRetain(DBGFFLOWTRACEREPORT hFlowTraceReport)
     620{
     621    return 0;
     622}
     623VMMR3DECL(uint32_t) DBGFR3FlowTraceReportRelease(DBGFFLOWTRACEREPORT hFlowTraceReport)
     624{
     625    return 0;
     626}
     627VMMR3DECL(uint32_t) DBGFR3FlowTraceReportGetRecordCount(DBGFFLOWTRACEREPORT hFlowTraceReport)
     628{
     629    return 0;
     630}
     631VMMR3DECL(int) DBGFR3FlowTraceReportQueryRecord(DBGFFLOWTRACEREPORT hFlowTraceReport, uint32_t idxRec, PDBGFFLOWTRACERECORD phFlowTraceRec)
     632{
     633    return VERR_INTERNAL_ERROR;
     634}
     635VMMR3DECL(int) DBGFR3FlowTraceReportQueryFiltered(DBGFFLOWTRACEREPORT hFlowTraceReport, uint32_t fFlags,
     636                                                  PDBGFFLOWTRACEREPORTFILTER paFilters, uint32_t cFilters,
     637                                                  DBGFFLOWTRACEREPORTFILTEROP enmOp,
     638                                                  PDBGFFLOWTRACEREPORT phFlowTraceReportFiltered)
     639{
     640    return VERR_INTERNAL_ERROR;
     641}
     642VMMR3DECL(int) DBGFR3FlowTraceReportEnumRecords(DBGFFLOWTRACEREPORT hFlowTraceReport,
     643                                                PFNDBGFFLOWTRACEREPORTENUMCLBK pfnEnum,
     644                                                void *pvUser)
     645{
     646    return VERR_INTERNAL_ERROR;
     647}
     648VMMR3DECL(uint32_t) DBGFR3FlowTraceRecordRetain(DBGFFLOWTRACERECORD hFlowTraceRecord)
     649{
     650    return 0;
     651}
     652VMMR3DECL(uint32_t) DBGFR3FlowTraceRecordRelease(DBGFFLOWTRACERECORD hFlowTraceRecord)
     653{
     654    return 0;
     655}
     656VMMR3DECL(uint64_t) DBGFR3FlowTraceRecordGetSeqNo(DBGFFLOWTRACERECORD hFlowTraceRecord)
     657{
     658    return 0;
     659}
     660VMMR3DECL(uint64_t) DBGFR3FlowTraceRecordGetTimestamp(DBGFFLOWTRACERECORD hFlowTraceRecord)
     661{
     662    return 0;
     663}
     664VMMR3DECL(PDBGFADDRESS) DBGFR3FlowTraceRecordGetAddr(DBGFFLOWTRACERECORD hFlowTraceRecord, PDBGFADDRESS pAddr)
     665{
     666    return NULL;
     667}
     668VMMR3DECL(DBGFFLOWTRACEPROBE) DBGFR3FlowTraceRecordGetProbe(DBGFFLOWTRACERECORD hFlowTraceRecord)
     669{
     670    return NULL;
     671}
     672VMMR3DECL(uint32_t) DBGFR3FlowTraceRecordGetValCount(DBGFFLOWTRACERECORD hFlowTraceRecord)
     673{
     674    return 0;
     675}
     676VMMR3DECL(PCDBGFFLOWTRACEPROBEVAL) DBGFR3FlowTraceRecordGetVals(DBGFFLOWTRACERECORD hFlowTraceRecord)
     677{
     678    return NULL;
     679}
     680VMMR3DECL(PCDBGFFLOWTRACEPROBEVAL) DBGFR3FlowTraceRecordGetValsCommon(DBGFFLOWTRACERECORD hFlowTraceRecord)
     681{
     682    return NULL;
     683}
     684VMMR3DECL(VMCPUID) DBGFR3FlowTraceRecordGetCpuId(DBGFFLOWTRACERECORD hFlowTraceRecord)
     685{
     686    return 0;
     687}
    562688
    563689VMMR3DECL(int) DBGFR3FormatBugCheck(PUVM pUVM, char *pszDetails, size_t cbDetails,
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