Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-16 Thread Hyeoncheol Lee
Hi, 2012/10/16 Srikar Dronamraju : > * Masami Hiramatsu [2012-10-16 13:19:57]: > >> (2012/10/16 10:37), Hyeoncheol Lee wrote: >> > convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS >> > bytes for a function name >> >> Yeah, that one was from my laziness... >> > > Guess not your

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-16 Thread Hyeoncheol Lee
Hi, 2012/10/16 Masami Hiramatsu : > (2012/10/16 10:37), Hyeoncheol Lee wrote: >> convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS >> bytes for a function name > > Yeah, that one was from my laziness... > >> >> Cc: Masami Hiramatsu >> Cc: Srikar Dronamraju >> Signed-off-by:

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-16 Thread Hyeoncheol Lee
Hi, 2012/10/16 Masami Hiramatsu masami.hiramatsu...@hitachi.com: (2012/10/16 10:37), Hyeoncheol Lee wrote: convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Yeah, that one was from my laziness... Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-16 Thread Hyeoncheol Lee
Hi, 2012/10/16 Srikar Dronamraju sri...@linux.vnet.ibm.com: * Masami Hiramatsu masami.hiramatsu...@hitachi.com [2012-10-16 13:19:57]: (2012/10/16 10:37), Hyeoncheol Lee wrote: convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Yeah, that one was

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Srikar Dronamraju
* Masami Hiramatsu [2012-10-16 13:19:57]: > (2012/10/16 10:37), Hyeoncheol Lee wrote: > > convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS > > bytes for a function name > > Yeah, that one was from my laziness... > Guess not your fault, but mine. > > > > Cc: Masami Hiramatsu

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Masami Hiramatsu
(2012/10/16 10:37), Hyeoncheol Lee wrote: > convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS > bytes for a function name Yeah, that one was from my laziness... > > Cc: Masami Hiramatsu > Cc: Srikar Dronamraju > Signed-off-by: Hyeoncheol Lee > --- >

[PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Hyeoncheol Lee
convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Cc: Masami Hiramatsu Cc: Srikar Dronamraju Signed-off-by: Hyeoncheol Lee --- tools/perf/util/probe-event.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Hyeoncheol Lee
convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Signed-off-by: Hyeoncheol Lee hyc@gmail.com --- tools/perf/util/probe-event.c |5 +++-- 1 file

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Masami Hiramatsu
(2012/10/16 10:37), Hyeoncheol Lee wrote: convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Yeah, that one was from my laziness... Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Signed-off-by:

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Srikar Dronamraju
* Masami Hiramatsu masami.hiramatsu...@hitachi.com [2012-10-16 13:19:57]: (2012/10/16 10:37), Hyeoncheol Lee wrote: convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Yeah, that one was from my laziness... Guess not your fault, but mine.