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:06:56 -0300
commitd1e633e4cdc0d06cec82d4772c025f13c3b25a6c (patch)
treed08ac672137e98b5b34b91ead7e65ade1f2c7725 /tools/perf/util/event.h
parent7e5c6f2c1aa2daa0d8aca657377450529f381fe6 (diff)
perf symbol: Move addr_location__put() from event.h
Its a addr_location method, so move it to symbol.h, where 'struct addr_location' is, 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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index ea5bd1f62b0f..bc6c1e2206cf 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -336,9 +336,6 @@ int perf_event__process(struct perf_tool *tool,
struct machine *machine);
struct addr_location;
-
-void addr_location__put(struct addr_location *al);
-
struct thread;
bool is_bts_event(struct perf_event_attr *attr);