Re: [PATCH] tracing, perf: add more power related events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH] tracing, perf: add more power related events
- From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
- Date: Wed, 22 Sep 2010 20:26:40 +0200
- Cc: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>, Jean Pihet <jean.pihet@xxxxxxxxxxxxxx>, Thomas Renninger <trenn@xxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Len Brown <len.brown@xxxxxxxxx>, arjan@xxxxxxxxxxxxx, Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-omap@xxxxxxxxxxxxxxx, linux-perf-users@xxxxxxxxxxxxxxx, linux-trace-users@xxxxxxxxxxxxxxx
- In-reply-to: <1285179355.26872.27.camel@xxxxxxxxxxxxxxxxxxx>
- References: <AANLkTinUmbSUUuxUzc8++pcb9gd1CZFdyTQFrveTBXyV@xxxxxxxxxxxxxx> <201009171736.14170.trenn@xxxxxxx> <20100917162412.GB3341@xxxxxxx> <201009180026.59482.trenn@xxxxxxx> <AANLkTimMAr9kEzybFGai3qGyXx36v055iPpXq_C1vW8C@xxxxxxxxxxxxxx> <4C9A21AD.1000800@xxxxxxxxxxxxxxx> <AANLkTim6B+Je=LykgJb9=0vK5Br1rkft619BRJkBcHdP@xxxxxxxxxxxxxx> <4C9A2FB3.105@xxxxxxxxxxxxxxx> <1285173835.2275.1026.camel@laptop> <4C9A37AE.2010509@xxxxxxxxxxxxxxx> <1285176629.2275.1033.camel@laptop> <1285179355.26872.27.camel@xxxxxxxxxxxxxxxxxxx>
On Wed, 2010-09-22 at 14:15 -0400, Steven Rostedt wrote:
> On Wed, 2010-09-22 at 19:30 +0200, Peter Zijlstra wrote:
> > On Wed, 2010-09-22 at 10:06 -0700, Arjan van de Ven wrote:
> >
>
> > That said, I really didn't read this discussion much, but your stance
> > seems to be that any tracepoint you use must stay valid, and I object to
> > that.
>
> We could add a TRACE_EVENT_ABI() as Ingo has been suggesting. If
> anything, it could mean that the given tracepoint will always have the
> same name. And perhaps the data it holds will always be there, but may
> also be extended.
I still don't see why you need TRACE_EVENT_ABI for that, if its the same
name and the format can be extended you get the same results with what
we've got. Apps need to read/parse the format thing anyway.
> >
> > What will do you do when we include a new scheduling policy and all the
> > scheduler tracepoints need to change? (yes that's really going to
> > happen)
>
> The tracepoint sched_switch should stay the same. We may add more data,
> but the comm, pid, prio => comm, pid, prio, I don't see going away.
Right, it would need additional fields. Preferably not only at the end.
> > I'm not going to carry double tracepoints, and I'm not going to not
> > merge that policy.
>
> Not sure what you mean by "double tracepoints"
Two different tracepoints in the same location.
--
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
- References:
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
- Re: [PATCH] tracing, perf: add more power related events
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]