]> git.itanic.dy.fi Git - linux-stable/commit
perf build: Include generated header files properly
authorNamhyung Kim <namhyung@kernel.org>
Fri, 28 Jul 2023 02:24:47 +0000 (19:24 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 3 Aug 2023 20:01:24 +0000 (17:01 -0300)
commitc7e97f215a4ad634b746804679f5937d25f77e29
tree364852ac3ed6373e82a6513572e5fe08ddf0fac9
parent7822a8913f4c51c7d1aff793b525d60c3384fb5b
perf build: Include generated header files properly

The flex and bison generate header files from the source.  When user
specified a build directory with O= option, it'd generate files under
the directory.  The build command has -I option to specify the header
include directory.

But the -I option only affects the files included like <...>.  Let's
change the flex and bison headers to use it instead of "...".

Fixes: 80eeb67fe577aa76 ("perf jevents: Program to convert JSON file")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Anup Sharma <anupnewsmail@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230728022447.1323563-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/jevents.py
tools/perf/util/bpf-filter.c
tools/perf/util/expr.c
tools/perf/util/parse-events.c
tools/perf/util/pmu.c