perf jevents: Use nonlocal include statements in pmu-events.c
authorLuke Mujica <lukemujica@google.com>
Tue, 25 Jun 2019 17:31:22 +0000 (10:31 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 Jul 2019 01:50:42 +0000 (22:50 -0300)
commit06c642c0e9fceafd16b1a4c80d44b1c09e282215
tree9892f0784574adbd397d68df6a7326d25bea162a
parentaa23aa55166c2865ac430168c4b9d405cf8c6980
perf jevents: Use nonlocal include statements in pmu-events.c

Change pmu-events.c to not use local include statements. The code that
creates the include statements for pmu-events.c is in jevents.c.

pmu-events.c is a generated file, and for build systems that put
generated files in a separate directory, include statements with local
pathing cannot find non-generated files.

Signed-off-by: Luke Mujica <lukemujica@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Numfor Mbiziwo-Tiapo <nums@google.com>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lkml.kernel.org/n/tip-prgnwmaoo1pv9zz4vnv1bjaj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/jevents.c