From d5001b43d4c8ec16fb926b7806a9ad1023a3140b Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 16 Aug 2011 15:57:45 -0400 Subject: [PATCH] Clarify TRACEPOINT_EVENT comments Signed-off-by: Mathieu Desnoyers --- include/ust/tracepoint.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/include/ust/tracepoint.h b/include/ust/tracepoint.h index 3c959cb..158d9b8 100644 --- a/include/ust/tracepoint.h +++ b/include/ust/tracepoint.h @@ -201,7 +201,7 @@ int tracepoint_unregister_lib(struct tracepoint * const *tracepoints_start); * * In short, an example: * - * TRACEPOINT_EVENT(< [com_company_]project_[component_]_event >, + * TRACEPOINT_EVENT(< [com_company_]project_[component_]event >, * TP_PROTO(int arg0, void *arg1, char *string, size_t strlen, * long *arg4, size_t arg4_len), * TP_ARGS(arg0, arg1, string, strlen, arg4, arg4_len), @@ -246,8 +246,10 @@ int tracepoint_unregister_lib(struct tracepoint * const *tracepoints_start); * project_event * * Where "project" is the name of the project, - * "component" is the name of the project component where the - * tracepoint is located (optional), + * "component" is the name of the project component (which may + * include several levels of sub-components, e.g. + * ...component_subcomponent_...) where the tracepoint is located + * (optional), * "event" is the name of the tracepoint event. * * For projects issued from a single company wishing to advertise that @@ -261,8 +263,10 @@ int tracepoint_unregister_lib(struct tracepoint * const *tracepoints_start); * * Where "company" is the name of the company, * "project" is the name of the project, - * "component" is the name of the project component where the - * tracepoint is located (optional), + * "component" is the name of the project component (which may + * include several levels of sub-components, e.g. + * ...component_subcomponent_...) where the tracepoint is located + * (optional), * "event" is the name of the tracepoint event. * * -- 2.34.1