perf symbol: Move addr_location__put() from event.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 27 Oct 2022 19:54:46 +0000 (16:54 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 31 Oct 2022 14:06:56 +0000 (11:06 -0300)
commitd1e633e4cdc0d06cec82d4772c025f13c3b25a6c
treed08ac672137e98b5b34b91ead7e65ade1f2c7725
parent7e5c6f2c1aa2daa0d8aca657377450529f381fe6
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>
tools/perf/util/event.h
tools/perf/util/symbol.h