[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120323084712.GE2886@gmail.com>
Date: Fri, 23 Mar 2012 09:47:12 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Stephane Eranian <eranian@...gle.com>,
Vince Weaver <vince@...ter.net>,
Arnaldo Carvalho de Melo <acme@...radead.org>,
Jiri Olsa <jolsa@...hat.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] perf: mmap_page capabilities and docs
* Peter Zijlstra <peterz@...radead.org> wrote:
> Usage:
>
> gcc -finstrument-functions -o my_prog main.c
> LD_PRELOAD=profviz.so ./my_prog
>
> xdot prof.dot
> or
> dot -Tsvg prof.svg prof.dot
>
> The attached prof.svg it example output of:
>
> LD_PRELOAD=./profviz.so ./perf report
Nifty. Could we integrate this into 'perf profviz <myprog>' or
so [feel free to use a better sub-tool name - 'perf selfprof' ?]
and thus make it available to mere mortals as well?
'perf selfprof' could also warn about apps that were not built
with -finstrument-functions.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists