Skip to content

tracing: Final updates for 6.4

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing/user_events: Fix incorrect return value for writing operation when events are disabledkernel/trace/trace_events_user.c+2 -10 replies
2/3selftests/user_events: Enable the event before write_fault test in ftrace self-testtools/testing/selftests/user_events/ftrace_test.c+4 -00 replies
3/3selftests/user_events: Add test cases when event is disabledtools/testing/selftests/user_events/ftrace_test.c+3 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBeau Belgrave
1/3A-b
2/3A-b
3/3A-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 [for-linus][PATCH 0/3] tracing: Final updates for 6.4

Before user events become an ABI, fix the return value of the write operation when tracing is disabled. It should not return an error, but simply report it wrote zero bytes. Just like any other write operation that doesn't write but does not "fail".

This also includes test cases for this use case.

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/urgent

Head SHA1: 131966049074b8025a8cba0e99d3745311fcef5b

sunliming (3):
tracing/user_events: Fix incorrect return value for writing operation when events are disabled selftests/user_events: Enable the event before write_fault test in ftrace self-test selftests/user_events: Add test cases when event is disabled

----

 kernel/trace/trace_events_user.c                  | 3 ++-
 tools/testing/selftests/user_events/ftrace_test.c | 7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)