[PATCH v2 0/2] tracing: Fix some bug about synth

From: Shang XiaoJing
Date: Sun Nov 13 2022 - 02:11:05 EST


Some bugs are found when insert synth_event_gen_test, and fixed by this
patch set.

Shang XiaoJing (2):
tracing: Fix memory leak in test_gen_synth_cmd() and
test_empty_synth_event()
tracing: Fix wild-memory-access in register_synth_event()
---
changes in v2:
- some clean up.
- remove redundant code.
---
kernel/trace/synth_event_gen_test.c | 16 ++++++----------
kernel/trace/trace_events_synth.c | 3 ++-
2 files changed, 8 insertions(+), 11 deletions(-)

--
2.17.1