mbox series

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

Message ID 158193313870.8868.10793333111731425487.stgit@devnote2
Headers show
Series tracing: Fix synthetic event generation API and test | expand

Message

Masami Hiramatsu (Google) Feb. 17, 2020, 9:52 a.m. UTC
Hi,

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@kernel.org>