Milian Wolff
6754075915
perf unwind: Use addr_location::addr instead of ip for entries
...
This fixes the srcline translation for call chains of user space
applications.
Before we got:
perf report --stdio --no-children -s sym,srcline -g address
8.92% [.] main mandelbrot.h:41
|
|--3.70%--main +8390240
| __libc_start_main +139950056726769
| _start +8388650
|
|--2.74%--main +8390189
|
--2.08%--main +8390296
__libc_start_main +139950056726769
_start +8388650
7.59% [.] main complex:1326
|
|--4.79%--main +8390203
| __libc_start_main +139950056726769
| _start +8388650
|
--2.80%--main +8390219
7.12% [.] __muldc3 libgcc2.c:1945
|
|--3.76%--__muldc3 +139950060519490
| main +8390224
| __libc_start_main +139950056726769
| _start +8388650
|
--3.32%--__muldc3 +139950060519512
main +8390224
With this patch applied, we instead get:
perf report --stdio --no-children -s sym,srcline -g address
8.92% [.] main mandelbrot.h:41
|
|--3.70%--main mandelbrot.h:41
| __libc_start_main +241
| _start +4194346
|
|--2.74%--main mandelbrot.h:41
|
--2.08%--main mandelbrot.h:41
__libc_start_main +241
_start +4194346
7.59% [.] main complex:1326
|
|--4.79%--main complex:1326
| __libc_start_main +241
| _start +4194346
|
--2.80%--main complex:1326
7.12% [.] __muldc3 libgcc2.c:1945
|
|--3.76%--__muldc3 libgcc2.c:1945
| main mandelbrot.h:39
| __libc_start_main +241
| _start +4194346
|
--3.32%--__muldc3 libgcc2.c:1945
main mandelbrot.h:39
Suggested-and-Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Milian Wolff <milian.wolff@kdab.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
LPU-Reference: 20160816153926.11288-1-milian.wolff@kdab.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-08-16 15:23:29 -03:00
..
2016-08-15 18:11:18 -03:00
2016-07-12 15:20:32 -03:00
2016-08-09 10:52:22 -03:00
2016-07-18 12:20:00 -03:00
2016-07-12 16:23:35 -03:00
2016-08-04 11:02:38 +02:00
2016-08-03 19:40:48 -03:00
2016-07-12 15:20:38 -03:00
2016-08-01 18:18:16 -03:00
2016-08-16 15:23:29 -03:00
2016-05-30 12:41:46 -03:00
2016-01-12 12:42:07 -03:00
2016-07-12 00:00:39 -03:00
2015-12-17 14:27:14 -03:00
2016-07-12 15:19:47 -03:00
2015-12-17 14:27:14 -03:00
2016-06-23 17:23:00 -03:00
2016-06-28 10:54:57 -03:00
2016-06-23 11:26:15 -03:00
2016-06-23 11:26:15 -03:00
2016-07-12 15:19:47 -03:00
2016-06-23 11:26:15 -03:00
2016-07-28 16:07:41 -07:00
2016-07-12 15:19:47 -03:00
2016-07-13 23:09:07 -03:00
2015-12-17 14:27:14 -03:00
2016-08-12 14:39:48 -03:00
2016-07-13 23:09:05 -03:00
2016-08-02 16:33:29 -03:00
2016-07-12 00:00:39 -03:00
2016-07-12 15:19:47 -03:00
2016-08-15 13:23:49 -03:00
2016-08-09 10:48:32 -03:00
2016-05-20 11:43:58 -03:00
2016-08-01 18:18:16 -03:00
2016-07-12 15:20:35 -03:00
2015-12-09 13:42:03 -03:00
2016-03-23 15:06:35 -03:00
2016-01-08 12:46:17 -03:00
2016-02-04 15:57:00 -03:00
2016-08-02 16:33:28 -03:00
2016-08-02 16:33:28 -03:00
2016-07-18 18:41:50 -03:00
2015-03-19 13:53:27 -03:00
2014-10-29 10:32:48 -02:00
2016-07-18 17:40:49 -03:00
2015-08-06 16:48:27 -03:00
2016-07-15 10:08:29 -03:00
2016-08-02 16:33:29 -03:00