From d1e633e4cdc0d06cec82d4772c025f13c3b25a6c Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 27 Oct 2022 16:54:46 -0300 Subject: 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 --- tools/perf/util/event.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'tools/perf/util/event.h') 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); -- cgit v1.2.3