diff options
| author | Juri Lelli <juri.lelli@arm.com> | 2015-04-30 17:35:23 +0100 |
|---|---|---|
| committer | Amit Pundir <amit.pundir@linaro.org> | 2016-09-14 14:59:32 +0530 |
| commit | bd818ccdeef84bef9fed1cdbd143018a89b63454 (patch) | |
| tree | be6397ab5fb3ceee8314d7715d65e1a7a7a7eb6f /include/linux | |
| parent | 69852bd9a380fdd066e156d3511db645340b9e8c (diff) | |
DEBUG: sched,cpufreq: add cpu_capacity change tracepoint
This is useful when we want to compare cpu utilization and
cpu curr capacity side by side.
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index c707c613664f..951422587dd9 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1048,6 +1048,8 @@ struct sched_group_energy { struct capacity_state *cap_states; /* ptr to capacity state array */ }; +unsigned long capacity_curr_of(int cpu); + struct sched_group; struct sched_domain { |
