]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf probe: Fix to find recursively inlined function
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 30 Mar 2011 09:25:59 +0000 (18:25 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Apr 2011 18:36:47 +0000 (15:36 -0300)
commit1d878083c253fb2e2471b39e825447aca66fc05c
tree55aa2651f09d1a2b85aef38a53cfed16770f9bd0
parentcc446446ff48e82c157dc8c937a3490f2a2ce535
perf probe: Fix to find recursively inlined function

Fix die_find_inlinefunc() to return correct innermost inlined function
at given address. Without this fix, it returns the outermost inlined
function.

Cc: 2nddept-manager@sdl.hitachi.co.jp
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20110330092559.2132.78634.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-finder.c