From: Mathieu Desnoyers Date: Wed, 31 Aug 2011 15:30:06 +0000 (-0400) Subject: Tracepoints: clarify order of TRACEPOINT_EVENT vs TRACEPOINT_LOGLEVEL X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=e9f37b4cb3e2485b949083307aadfc4bda56ce96;p=ust.git Tracepoints: clarify order of TRACEPOINT_EVENT vs TRACEPOINT_LOGLEVEL Signed-off-by: Mathieu Desnoyers --- 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 >)