public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>,
	Vince Weaver <vince@deater.net>,
	Arnaldo Carvalho de Melo <acme@infradead.org>,
	Jiri Olsa <jolsa@redhat.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] perf: mmap_page capabilities and docs
Date: Fri, 23 Mar 2012 09:47:12 +0100	[thread overview]
Message-ID: <20120323084712.GE2886@gmail.com> (raw)
In-Reply-To: <1332433596.2487.33.camel@twins>


* Peter Zijlstra <peterz@infradead.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

  reply	other threads:[~2012-03-23  8:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 16:26 [PATCH] perf: mmap_page capabilities and docs Peter Zijlstra
2012-03-23  8:47 ` Ingo Molnar [this message]
2012-03-23 11:34 ` [tip:perf/urgent] perf: Fix " tip-bot for Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120323084712.GE2886@gmail.com \
    --to=mingo@kernel.org \
    --cc=acme@infradead.org \
    --cc=eranian@google.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=vince@deater.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox