projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update loglevel names
[lttng-ust.git]
/
include
/
lttng
/
tracepoint.h
diff --git
a/include/lttng/tracepoint.h
b/include/lttng/tracepoint.h
index 9f36d39a65cd676143a773e54edabb43204cf0f3..fa39b272d8ff19527fd065c7e393ac947b46c8b2 100644
(file)
--- a/
include/lttng/tracepoint.h
+++ b/
include/lttng/tracepoint.h
@@
-377,32
+377,32
@@
static void __attribute__((destructor)) __tracepoints__destroy(void)
* TRACE_INFO 6
* informational message
*
* TRACE_INFO 6
* informational message
*
- * TRACE_
DEBUG_
SYSTEM 7
- * information has system-level scope
+ * TRACE_SYSTEM 7
+ * information has system-level scope
(set of programs)
*
*
- * TRACE_PRO
CESS
8
- * information has pro
cess-level scope
+ * TRACE_PRO
GRAM
8
+ * information has pro
gram-level scope (set of processes)
*
*
- * TRACE_
MODULE
9
- * information has
module (executable/library) scope
+ * TRACE_
PROCESS
9
+ * information has
process-level scope (set of modules)
*
*
- * TRACE_
UNIT
10
- * information has
compilation unit scope
+ * TRACE_
MODULE
10
+ * information has
module (executable/library) scope (set of units)
*
*
- * TRACE_
CLASS
11
- * information has c
lass-level scope
+ * TRACE_
UNIT
11
+ * information has c
ompilation unit scope (set of functions)
*
*
- * TRACE_OBJECT 12
- * information has object-level scope
- *
- * TRACE_FUNCTION 13
+ * TRACE_FUNCTION 12
* information has function-level scope
*
* information has function-level scope
*
- * TRACE_PRINTF 14
- * tracepoint_printf message
+ * TRACE_DEFAULT 13
+ * default trace loglevel (TRACEPOINT_EVENT default)
+ *
+ * TRACE_VERBOSE 14
+ * verbose information
*
* TRACE_DEBUG 15
*
* TRACE_DEBUG 15
- * debug-level message
+ * debug-level message
(trace_printf default)
*
* Declare tracepoint loglevels for tracepoints. A TRACEPOINT_EVENT
* should be declared prior to the the TRACEPOINT_LOGLEVEL for a given
*
* Declare tracepoint loglevels for tracepoints. A TRACEPOINT_EVENT
* should be declared prior to the the TRACEPOINT_LOGLEVEL for a given
@@
-416,7
+416,25
@@
static void __attribute__((destructor)) __tracepoints__destroy(void)
* TRACEPOINT_LOGLEVEL.
*/
* TRACEPOINT_LOGLEVEL.
*/
-#define TRACEPOINT_LOGLEVEL_ENUM(...)
+enum {
+ TRACE_EMERG = 0,
+ TRACE_ALERT = 1,
+ TRACE_CRIT = 2,
+ TRACE_ERR = 3,
+ TRACE_WARNING = 4,
+ TRACE_NOTICE = 5,
+ TRACE_INFO = 6,
+ TRACE_SYSTEM = 7,
+ TRACE_PROGRAM = 8,
+ TRACE_PROCESS = 9,
+ TRACE_MODULE = 10,
+ TRACE_UNIT = 11,
+ TRACE_FUNCTION = 12,
+ TRACE_DEFAULT = 13,
+ TRACE_VERBOSE = 14,
+ TRACE_DEBUG = 15,
+};
+
#define TRACEPOINT_LOGLEVEL(provider, name, loglevel)
#endif /* #ifndef TRACEPOINT_LOGLEVEL */
#define TRACEPOINT_LOGLEVEL(provider, name, loglevel)
#endif /* #ifndef TRACEPOINT_LOGLEVEL */
This page took
0.02466 seconds
and
4
git commands to generate.