mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tracing: Fix some bug about synth
@ 2022-11-13  7:09 Shang XiaoJing
  2022-11-13  7:09 ` [PATCH v2 1/2] tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event() Shang XiaoJing
  2022-11-13  7:09 ` [PATCH v2 2/2] tracing: Fix wild-memory-access in register_synth_event() Shang XiaoJing
  0 siblings, 2 replies; 4+ messages in thread
From: Shang XiaoJing @ 2022-11-13  7:09 UTC (permalink / raw)
  To: rostedt, mhiramat, zanussi, fengguang.wu, linux-kernel; +Cc: shangxiaojing

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-16 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-13  7:09 [PATCH v2 0/2] tracing: Fix some bug about synth Shang XiaoJing
2022-11-13  7:09 ` [PATCH v2 1/2] tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event() Shang XiaoJing
2022-11-13  7:09 ` [PATCH v2 2/2] tracing: Fix wild-memory-access in register_synth_event() Shang XiaoJing
2022-11-16 20:50   ` Tom Zanussi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®