[PATCH 0/2] tracing: Fix synthetic event generation API and test

From: Masami Hiramatsu
Date: Mon Feb 17 2020 - 04:52:25 EST


Here is a couple of patches to fix 2 issues LKP and I found on
synthetic event generation test.

[1/2] is for fixing warnings on smp_processor_id() without
disabling preemption, and [2/2] is for fixing a bug on the API
itself which LKP reported.

Thank you,


Masami Hiramatsu (2):
tracing: Fix synth event test to avoid using smp_processor_id()
tracing: Clear trace_state when starting trace

kernel/trace/synth_event_gen_test.c | 23 +++++++++++++++++------
kernel/trace/trace_events_hist.c | 4 ++--
2 files changed, 19 insertions(+), 8 deletions(-)

Masami Hiramatsu (Linaro) <mhiramat@xxxxxxxxxx>