Re: PATCH [0/4] perf: clean-up of power events API

2010-10-08 Thread Frank Ch. Eigler
Hi - On Fri, Oct 08, 2010 at 01:21:35PM -0400, Steven Rostedt wrote: [...] Perhaps we should have make install of a kernel also install this library? [...] The app only needs to worry about loading the generic library. The generic library can test for compatible libraries for the kernel.

Re: [PATCH 4/4] perf: provide a DEPRECTAED power trace API to user space

2010-10-04 Thread Frank Ch. Eigler
Hi - Provide a CONFIG_DEPRECATED_POWER_EVENT_TRACING option in order to provide backward compatibility with the user space tracing tools. This is clever: +/* Map new events trace points calls to old ones */ +#define trace_processor_idle(state, cpu_id) \ + do {

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

2010-09-22 Thread Frank Ch. Eigler
Hi - On Wed, Sep 22, 2010 at 08:26:40PM +0200, Peter Zijlstra wrote: [...] Not sure what you mean by double tracepoints Two different tracepoints in the same location. Another possibility may be to provide a backward-compatibility module that maps new tracepoints to old ones. On demand, it