aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorValentin Schneider <[email protected]>2020-03-03 11:02:57 +0000
committerIngo Molnar <[email protected]>2020-03-06 12:57:22 +0100
commit76c389ab2b5e300698eab87f9d4b7916f14117ba (patch)
tree6574a89da9fa2bc0872f8e548442168ca7bb8edf /tools/perf/scripts/python/exported-sql-viewer.py
parent05289b90c2e40ae80f5c70431cd0be4cc8a6038d (diff)
sched/fair: Fix kernel build warning in test_idle_cores() for !SMT NUMA
Building against the tip/sched/core as ff7db0bf24db ("sched/numa: Prefer using an idle CPU as a migration target instead of comparing tasks") with the arm64 defconfig (which doesn't have CONFIG_SCHED_SMT set) leads to: kernel/sched/fair.c:1525:20: warning: 'test_idle_cores' declared 'static' but never defined [-Wunused-function] static inline bool test_idle_cores(int cpu, bool def); ^~~~~~~~~~~~~~~ Rather than define it in its own CONFIG_SCHED_SMT #define island, bunch it up with test_idle_cores(). Reported-by: Anshuman Khandual <[email protected]> Reported-by: Naresh Kamboju <[email protected]> Reviewed-by: Lukasz Luba <[email protected]> [[email protected]: Edit changelog, minor style change] Signed-off-by: Valentin Schneider <[email protected]> Signed-off-by: Mel Gorman <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Fixes: ff7db0bf24db ("sched/numa: Prefer using an idle CPU as a migration target instead of comparing tasks") Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions