Add a tracepoint for monitoring nr_running values, which is helpful in discovering scheduling imbalances.
More information and most of the code is in [2/2], while [1/2] fixes a build issue that popped up because CREATE_TRACE_POINTS is now defined for several includes. Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Jirka Hladký <[email protected]> Cc: Jiří Vozár <[email protected]> Cc: [email protected] Radim Krčmář (2): x86/mm/tlb: include tracepoints from tlb.c instead of mmu_context.h sched/debug: add sched_update_nr_running tracepoint arch/x86/include/asm/mmu_context.h | 2 -- arch/x86/mm/tlb.c | 2 ++ include/trace/events/sched.h | 22 ++++++++++++++++++++++ kernel/sched/core.c | 7 ++----- kernel/sched/fair.c | 2 -- kernel/sched/sched.h | 7 +++++++ 6 files changed, 33 insertions(+), 9 deletions(-) -- 2.23.0

