Skip to content

function tracing: fix wrong position computing of stack_trace

Liming Wang lkml 1 version Applied

Status from this message: applied to tip/tracing/urgent, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1function tracing: fix wrong position computing of stack_tracekernel/trace/trace_stack.c+15 -93 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchSteven Rostedt
1/1A-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/1] function tracing: fix wrong position computing of stack_trace

Hi Steven and Ingo,

Before I have submitted a patch to fix output of available_filter_functions, later I checked other places that use seq_operations, I found stack_trace also has this potential problem.

This fix use a more sane method to implement seq_operations. And this avoids checking return value of seq_printf. If you think this implementation is OK, I think others can be convert to this cleaner way, which will make future usage of seq_operations less errors.

walimis