]> Git Repo - linux.git/commitdiff
perf parse-events: Don't #define YY_EXTRA_TYPE
authorIan Rogers <[email protected]>
Fri, 29 Jul 2022 20:42:16 +0000 (13:42 -0700)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 2 Aug 2022 18:06:39 +0000 (15:06 -0300)
Adding a #define to side-effect a local include isn't clean, for
example, it inhibits header precompilation. YY_EXTRA_TYPE is
defined to be void* by default, so just remove.

Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/parse-events.c

index 7ed235740431624a5d280f7a9aa0afab067994d5..8012db830814657adc12a34fc35e082e1f85b645 100644 (file)
@@ -24,7 +24,6 @@
 #include <api/fs/tracing_path.h>
 #include <perf/cpumap.h>
 #include "parse-events-bison.h"
-#define YY_EXTRA_TYPE void*
 #include "parse-events-flex.h"
 #include "pmu.h"
 #include "thread_map.h"
This page took 0.064567 seconds and 4 git commands to generate.