perf tools: Move everything related to sys_perf_event_open() to perf-sys.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Aug 2019 17:59:50 +0000 (14:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Aug 2019 20:38:32 +0000 (17:38 -0300)
commit91854f9a077e18e43ed30ebe9c61f8089bec9166
treebecf4f07f651257a1e5cc36f2d2408bc6c4e9965
parenta77494026309711a5f1e4b078e353cd46c2dad9f
perf tools: Move everything related to sys_perf_event_open() to perf-sys.h

And remove unneeded include directives from perf-sys.h to prune the
header dependency tree.

Fixup the fallout in places where definitions were being used without
the needed include directives that were being satisfied because they
were in perf-sys.h.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-7b1zvugiwak4ibfa3j6ott7f@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
23 files changed:
tools/perf/arch/common.c
tools/perf/arch/x86/tests/rdpmc.c
tools/perf/arch/x86/util/perf_regs.c
tools/perf/arch/x86/util/tsc.c
tools/perf/bench/epoll-ctl.c
tools/perf/bench/epoll-wait.c
tools/perf/bench/mem-functions.c
tools/perf/builtin-sched.c
tools/perf/perf-sys.h
tools/perf/perf.c
tools/perf/perf.h
tools/perf/tests/attr.c
tools/perf/tests/bp_account.c
tools/perf/tests/bp_signal.c
tools/perf/tests/bp_signal_overflow.c
tools/perf/tests/wp.c
tools/perf/util/auxtrace.h
tools/perf/util/cloexec.c
tools/perf/util/evsel.c
tools/perf/util/genelf.c
tools/perf/util/python.c
tools/perf/util/record.c
tools/perf/util/strbuf.c