[v3,0/2] tracing: Fix some bug about synth

Message ID 20221117012346.22647-1-shangxiaojing@huawei.com
Headers
Series tracing: Fix some bug about synth |

Message

Shang XiaoJing Nov. 17, 2022, 1:23 a.m. UTC
  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(-)
  

Comments

Steven Rostedt Nov. 17, 2022, 10:53 p.m. UTC | #1
On Thu, 17 Nov 2022 09:23:44 +0800
Shang XiaoJing <shangxiaojing@huawei.com> wrote:

> 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(-)
> 

Queued. Thanks Shang!

-- Steve