perf symbols: Introduce thread__find_cpumode_addr_location
authorArnaldo Carvalho de Melo <[email protected]>
Tue, 11 Mar 2014 19:16:49 +0000 (16:16 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 14 Mar 2014 21:08:40 +0000 (18:08 -0300)
commit52a3cb8cfca16db73cf825cb94325cf54da8304f
treee926190fca91c320768087d428b16bc2078784d1
parent0ea590ae8198547d5898c72b04fa9d8f23bd0b8f
perf symbols: Introduce thread__find_cpumode_addr_location

Its one level up thread__find_addr_location, where it will look in
different domains for a sample: user, kernel, hypervisor, etc.

Will soon be used by a patchkit by Andi Kleen.

Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/machine.c
tools/perf/util/thread.c
tools/perf/util/thread.h