Skip to content

Commit 32f457a

Browse files
captain5050acmel
authored andcommitted
perf parse-events: Don't #define YY_EXTRA_TYPE
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]>
1 parent 1e1613f commit 32f457a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/perf/util/parse-events.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include <api/fs/tracing_path.h>
2525
#include <perf/cpumap.h>
2626
#include "parse-events-bison.h"
27-
#define YY_EXTRA_TYPE void*
2827
#include "parse-events-flex.h"
2928
#include "pmu.h"
3029
#include "thread_map.h"

0 commit comments

Comments
 (0)