Lines Matching +full:c +full:- +full:define +full:- +full:name
15 ----------------------
37 -----
40 - A tracepoint definition, placed in a header file.
41 - The tracepoint statement, in C code.
48 #define TRACE_SYSTEM subsys
51 #define _TRACE_SUBSYS_H
64 In subsys/file.c (where the tracing statement must be added)::
68 #define CREATE_TRACE_POINTS
79 - subsys_eventname is an identifier unique to your event
81 - subsys is the name of your subsystem.
82 - eventname is the name of the event to trace.
84 - `TP_PROTO(int firstarg, struct task_struct *p)` is the prototype of the
87 - `TP_ARGS(firstarg, p)` are the parameters names, same as found in the
90 - if you use the header in multiple source files, `#define CREATE_TRACE_POINTS`
105 tracepoint name over all the kernel to make sure no type conflict will
106 occur. Name mangling of the tracepoints is done using the prototypes
146 define tracepoints. Check http://lwn.net/Articles/379903,
156 include tracepoint-defs.h and use tracepoint_enabled().
158 In a C file::