diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-01-17 16:58:53 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-01-17 17:03:16 +0100 |
commit | 31f5260a7653e6042ac28578db1c61e84f2d7898 (patch) | |
tree | 5a039c72253ffb0597917ef392dd142efb181b24 /tools/perf/util/probe-finder.h | |
parent | 4e71de7986386d5fd3765458f27d612931f27f5e (diff) | |
parent | 613f050d68a8ed3c0b18b9568698908ef7bbc1f7 (diff) | |
download | linux-31f5260a7653e6042ac28578db1c61e84f2d7898.tar.bz2 |
Merge tag 'perf-urgent-for-mingo-4.10-20170117' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull 'perf probe' fixes from Arnaldo Carvalho de Melo <acme@redhat.com>
- Show correct locations for 'perf probe' on modules (Masami Hiramatsu)
- Correctly handle 'perf probe's on GCC generated functions in modules (Masami Hiramatsu)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/probe-finder.h')
-rw-r--r-- | tools/perf/util/probe-finder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/probe-finder.h b/tools/perf/util/probe-finder.h index f1d8558f498e..2956c5198652 100644 --- a/tools/perf/util/probe-finder.h +++ b/tools/perf/util/probe-finder.h @@ -46,6 +46,9 @@ int debuginfo__find_trace_events(struct debuginfo *dbg, int debuginfo__find_probe_point(struct debuginfo *dbg, unsigned long addr, struct perf_probe_point *ppt); +int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs, + bool adjust_offset); + /* Find a line range */ int debuginfo__find_line_range(struct debuginfo *dbg, struct line_range *lr); |