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 <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: https://lore.kernel.org/r/20220729204217.250166-2-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 1e1613f commit 32f457a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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)