Re: PATCH [0/4] perf: clean-up of power events API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: PATCH [0/4] perf: clean-up of power events API
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Sat, 09 Oct 2010 17:34:58 -0400
- Cc: Ingo Molnar <mingo@xxxxxxx>, Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>, Tejun Heo <tj@xxxxxxxxxx>, Frederic Weisbecker <fweisbec@xxxxxxxxx>, Pierre Tardy <tardyp@xxxxxxxxx>, Thomas Renninger <trenn@xxxxxxx>, Jean Pihet <jean.pihet@xxxxxxxxxxxxxx>, linux-trace-users@xxxxxxxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-perf-users@xxxxxxxxxxxxxxx, rjw@xxxxxxx, linux-omap@xxxxxxxxxxxxxxx, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>, Frank Eigler <fche@xxxxxxxxxx>, Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
- In-reply-to: <4CB095FA.8060803@xxxxxxxxxxxxxxx>
- References: <1286205661-24448-1-git-send-email-jean.pihet@xxxxxxxxxxxxxx> <201010062334.46971.trenn@xxxxxxx> <20101007150825.GB12581@Krystal> <AANLkTikT4xsh7iCQDX8ksewJwC-BeFov=Ab7iYo+hDmO@xxxxxxxxxxxxxx> <20101007155816.GA5351@nowhere> <4CAED2F0.9080801@xxxxxxxxxx> <20101008083819.GA22385@xxxxxxx> <4CAF19E7.3070103@xxxxxxxxxxxxxxx> <20101008134156.GA28724@Krystal> <20101009062836.GB5517@xxxxxxx> <4CB095FA.8060803@xxxxxxxxxxxxxxx>
On Sat, 2010-10-09 at 09:19 -0700, Arjan van de Ven wrote:
> > I.e. it's not an ABI in the classic sense - we do not (because we
> > cannot) guarantee the infinite availability of these events. But we can
> > guarantee that the fields do not change in some stupid, avoidable way.
>
> also I have to say that some events are more likely to change than others
>
> "function foo in the kernel called" is more likely to change than "the
> processor went to THIS frequency".
> The concept of CPU frequencies has been with us fora long time and is
> going to be there for a long time as well ......
Perhaps for basic concepts, we need a standard trace-event. Are people
willing to have a TRACE_EVENT_ABI() (it's trivial to write), and we can
mark those events with that macro that we know tools depend on.
These events can be exposed in a /sys/kernel/events/... directory, to
let tools know what what events they can rely on.
We've talked about doing this before, I've just been waiting to hear a
consensus on if we should. I know Peter Zijlstra was against the idea,
and too bad he's off gallivanting to share his input now.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]