RE: [PATCH 12/31] perf probe: Reset args and nargs for probe_trace_event when failure

2015-10-30 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Wang Nan [mailto:wangn...@huawei.com] > >When failure occures in add_probe_trace_event(), args in >probe_trace_event is incomplete. Since information in it may be used >in futher, this patch frees the allocated memory and set it to NULL >to avoid dangling pointer. Sorry for replying late.

RE: [PATCH 12/31] perf probe: Reset args and nargs for probe_trace_event when failure

2015-10-30 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Wang Nan [mailto:wangn...@huawei.com] > >When failure occures in add_probe_trace_event(), args in >probe_trace_event is incomplete. Since information in it may be used >in futher, this patch frees the allocated memory and set it to NULL >to avoid dangling pointer. Sorry for replying late.

Re: [PATCH 12/31] perf probe: Reset args and nargs for probe_trace_event when failure

2015-10-29 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 14, 2015 at 12:41:23PM +, Wang Nan escreveu: > When failure occures in add_probe_trace_event(), args in > probe_trace_event is incomplete. Since information in it may be used > in futher, this patch frees the allocated memory and set it to NULL > to avoid dangling pointer. Masami,

Re: [PATCH 12/31] perf probe: Reset args and nargs for probe_trace_event when failure

2015-10-29 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 14, 2015 at 12:41:23PM +, Wang Nan escreveu: > When failure occures in add_probe_trace_event(), args in > probe_trace_event is incomplete. Since information in it may be used > in futher, this patch frees the allocated memory and set it to NULL > to avoid dangling pointer. Masami,

[PATCH 12/31] perf probe: Reset args and nargs for probe_trace_event when failure

2015-10-14 Thread Wang Nan
When failure occures in add_probe_trace_event(), args in probe_trace_event is incomplete. Since information in it may be used in futher, this patch frees the allocated memory and set it to NULL to avoid dangling pointer. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Brendan Gregg Cc:

[PATCH 12/31] perf probe: Reset args and nargs for probe_trace_event when failure

2015-10-14 Thread Wang Nan
When failure occures in add_probe_trace_event(), args in probe_trace_event is incomplete. Since information in it may be used in futher, this patch frees the allocated memory and set it to NULL to avoid dangling pointer. Signed-off-by: Wang Nan Cc: Alexei Starovoitov