android_kernel_samsung_a7y1.../tools
Masami Hiramatsu a08172a911 perf probe: Fix to show function entry line as probe-able
commit 91e2f539eeda26ab00bd03fae8dc434c128c85ed upstream.

Fix die_walk_lines() to list the function entry line correctly.  Since
the dwarf_entrypc() does not return the entry pc if the DIE has only
range attribute, __die_walk_funclines() fails to list the declaration
line (entry line) in that case.

To solve this issue, this introduces die_entrypc() which correctly
returns the entry PC (the first address range) even if the DIE has only
range attribute. With this fix die_walk_lines() shows the function entry
line is able to probe correctly.

Fixes: 4cc9cec636e7 ("perf probe: Introduce lines walker interface")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/157190837419.1859.4619125803596816752.stgit@devnote2
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Backlund <tmb@mageia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:22:37 +02:00
..
arch A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
build A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cgroup A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
firewire A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hv Tools: hv: kvp: eliminate 'may be used uninitialized' warning 2020-04-06 21:34:23 +02:00
iio iio: iio-utils: Fix possible incorrect mask calculation 2020-04-06 20:06:12 +02:00
include tools include: Adopt linux/bits.h 2020-04-06 18:15:26 +02:00
laptop/freefall A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lguest A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lib libtraceevent: Fix memory leakage in copy_filter_type 2020-04-07 13:21:50 +02:00
net A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nfsd A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perf perf probe: Fix to show function entry line as probe-able 2020-04-07 13:22:37 +02:00
power tools/power/cpupower: Fix initializer override in hsw_ext_cstates 2020-04-07 13:20:20 +02:00
scripts A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
testing selftests/ftrace: Fix to test kprobe $comm arg only if available 2020-04-07 12:35:29 +02:00
thermal/tmon A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
time A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usb A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
virtio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30