Skip to content

tracing: Fix some bug about synth

Shang XiaoJing lkml 3 versions – Applied

Status from this message: Queued. Thanks Shang!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 1 replySuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- remove redundant code.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()kernel/trace/synth_event_gen_test.c+6 -100 replies
2/2tracing: Fix wild-memory-access in register_synth_event()kernel/trace/trace_events_synth.c+2 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] tracing: Fix some bug about synth

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.
changes in v3:
- remove redundant code.

---
 kernel/trace/synth_event_gen_test.c | 16 ++++++----------
 kernel/trace/trace_events_synth.c   |  5 ++---
 2 files changed, 8 insertions(+), 13 deletions(-)
Signature · 1 line
2.17.1