summaryrefslogtreecommitdiff
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-27 16:54:46 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-31 11:07:03 -0300
commitcde5671268faf6419026ebd5e0f1783b3a84cf39 (patch)
tree14b9acd3b2bb63a38e159f7c0bc8ac20634d0978 /tools/perf/util/event.h
parentd1e633e4cdc0d06cec82d4772c025f13c3b25a6c (diff)
perf thread: Move thread__resolve() from event.h
Its a thread method, so move it to thread.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/event.h')
-rw-r--r--tools/perf/util/event.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index bc6c1e2206cf..6663a676eadc 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -335,13 +335,8 @@ int perf_event__process(struct perf_tool *tool,
struct perf_sample *sample,
struct machine *machine);
-struct addr_location;
-struct thread;
-
bool is_bts_event(struct perf_event_attr *attr);
bool sample_addr_correlates_sym(struct perf_event_attr *attr);
-void thread__resolve(struct thread *thread, struct addr_location *al,
- struct perf_sample *sample);
const char *perf_event__name(unsigned int id);