From: Jiri Olsa <jolsa@redhat.com>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>,
Alexander Gordeev <agordeev@redhat.com>,
linux-kernel@vger.kernel.org, x86@kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>,
Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Subject: Re: [PATCH RFC -tip 0/6] perf: IRQ-bound performance events
Date: Tue, 4 Jun 2013 10:51:59 +0200 [thread overview]
Message-ID: <20130604085159.GA1103@krava.brq.redhat.com> (raw)
In-Reply-To: <20130603194101.GB31107@somewhere>
On Mon, Jun 03, 2013 at 09:41:21PM +0200, Frederic Weisbecker wrote:
> On Mon, Jun 03, 2013 at 02:22:23PM +0200, Ingo Molnar wrote:
> >
> > * Alexander Gordeev <agordeev@redhat.com> wrote:
SNIP
> How about we define finegrained context on top of perf events themselves?
> Like we could tell perf to count a task's instructions only after
> tracepoint:irq_entry is hit and stop counting when tracepoint:irq_exit.
>
> This way we can define any kind of fine grained context, not just irqs. We
> are not short on tracepoints, software events, breakpoints, kprobes, uprobes
> to play Legos there.
agreed, we could do the same as Alex did plus we'd have
the generic interface to meassure any place
>
> I had a branch with a working draft of that:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
> perf/custom-ctx-v2-pre
>
> Frederic Weisbecker (5):
> perf: Starter and stopper events
> perf: New enable_on_starter attribute
> perf: Support for starter and stopper in tools
> perf: New --enable-on-starter option
> perf: Add TODOs for event defined context
>
> It needs quite some improvements, (some are listed in the TODO on the last commit)
> especially in both the kernel and user interfaces.
>
> Jiri had some nice ideas about it.
yep, one of them is to to get back to this soon ;-)
jirka
next prev parent reply other threads:[~2013-06-04 8:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-03 9:41 [PATCH RFC -tip 0/6] perf: IRQ-bound performance events Alexander Gordeev
2013-06-03 12:22 ` Ingo Molnar
2013-06-03 19:41 ` Frederic Weisbecker
2013-06-04 8:51 ` Jiri Olsa [this message]
2013-06-03 13:36 ` Alexander Gordeev
2013-06-04 9:38 ` Peter Zijlstra
2013-06-04 10:14 ` Alexander Gordeev
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=20130604085159.GA1103@krava.brq.redhat.com \
--to=jolsa@redhat.com \
--cc=acme@ghostprotocols.net \
--cc=agordeev@redhat.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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