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>
This commit is contained in:

committed by
Steven Rostedt

parent
892c505aac
commit
609a740452
@@ -44,10 +44,10 @@
|
||||
|
||||
PyMODINIT_FUNC initperf_trace_context(void);
|
||||
|
||||
#define FTRACE_MAX_EVENT \
|
||||
#define TRACE_EVENT_TYPE_MAX \
|
||||
((1 << (sizeof(unsigned short) * 8)) - 1)
|
||||
|
||||
static DECLARE_BITMAP(events_defined, FTRACE_MAX_EVENT);
|
||||
static DECLARE_BITMAP(events_defined, TRACE_EVENT_TYPE_MAX);
|
||||
|
||||
#define MAX_FIELDS 64
|
||||
#define N_COMMON_FIELDS 7
|
||||
|
Reference in New Issue
Block a user