mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
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>
This commit is contained in:
parent
7e5c6f2c1a
commit
d1e633e4cd
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user