Clarify TRACEPOINT_EVENT comments
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 16 Aug 2011 19:57:45 +0000 (15:57 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 16 Aug 2011 19:57:45 +0000 (15:57 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust/tracepoint.h

index 3c959cb84c8d9ebd63cad8c247dcee91266588d3..158d9b8a4cc1d3d28fdf4546f058dc8f83868152 100644 (file)
@@ -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.
  *
  *
This page took 0.026463 seconds and 4 git commands to generate.