diff options
| author | Steven Rostedt <srostedt@redhat.com> | 2009-03-09 15:47:18 -0400 |
|---|---|---|
| committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-10 00:35:04 -0400 |
| commit | 2939b0469d04ba9ac791aca9a81625d7eb50662b (patch) | |
| tree | 573f10c39f34c670fdc6832415642738c5afb3f9 /samples/tracepoints | |
| parent | 156b5f172a64103bcb13b6d26288388b9019caa3 (diff) | |
tracing: replace TP<var> with TP_<var>
Impact: clean up
The macros TPPROTO, TPARGS, TPFMT, TPRAWFMT, and TPCMD all look a bit
ugly. This patch adds an underscore to their names.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'samples/tracepoints')
| -rw-r--r-- | samples/tracepoints/tp-samples-trace.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/tracepoints/tp-samples-trace.h b/samples/tracepoints/tp-samples-trace.h index 01724e04c556..dffdc49878af 100644 --- a/samples/tracepoints/tp-samples-trace.h +++ b/samples/tracepoints/tp-samples-trace.h | |||
| @@ -5,9 +5,9 @@ | |||
| 5 | #include <linux/tracepoint.h> | 5 | #include <linux/tracepoint.h> |
| 6 | 6 | ||
| 7 | DECLARE_TRACE(subsys_event, | 7 | DECLARE_TRACE(subsys_event, |
| 8 | TPPROTO(struct inode *inode, struct file *file), | 8 | TP_PROTO(struct inode *inode, struct file *file), |
| 9 | TPARGS(inode, file)); | 9 | TP_ARGS(inode, file)); |
| 10 | DECLARE_TRACE(subsys_eventb, | 10 | DECLARE_TRACE(subsys_eventb, |
| 11 | TPPROTO(void), | 11 | TP_PROTO(void), |
| 12 | TPARGS()); | 12 | TP_ARGS()); |
| 13 | #endif | 13 | #endif |
