On Tue, Jun 06, 2023 at 02:20:23PM +0800, sunliming wrote:
This series patches fix the incorrect trace record for empty arguments events and add correspondent selftests.
V3: Improve modification descriptions to maintain consistent formatting
v2: Change "i->count" to "i->count !=0 " to prevent compiler optimization Add correspondent selftests
sunliming (4): tracing/user_events: Fix the incorrect trace record for empty arguments events selftests/user_events: Add ftrace self-test for empty arguments events selftests/user_events: Clear the events after perf self-test selftests/user_events: Add perf self-test for empty arguments events
kernel/trace/trace_events_user.c | 4 +- .../selftests/user_events/ftrace_test.c | 33 ++++++++ .../testing/selftests/user_events/perf_test.c | 82 +++++++++++++++++++ 3 files changed, 117 insertions(+), 2 deletions(-)
-- 2.25.1
Thank you, this series looks good to me.
Acked-by: Beau Belgrave beaub@linux.microsoft.com
Thanks, -Beau