Rafael J. Wysocki
38d4ea229d
cpufreq: schedutil: Trace frequency only if it has changed
...
sugov_update_commit() calls trace_cpu_frequency() to record the
current CPU frequency if it has not changed in the fast switch case
to prevent utilities from getting confused (they may report that the
CPU is idle if the frequency has not been recorded for too long, for
example).
However, that may cause the tracepoint to be triggered quite often
for no real reason (if the frequency doesn't change, we will not
modify the last update time stamp and governor computations may
run again shortly when that happens), so don't do that (arguably, it
is done to work around a utilities bug anyway).
That allows code duplication in sugov_update_commit() to be reduced
somewhat too.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
2017-03-24 02:57:22 +01:00
..
autogroup.c
sched/autogroup: Rename auto_group.[ch] to autogroup.[ch]
2017-02-08 09:01:11 +01:00
autogroup.h
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/autogroup.h>
2017-03-02 08:42:28 +01:00
clock.c
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/nmi.h>
2017-03-02 08:42:30 +01:00
completion.c
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h>
2017-03-02 08:42:34 +01:00
core.c
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-03-07 14:42:34 -08:00
cpuacct.c
sched/cputime: Convert kcpustat to nsecs
2017-02-01 09:13:47 +01:00
cpuacct.h
cpudeadline.c
sched/core: Remove the tsk_cpus_allowed() wrapper
2017-03-02 08:42:24 +01:00
cpudeadline.h
cpufreq.c
cpufreq_schedutil.c
cpufreq: schedutil: Trace frequency only if it has changed
2017-03-24 02:57:22 +01:00
cpupri.c
sched/core: Remove the tsk_cpus_allowed() wrapper
2017-03-02 08:42:24 +01:00
cpupri.h
cputime.c
sched/headers: Prepare to move cputime functionality from <linux/sched.h> into <linux/sched/cputime.h>
2017-03-02 08:42:39 +01:00
deadline.c
sched/core: Remove the tsk_nr_cpus_allowed() wrapper
2017-03-02 08:42:24 +01:00
debug.c
sched/headers: Prepare to move the task_lock()/unlock() APIs to <linux/sched/task.h>
2017-03-02 08:42:38 +01:00
fair.c
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-03-07 14:42:34 -08:00
features.h
sched/fair: Make select_idle_cpu() more aggressive
2017-03-02 08:50:17 +01:00
idle.c
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/idle.h>
2017-03-02 08:42:26 +01:00
idle_task.c
sched/core: Add wrappers for lockdep_(un)pin_lock()
2017-01-14 11:29:30 +01:00
loadavg.c
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/loadavg.h>
2017-03-02 08:42:27 +01:00
Makefile
sched/autogroup: Rename auto_group.[ch] to autogroup.[ch]
2017-02-08 09:01:11 +01:00
rt.c
sched/core: Remove the tsk_nr_cpus_allowed() wrapper
2017-03-02 08:42:24 +01:00
sched.h
sched/headers: Prepare to move _init() prototypes from <linux/sched.h> to <linux/sched/init.h>
2017-03-02 08:42:40 +01:00
stats.c
stats.h
sched/headers: Move cputime functionality from <linux/sched.h> and <linux/cputime.h> into <linux/sched/cputime.h>
2017-03-03 01:45:22 +01:00
stop_task.c
sched/core: Add wrappers for lockdep_(un)pin_lock()
2017-01-14 11:29:30 +01:00
swait.c
sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h>
2017-03-02 08:42:32 +01:00
topology.c
sched/topology: Split out scheduler topology code from core.c into topology.c
2017-02-07 10:58:12 +01:00
wait.c
sched/headers: fix up header file dependency on <linux/sched/signal.h>
2017-03-08 10:36:03 -08:00