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 <mi...@redhat.com> Cc: Peter Zijlstra <pet...@infradead.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Borislav Petkov <b...@alien8.de> Cc: Dave Hansen <dave.han...@linux.intel.com> Cc: Steven Rostedt <rost...@goodmis.org> Cc: "H. Peter Anvin" <h...@zytor.com> Cc: Andy Lutomirski <l...@kernel.org> Cc: Jirka Hladký <jhla...@redhat.com> Cc: Jiří Vozár <jvo...@redhat.com> Cc: x...@kernel.org 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