Re: [PATCH v3 0/4] tracing/user_events: Add empty arguments events
From: Google
Date: Wed Jun 07 2023 - 10:10:51 EST
On Tue, 6 Jun 2023 14:20:23 +0800
sunliming <sunliming@xxxxxxxxxx> wrote:
> This series patches fix the incorrect trace record for empty arguments
> events and add correspondent selftests.
Looks good for me.
Acked-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
for the series.
>
> 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
>
--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>