Skip to content

RT: Enhance PREEMPT_TRACE with deeper stacks

Gregory Haskins linux-rt-users lkml 1 version In review

Get series with b4
b4 am 20070810140745.12966.8464.stgit@lsg

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Adds full stack to critical-section tracinginclude/linux/sched.h kernel/latency_trace.c+16 -91 reply
2/2Some stacks show up untracable, so fall back to old method in this casearch/x86_64/kernel/stacktrace.c include/linux/stacktrace.h kernel/latency_trace.c+21 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] RT: Enhance PREEMPT_TRACE with deeper stacks

This series changes the PREEMPT-TRACE behavior for reporting critical sections. The previous code reported 2 frames per section. The new code uses the save_stack_trace facility to save an arbitrary number of frames (currently set to 5 via a #define)

For what its worth, these patches assisted me with debugging some issues in -rt. The second patch is really a workaround for where X86_64 frame-pointers apparently are not working under certain circumstances.