perf symbols: Create thread__find_addr_map from thread__find_addr_location
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 Jan 2010 01:45:29 +0000 (23:45 -0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 16 Jan 2010 09:58:48 +0000 (10:58 +0100)
commit59ee68ecd1561a233fb6ad351980bea8402533e7
tree9b095330dfbf754cce495c8bc8ce187d1340d8b6
parent18c3daa4961b9fa1f2db0711d93c0acf0c39fd12
perf symbols: Create thread__find_addr_map from thread__find_addr_location

Because some tools will only want to know with maps had hits,
not needing the full symbol resolution done by
thread__find_addr_location.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1263519930-22803-3-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/event.c
tools/perf/util/thread.h