Changeset 87787 in vbox
- Timestamp:
- Feb 18, 2021 3:09:53 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/vmm/dbgfflowtrace.h (modified) (1 diff)
-
src/VBox/VMM/VMMR3/DBGFR3FlowTrace.cpp (modified) (1 diff)
-
src/VBox/VMM/VMMR3/VMMR3.def (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/dbgfflowtrace.h
r87781 r87787 363 363 VMMR3DECL(uint32_t) DBGFR3FlowTraceReportRelease(DBGFFLOWTRACEREPORT hFlowTraceReport); 364 364 VMMR3DECL(uint32_t) DBGFR3FlowTraceReportGetRecordCount(DBGFFLOWTRACEREPORT hFlowTraceReport); 365 VMMR3DECL(int) DBGFR3FlowTraceReportQueryRecord(DBGFFLOWTRACEREPORT hFlowTraceReport, uint32_t idxRec, PDBGFFLOWTRACERECORD phFlowTraceRec); 365 366 VMMR3DECL(int) DBGFR3FlowTraceReportQueryFiltered(DBGFFLOWTRACEREPORT hFlowTraceReport, uint32_t fFlags, 366 367 PDBGFFLOWTRACEREPORTFILTER paFilters, uint32_t cFilters, -
trunk/src/VBox/VMM/VMMR3/DBGFR3FlowTrace.cpp
r87781 r87787 1691 1691 1692 1692 /** 1693 * Queries the specified record contained in the given report. 1694 * 1695 * @returns VBox status code. 1696 * @param hFlowTraceReport Flow trace report handle. 1697 * @param idxRec The record index to query. 1698 * @param phFlowTraceRec Where to store the retained handle of the record on success. 1699 */ 1700 VMMR3DECL(int) DBGFR3FlowTraceReportQueryRecord(DBGFFLOWTRACEREPORT hFlowTraceReport, uint32_t idxRec, PDBGFFLOWTRACERECORD phFlowTraceRec) 1701 { 1702 PDBGFFLOWTRACEREPORTINT pReport = hFlowTraceReport; 1703 AssertPtrReturn(pReport, 0); 1704 AssertPtrReturn(phFlowTraceRec, VERR_INVALID_POINTER); 1705 AssertReturn(idxRec < pReport->cRecords, VERR_INVALID_PARAMETER); 1706 1707 DBGFR3FlowTraceRecordRetain(pReport->apRec[idxRec]); 1708 *phFlowTraceRec = pReport->apRec[idxRec]; 1709 return VINF_SUCCESS; 1710 } 1711 1712 1713 /** 1693 1714 * Filters the given flow trace report by the given criterias and returns a filtered report. 1694 1715 * -
trunk/src/VBox/VMM/VMMR3/VMMR3.def
r87780 r87787 208 208 DBGFR3FlowTraceReportRelease 209 209 DBGFR3FlowTraceReportGetRecordCount 210 DBGFR3FlowTraceReportQueryRecord 210 211 DBGFR3FlowTraceReportQueryFiltered 211 212 DBGFR3FlowTraceReportEnumRecords
Note:
See TracChangeset
for help on using the changeset viewer.

