projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37592b8
)
perf callchain: Use al.addr to set up call chain
author
Andi Kleen
<ak@linux.intel.com>
Thu, 13 Nov 2014 02:05:21 +0000
(18:05 -0800)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 19 Nov 2014 15:33:47 +0000
(12:33 -0300)
Use the relative address, this makes get_srcline work correctly in the
end.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link:
http://lkml.kernel.org/r/1415844328-4884-4-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/machine.c
b/tools/perf/util/machine.c
index 84390eecab06f6c214c91f5cb223a832b6106dd1..d97309c87bd643f87c0a95efee4231c7af17ac28 100644
(file)
--- a/
tools/perf/util/machine.c
+++ b/
tools/perf/util/machine.c
@@
-1406,7
+1406,7
@@
static int add_callchain_ip(struct thread *thread,
}
}
- return callchain_cursor_append(&callchain_cursor,
ip
, al.map, al.sym);
+ return callchain_cursor_append(&callchain_cursor,
al.addr
, al.map, al.sym);
}
struct branch_info *sample__resolve_bstack(struct perf_sample *sample,