Skip to content

sched/debug: add sched_update_nr_running tracepoint

Radim Krčmář lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/mm/tlb: include tracepoints from tlb.c instead of mmu_context.harch/x86/include/asm/mmu_context.h arch/x86/mm/tlb.c+2 -20 replies
2/2sched/debug: add sched_update_nr_running tracepointinclude/trace/events/sched.h kernel/sched/core.c kernel/sched/fair.c +1 more+31 -728 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchJirka HladkýJiří Vozár
1/2
2/2T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] sched/debug: add sched_update_nr_running tracepoint

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]>

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(-)
Signature · 1 line
2.23.0