summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/pmu.y
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/perf/util/pmu.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/pmu.y b/tools/perf/util/pmu.y
index 600c8c158c..198907a8a4 100644
--- a/tools/perf/util/pmu.y
+++ b/tools/perf/util/pmu.y
@@ -5,6 +5,10 @@
%{
+#ifndef NDEBUG
+#define YYDEBUG 1
+#endif
+
#include <linux/compiler.h>
#include <linux/list.h>
#include <linux/bitmap.h>