Re: [PATCH] tracing, perf: add more power related events

From: Ingo Molnar
Date: Fri Sep 17 2010 - 12:24:42 EST



* Thomas Renninger <trenn@xxxxxxx> wrote:

> On Friday 17 September 2010 16:24:59 Ingo Molnar wrote:
> >
> > * Jean Pihet <jean.pihet@xxxxxxxxxxxxxx> wrote:
> >
> > > > Apropos documentation..., are the power trace events documented
> > > > somewhere?
> > >
> > > No. We need something like Documentation/trace/events-kmem.txt. I
> > > can write that with for the new power API.
> > Such a patch introducing events-power.txt would be most welcome!
> Better wait a bit...
> As soon as it exists, things are harder to change.
> As long as there isn't an API documented, there doesn't exist one
> (yes we want to have perf timechart, etc. still functional/compatible,
> but still, better let's do not the same mistake with some quick shots).

Music to my ears ;-) I was waiting for ACPI side feedback to all this,
so whatever we do it would be nice to cover ARM and x86 as well - and in
a single coherent framework.

[ You dont even have to document it, as good code is self-explanatory ;-) ]

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/