summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/pmu.y
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/pmu.y')
-rw-r--r--tools/perf/util/pmu.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/util/pmu.y b/tools/perf/util/pmu.y
index e675d79a0274..dff4e892ac4d 100644
--- a/tools/perf/util/pmu.y
+++ b/tools/perf/util/pmu.y
@@ -1,6 +1,8 @@
-
+%define api.pure full
%parse-param {struct list_head *format}
%parse-param {char *name}
+%parse-param {void *scanner}
+%lex-param {void* scanner}
%{
@@ -78,6 +80,7 @@ PP_VALUE
void perf_pmu_error(struct list_head *list __maybe_unused,
char *name __maybe_unused,
+ void *scanner __maybe_unused,
char const *msg __maybe_unused)
{
}