]> git.baikalelectronics.ru Git - kernel.git/commit
perf probe: Fix finder to find lines of given function
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Mon, 23 Apr 2012 03:24:36 +0000 (12:24 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Sep 2013 14:35:05 +0000 (11:35 -0300)
commitb4a6e2853e32e9502f786b3077cb727bb0684c8a
treeadc8c87044a66f1efb62871df23d260de0f97e78
parent06a00324dcfb91e3878a593ce574a03b7e0cbdb1
perf probe: Fix finder to find lines of given function

The commit a74ed3d3a4723881fa7b6bc236fc5db83a5be52f fixed a declaration
entry bug in probe_point_search_cb().  There are same bugs in line
finder and call_probe_finder().  This introduces a new dwarf utility
function to determine given DIE is a function definition, not
declaration.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Prashanth Nageshappa <prashanth@linux.vnet.ibm.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: yrl.pp-manager.tt@hitachi.com
Link: http://lkml.kernel.org/r/20120423032435.8737.80064.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dwarf-aux.c
tools/perf/util/dwarf-aux.h
tools/perf/util/probe-finder.c