[Kernel] Added ability to mark xbdm calls as HighFrequency

This commit is contained in:
Gliniak
2025-10-29 08:38:50 +01:00
parent 707c79a82f
commit b3a4ae5507
2 changed files with 4 additions and 1 deletions

View File

@@ -656,6 +656,9 @@ using xe::cpu::ExportTag;
DECLARE_EXPORT(xbdm, name, category, tags)
#define DECLARE_XBDM_EXPORT1(name, category, tag) \
DECLARE_EXPORT(xbdm, name, category, xe::cpu::ExportTag::tag)
#define DECLARE_XBDM_EXPORT2(name, category, tag1, tag2) \
DECLARE_EXPORT(xbdm, name, category, \
xe::cpu::ExportTag::tag1 | xe::cpu::ExportTag::tag2)
#define DECLARE_XBDM_EMPTY_REGISTER_EXPORTS(group_name) \
DECLARE_EMPTY_REGISTER_EXPORTS(xbdm, group_name)

View File

@@ -111,7 +111,7 @@ dword_result_t DmCaptureStackBackTrace_entry(dword_t frames_to_capture,
return XBDM_SUCCESSFUL;
}
DECLARE_XBDM_EXPORT1(DmCaptureStackBackTrace, kDebug, kStub);
DECLARE_XBDM_EXPORT2(DmCaptureStackBackTrace, kDebug, kStub, kHighFrequency);
dword_result_t DmWalkLoadedModules_entry(
lpdword_t walk_modules_ptr, pointer_t<DMN_MODULE_LOAD> module_load_ptr) {