summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/machine.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-27 21:54:46 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-31 15:06:52 +0100
commit7e5c6f2c1aa2daa0d8aca657377450529f381fe6 (patch)
treed79d669827efda8d8098147a712fea4a8dfb611b /tools/perf/util/machine.h
parentperf kwork: Remove includes not needed in kwork.h (diff)
downloadlinux-7e5c6f2c1aa2daa0d8aca657377450529f381fe6.tar.xz
linux-7e5c6f2c1aa2daa0d8aca657377450529f381fe6.zip
perf machine: Move machine__resolve() from event.h
Its a machine method, so move it to machine.h, this way some places that were using event.h just to get this prototype may stop doing so and speed up building and disentanble the header dependency graph. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/machine.h')
-rw-r--r--tools/perf/util/machine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/machine.h b/tools/perf/util/machine.h
index 74935dfaa937..6267c1d6f232 100644
--- a/tools/perf/util/machine.h
+++ b/tools/perf/util/machine.h
@@ -305,4 +305,7 @@ int machine__create_extra_kernel_map(struct machine *machine,
int machine__map_x86_64_entry_trampolines(struct machine *machine,
struct dso *kernel);
+int machine__resolve(struct machine *machine, struct addr_location *al,
+ struct perf_sample *sample);
+
#endif /* __PERF_MACHINE_H */