-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathi2ctrace.h
54 lines (39 loc) · 1.33 KB
/
i2ctrace.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
i2ctrace.h
Abstract:
This module contains the trace definitions for the PBC
controller driver.
Environment:
kernel-mode only
Revision History:
--*/
#ifndef _I2CTRACE_H_
#define _I2CTRACE_H_
extern "C"
{
//
// Tracing Definitions:
//
#define WPP_CONTROL_GUIDS \
WPP_DEFINE_CONTROL_GUID( \
PbcTraceGuid, \
(421EE9DB,1461,4D9B,9C7E,E7553729EBE8), \
WPP_DEFINE_BIT(TRACE_FLAG_WDFLOADING) \
WPP_DEFINE_BIT(TRACE_FLAG_SPBDDI) \
WPP_DEFINE_BIT(TRACE_FLAG_SPBAPI) \
WPP_DEFINE_BIT(TRACE_FLAG_PBCLOADING) \
WPP_DEFINE_BIT(TRACE_FLAG_TRANSFER) \
WPP_DEFINE_BIT(TRACE_FLAG_OTHER) \
)
}
#define WPP_LEVEL_FLAGS_LOGGER(level,flags) WPP_LEVEL_LOGGER(flags)
#define WPP_LEVEL_FLAGS_ENABLED(level, flags) (WPP_LEVEL_ENABLED(flags) && WPP_CONTROL(WPP_BIT_ ## flags).Level >= level)
// begin_wpp config
// FUNC FuncEntry{LEVEL=TRACE_LEVEL_VERBOSE}(FLAGS);
// FUNC FuncExit{LEVEL=TRACE_LEVEL_VERBOSE}(FLAGS);
// USEPREFIX(FuncEntry, "%!STDPREFIX! [%!FUNC!] --> entry");
// USEPREFIX(FuncExit, "%!STDPREFIX! [%!FUNC!] <--");
// end_wpp
#endif // _I2CTRACE_H_