X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fust%2Ftracepoint-event.h;h=aefe5061255c12b5e7dc7735ccded6595244d9e7;hb=edaa143197d094019217dafbe2b291c660d2cf12;hp=2d31f64d4a2201f0fbcdaf6d06958b288f233847;hpb=8d8a24c8565ce6dce7e7bd1045a95d1d2af5e536;p=lttng-ust.git diff --git a/include/ust/tracepoint-event.h b/include/ust/tracepoint-event.h index 2d31f64d..aefe5061 100644 --- a/include/ust/tracepoint-event.h +++ b/include/ust/tracepoint-event.h @@ -28,11 +28,13 @@ * TRACEPOINT_SYSTEM.h. This macro may be defined to tell * define_trace.h what file to include. Note, leave off the ".h". * - * TRACEPOINT_INCLUDE_PATH if the path is something other than core - * kernel include/trace then this macro can define the path to use. - * Note, the path is relative to tracepoint_event.h, not the file - * including it. Full path names for out of tree modules must be - * used. + * TRACEPOINT_INCLUDE_PATH if the path is something other than within + * the system's include/tracepoint/ path, then this macro can define + * the path to use. This path is relative to tracepoint-event.h, or + * to the include search path. Trick: Use a + * #define TRACEPOINT_INCLUDE_PATH . + * combined with -Ipath_to_header as compiler argument to allow + * searching for a header within your project build tree. */ #ifdef TRACEPOINT_CREATE_PROBES @@ -84,9 +86,7 @@ #include TRACEPOINT_INCLUDE(TRACEPOINT_INCLUDE_FILE) -#ifndef CONFIG_NO_EVENT_TRACING #include -#endif #undef TRACEPOINT_EVENT #undef TRACEPOINT_EVENT_CLASS