Re: [PATCH 04/22] perf tools: Add --list report option

From: Jiri Olsa
Date: Wed Feb 05 2014 - 04:14:59 EST


On Wed, Feb 05, 2014 at 10:50:36AM +0900, Namhyung Kim wrote:
> On Sun, 2 Feb 2014 22:38:52 +0100, Jiri Olsa wrote:
> > Adding --list report option to display entries sequentialy:
> >
> > $ perf report --list --stdio
> > ...
> > 0.00% 13151.543527 +000000.000000 ls [kernel.kallsyms] [k] native_write_msr_safe
> > 0.00% 13151.543530 +000000.000003 ls [kernel.kallsyms] [k] native_write_msr_safe
> > 0.00% 13151.543532 +000000.000005 ls [kernel.kallsyms] [k] native_write_msr_safe
> > 0.00% 13151.543534 +000000.000007 ls [kernel.kallsyms] [k] native_write_msr_safe
> > 0.05% 13151.543536 +000000.000009 ls [kernel.kallsyms] [k] native_write_msr_safe
> > 0.92% 13151.543538 +000000.000011 ls [kernel.kallsyms] [k] perf_event_comm
> > 14.52% 13151.543560 +000000.000033 ls [kernel.kallsyms] [k] uprobe_mmap
> > 30.10% 13151.543878 +000000.000351 ls ld-2.17.so [.] _dl_setup_hash
> > 29.30% 13151.544531 +000000.001004 ls ls [.] gobble_file.constprop.49
> > 25.09% 13151.545613 +000000.002086 ls [kernel.kallsyms] [k] _cond_resched
>
> Hmm.. it seems what this --list option does is very similar to
> what "perf script -f time,comm,dso,sym,ip" tries to do, no?

correct.. it's just byproduct which I need for lock browser
I'm working on.. but this basic output seemed usefull and
actually missing from report portfolio ;-)

but as I said, it's a byproduct and I can leave it for
the lock change patchset

thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/