Re: [PATCH] perf: add OMAP support for the new power events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 3 Mar 2011, Jean Pihet wrote:

> The patch adds the new power management trace points for
> the OMAP architecture.
> 
> The trace points are for:
> - default idle handler. Since the cpuidle framework is
>   instrumented in the generic way there is no need to
>   add trace points in the OMAP specific cpuidle handler;
> - cpufreq (DVFS),
> - SoC clocks changes (enable, disable, set_rate),
> - power domain states: the desired target state and -if different-
>   the actually hit state.
> 
> Because of the generic nature of the changes, OMAP3 and OMAP4 are supported.
> 
> Tested on OMAP3 with suspend/resume, cpuidle, basic DVFS.
> 
> Signed-off-by: Jean Pihet <j-pihet@xxxxxx>

In terms of tracing powerdomain state changes, since OMAP powerdomains can 
potentially transition without the MPU knowing about it, some powerdomain 
transitions will be missed by these.  (The software counters miss them 
too.)  The only way to be certain about these is to watch the debug 
observability lines.  Still, it is the rare board that brings out debobs 
lines.  So this seems reasonable, as long as people don't expect 100% 
coverage.

For the clock and powerdomain changes,

Acked-by: Paul Walmsley <paul@xxxxxxxxx>


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux