tracing, perf: Add more power related events
authorJean Pihet <jean.pihet@newoldbits.com>
Tue, 7 Sep 2010 07:21:32 +0000 (09:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 17 Sep 2010 07:10:43 +0000 (09:10 +0200)
commit74704ac6ea402d50c9543cb28247e6d9f521f7ae
tree8b3b9e175d48193b0c30db116164d5cc26f46cba
parent635c17c2b2b4e5cd34f5dcba19d751b4e58533c2
tracing, perf: Add more power related events

This patch adds new generic events for dynamic power management
tracing:

 - clock events class: used for clock enable/disable and for
   clock rate change,
 - power_domain events class: used for power domains transitions.

The OMAP architecture will be using the new events for PM debugging,
however the new events are made generic enough to be used by all
platforms.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Acked-by: Thomas Renninger <trenn@suse.de>
Cc: discuss@lesswatts.org
Cc: linux-pm@lists.linux-foundation.org
Cc: Thomas Renninger <trenn@suse.de>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Len Brown <len.brown@intel.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
LKML-Reference: <AANLkTinUmbSUUuxUzc8++pcb9gd1CZFdyTQFrveTBXyV@mail.gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/trace/events/power.h