aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2015-07-06 13:54:28 -0700
committerBrian Norris <[email protected]>2015-07-06 13:54:28 -0700
commit83dcf400be7165af938dbd6b8ce6805c754701db (patch)
tree495ee9420e3e5478e91425a249be15504ba2dcd3 /tools/perf/util/scripting-engines/trace-event-perl.c
parent392d39cfcaa9bcfa202fb0fd3bc65f3c20de318f (diff)
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
Merge 4.2-rc1 into MTD -next
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
-rw-r--r--tools/perf/util/scripting-engines/trace-event-perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c
index 430b5d27828e..1bd593bbf7a5 100644
--- a/tools/perf/util/scripting-engines/trace-event-perl.c
+++ b/tools/perf/util/scripting-engines/trace-event-perl.c
@@ -55,10 +55,10 @@ void xs_init(pTHX)
INTERP my_perl;
-#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);
extern struct scripting_context *scripting_context;