aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorJuri Lelli <[email protected]>2014-02-24 11:47:12 +0100
committerIngo Molnar <[email protected]>2014-02-27 12:29:40 +0100
commiteec751ed41a0ae7e92a43c33a458d7bd1b941631 (patch)
tree2059fbdbd5a842df6450bca66f4f4ea2851cfbc1 /tools/perf/util/scripting-engines/trace-event-perl.c
parent3908ac13b550c93f97d8db136ff572be5495bc06 (diff)
sched/deadline: Switch CPU's presence test order
Commit 82b9580 ("sched/deadline: Test for CPU's presence explicitly") changed how we check if a CPU returned by cpudeadline machinery is valid. But, we don't want to call cpu_present() if best_cpu is equal to -1. So, switch the order of tests inside WARN_ON(). Signed-off-by: Juri Lelli <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions