diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-13 20:44:36 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 21:06:42 +0300 |
commit | 609a74045238c303bbe9396775eacf5bac1f51cc (patch) | |
tree | f63a3f751c0e6195dc1f3a0aded60e27d44fead7 /include/linux/trace_events.h | |
parent | 892c505aac2bdded3c8ec2ec27abc6d74fd210f5 (diff) | |
download | linux-609a74045238c303bbe9396775eacf5bac1f51cc.tar.xz |
tracing: Rename FTRACE_MAX_EVENT to TRACE_EVENT_TYPE_MAX
The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. Rename the max trace_event type size to
something more descriptive and appropriate.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/trace_events.h')
-rw-r--r-- | include/linux/trace_events.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 12ca46322a94..6f28464be418 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -68,7 +68,7 @@ struct trace_entry { int pid; }; -#define FTRACE_MAX_EVENT \ +#define TRACE_EVENT_TYPE_MAX \ ((1 << (sizeof(((struct trace_entry *)0)->type) * 8)) - 1) /* |