Re: [PATCH] perf probe: Allow of casting an array of char to string

2012-09-20 Thread Masami Hiramatsu
(2012/09/20 14:12), Hyeoncheol Lee wrote: > Before casting a type of a variable to string, > convert_variable_type() confirms that the type is a pointer or > an array. if it is a pointer to char, it is casted to string. > but in case of an array of char, it isn't Oops, right! I missed the array

Re: [PATCH] perf probe: Allow of casting an array of char to string

2012-09-20 Thread Masami Hiramatsu
(2012/09/20 14:12), Hyeoncheol Lee wrote: Before casting a type of a variable to string, convert_variable_type() confirms that the type is a pointer or an array. if it is a pointer to char, it is casted to string. but in case of an array of char, it isn't Oops, right! I missed the array case.

[PATCH] perf probe: Allow of casting an array of char to string

2012-09-19 Thread Hyeoncheol Lee
Before casting a type of a variable to string, convert_variable_type() confirms that the type is a pointer or an array. if it is a pointer to char, it is casted to string. but in case of an array of char, it isn't Cc: Masami Hiramatsu Cc: Srikar Dronamraju Signed-off-by: Hyeoncheol Lee ---

[PATCH] perf probe: Allow of casting an array of char to string

2012-09-19 Thread Hyeoncheol Lee
Before casting a type of a variable to string, convert_variable_type() confirms that the type is a pointer or an array. if it is a pointer to char, it is casted to string. but in case of an array of char, it isn't Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju