From e9f37b4cb3e2485b949083307aadfc4bda56ce96 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 31 Aug 2011 11:30:06 -0400 Subject: [PATCH] Tracepoints: clarify order of TRACEPOINT_EVENT vs TRACEPOINT_LOGLEVEL Signed-off-by: Mathieu Desnoyers --- include/ust/tracepoint.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/ust/tracepoint.h b/include/ust/tracepoint.h index b7c38a2..e7c6b19 100644 --- a/include/ust/tracepoint.h +++ b/include/ust/tracepoint.h @@ -392,9 +392,11 @@ static void __attribute__((destructor)) __tracepoints__destroy(void) * TP_LOGLEVEL(LOG_DEBUG, 7) * ) * - * 2) Then, declare tracepoint loglevels for tracepoints. The first - * field is the name of the tracepoint, the second field is the - * loglevel name. + * 2) Then, declare tracepoint loglevels for tracepoints. A + * TRACEPOINT_EVENT should be declared prior to the the + * TRACEPOINT_LOGLEVEL for a given tracepoint name. The first field + * is the name of the tracepoint, the second field is the loglevel + * name. * * TRACEPOINT_LOGLEVEL(< [com_company_]project_[component_]event >, * < loglevel_name >) -- 2.34.1