diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-27 22:54:46 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-31 17:07:03 +0300 |
commit | cde5671268faf6419026ebd5e0f1783b3a84cf39 (patch) | |
tree | 14b9acd3b2bb63a38e159f7c0bc8ac20634d0978 /tools/perf/util/thread.h | |
parent | d1e633e4cdc0d06cec82d4772c025f13c3b25a6c (diff) | |
download | linux-cde5671268faf6419026ebd5e0f1783b3a84cf39.tar.xz |
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/thread.h')
-rw-r--r-- | tools/perf/util/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index 241f300d7d6e..395c626699a9 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h @@ -158,4 +158,7 @@ static inline bool thread__is_filtered(struct thread *thread) void thread__free_stitch_list(struct thread *thread); +void thread__resolve(struct thread *thread, struct addr_location *al, + struct perf_sample *sample); + #endif /* __PERF_THREAD_H */ |