[PATCH 0/2] sched/debug: add sched_update_nr_running tracepoint
From: Radim KrÄmÃÅ
Date: Tue Sep 03 2019 - 11:43:54 EST
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 <mingo@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxx>
Cc: Jirka Hladkà <jhladky@xxxxxxxxxx>
Cc: JiÅÃ VozÃr <jvozar@xxxxxxxxxx>
Cc: x86@xxxxxxxxxx
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