Commit d1e633e4 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 7e5c6f2c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);
+2 −0
Original line number Diff line number Diff line
@@ -132,6 +132,8 @@ struct addr_location {
	s32	      socket;
};

void addr_location__put(struct addr_location *al);

int dso__load(struct dso *dso, struct map *map);
int dso__load_vmlinux(struct dso *dso, struct map *map,
		      const char *vmlinux, bool vmlinux_allocated);