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:17 -03:00
2016-07-13 23:09:09 -03:00
2016-06-23 11:07:13 +02:00
2016-07-12 10:41:53 -07:00
2016-06-11 17:38:06 +01:00
2016-08-09 11:48:07 -03:00
2016-05-25 16:12:06 +02:00
2016-04-22 10:29:03 +02:00
2016-08-04 11:02:38 +02:00
2016-05-08 23:32:59 -04:00
2016-07-30 11:54:53 -07:00
2016-08-16 15:23:29 -03:00
2016-07-26 17:56:45 -07:00
2016-07-22 16:37:44 -03:00
2015-12-08 17:58:56 +00:00
2016-08-12 12:28:23 -07:00
2015-10-10 11:32:31 +08:00
2016-05-03 14:32:07 -07:00
2016-07-01 05:32:17 -04:00
2016-07-26 16:19:19 -07:00
2016-06-23 11:07:13 +02:00