Messages in this thread | | | Date | Tue, 17 Jan 2012 09:04:07 -0700 | From | David Ahern <> | Subject | Re: [PATCH -tip v4 4/5] perf script: add the offset field specifier |
| |
On 01/15/2012 10:22 PM, Akihiro Nagai wrote: > Add the offset field specifier 'offs' to show the offset from > the symbols in the output of perf-script. We can get the more > detailed address information. > > Output sample: > # perf script -f ip,addr,sym,offs > 301ec016b0 _start+0x0 ffffffff81467612 irq_return+0x0 > 301ec016b0 _start+0x0 ffffffff81467612 irq_return+0x0 > 301ec04b70 _dl_start+0x0 301ec016b3 _start+0x3 > 301ec04b70 _dl_start+0x0 ffffffff81467612 irq_return+0x0 > 301ec04b96 _dl_start+0x26 ffffffff81467612 irq_return+0x0 > 301ec04b9d _dl_start+0x2d ffffffff81467612 irq_return+0x0 > 301ec04c0d _dl_start+0x9d 301ec04beb _dl_start+0x7b > 301ec04bf0 _dl_start+0x80 301ec04c11 _dl_start+0xa1 > [snip] > > Changes in v2: > - change the way to output offset from '--show-symbol-offset' to > 'offs' field. > - clean up codes. >
Reviewed-by: David Ahern <dsahern@gmail.com>
| |