WPP Tracing Definitions.
More...
Go to the source code of this file.
WPP Tracing Definitions.
- Author
- Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
- Version
- 0.1
- Date
- 2020-04-11
- Copyright
- This project is released under the GNU Public License v3.
◆ TRACE_LEVEL_ERROR
#define TRACE_LEVEL_ERROR 2 |
◆ TRACE_LEVEL_FATAL
#define TRACE_LEVEL_FATAL 1 |
◆ TRACE_LEVEL_INFORMATION
#define TRACE_LEVEL_INFORMATION 4 |
◆ TRACE_LEVEL_NONE
#define TRACE_LEVEL_NONE 0 |
◆ TRACE_LEVEL_RESERVED6
#define TRACE_LEVEL_RESERVED6 6 |
◆ TRACE_LEVEL_RESERVED7
#define TRACE_LEVEL_RESERVED7 7 |
◆ TRACE_LEVEL_RESERVED8
#define TRACE_LEVEL_RESERVED8 8 |
◆ TRACE_LEVEL_RESERVED9
#define TRACE_LEVEL_RESERVED9 9 |
◆ TRACE_LEVEL_VERBOSE
#define TRACE_LEVEL_VERBOSE 5 |
◆ TRACE_LEVEL_WARNING
#define TRACE_LEVEL_WARNING 3 |
◆ WPP_CONTROL_GUIDS
#define WPP_CONTROL_GUIDS |
Value: WPP_DEFINE_CONTROL_GUID( \
HyperDbgLogger, \
(2AE39766, AE4B, 46AB, AFC4, 002DB8109721), \
WPP_DEFINE_BIT(HVFS_LOG) \
WPP_DEFINE_BIT(HVFS_LOG_INFO) \
WPP_DEFINE_BIT(HVFS_LOG_WARNING) \
WPP_DEFINE_BIT(HVFS_LOG_ERROR) \
)
19#define WPP_CONTROL_GUIDS \
20 WPP_DEFINE_CONTROL_GUID( \
21 HyperDbgLogger, \
22 (2AE39766, AE4B, 46AB, AFC4, 002DB8109721), \
23 WPP_DEFINE_BIT(HVFS_LOG) \
24 WPP_DEFINE_BIT(HVFS_LOG_INFO) \
25 WPP_DEFINE_BIT(HVFS_LOG_WARNING) \
26 WPP_DEFINE_BIT(HVFS_LOG_ERROR) \
27 )
◆ WPP_FLAG_EXP_ENABLED
#define WPP_FLAG_EXP_ENABLED |
( |
| FLAGS, |
|
|
| HR ) WPP_FLAG_ENABLED(FLAGS) |
◆ WPP_FLAG_EXP_LOGGER
#define WPP_FLAG_EXP_LOGGER |
( |
| FLAGS, |
|
|
| HR ) WPP_FLAG_LOGGER(FLAGS) |
◆ WPP_FLAG_EXP_POST
#define WPP_FLAG_EXP_POST |
( |
| FLAGS, |
|
|
| HR ) |
Value: 99#define WPP_FLAG_EXP_POST(FLAGS, HR) \
100 ; \
101 } \
102 }
◆ WPP_FLAG_EXP_PRE
#define WPP_FLAG_EXP_PRE |
( |
| FLAGS, |
|
|
| HR ) |
Value: { \
if (HR != STATUS_SUCCESS) \
{
91#define WPP_FLAG_EXP_PRE(FLAGS, HR) \
92 { \
93 if (HR != STATUS_SUCCESS) \
94 {
◆ WPP_LEVEL_FLAGS_ENABLED
#define WPP_LEVEL_FLAGS_ENABLED |
( |
| level, |
|
|
| flags ) (WPP_LEVEL_ENABLED(flags) && WPP_CONTROL(WPP_BIT_##flags).Level >= level) |
◆ WPP_LEVEL_FLAGS_LOGGER
#define WPP_LEVEL_FLAGS_LOGGER |
( |
| level, |
|
|
| flags ) WPP_LEVEL_LOGGER(flags) |