]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf tools: Move event synthesizing routines to separate header
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 18 Sep 2019 14:36:13 +0000 (11:36 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Sep 2019 12:19:22 +0000 (09:19 -0300)
commitea49e01cfabd73c94a61649cd04fa524a2beff3c
tree3f8598c62cf6d33fcabf0561a8a43d49f8acf4c7
parentbd23ac11fe9312bab40e129b402757fd7a23dc8e
perf tools: Move event synthesizing routines to separate header

Those are the only routines using the perf_event__handler_t typedef and
are all related, so move to a separate header to reduce the header
dependency tree, lots of places were getting event.h and even stdio.h,
limits.h indirectly, so fix those as well.

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-yvx9u1mf7baq6cu1abfhbqgs@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
38 files changed:
tools/perf/arch/x86/util/archinsn.c
tools/perf/arch/x86/util/event.c
tools/perf/arch/x86/util/machine.c
tools/perf/arch/x86/util/tsc.c
tools/perf/builtin-inject.c
tools/perf/builtin-kvm.c
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/tests/code-reading.c
tools/perf/tests/cpumap.c
tools/perf/tests/dwarf-unwind.c
tools/perf/tests/event_update.c
tools/perf/tests/hists_common.c
tools/perf/tests/mmap-thread-lookup.c
tools/perf/tests/sample-parsing.c
tools/perf/tests/stat.c
tools/perf/tests/thread-map.c
tools/perf/ui/stdio/hist.c
tools/perf/util/auxtrace.c
tools/perf/util/auxtrace.h
tools/perf/util/bpf-event.c
tools/perf/util/bpf-event.h
tools/perf/util/callchain.c
tools/perf/util/event.c
tools/perf/util/event.h
tools/perf/util/evsel.c
tools/perf/util/header.c
tools/perf/util/intel-bts.c
tools/perf/util/intel-pt.c
tools/perf/util/machine.c
tools/perf/util/machine.h
tools/perf/util/session.c
tools/perf/util/session.h
tools/perf/util/stat.c
tools/perf/util/synthetic-events.h [new file with mode: 0644]
tools/perf/util/tsc.h