diff options
author | Hyeoncheol Lee <[email protected]> | 2012-09-11 16:57:28 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-01-24 16:40:20 -0300 |
commit | 7ce28b5b5b320e26ac6a0e352d5005bce3530e05 (patch) | |
tree | aeec73c79ce4ac58658fc51022b08f4f5f5cf9f6 /tools/perf/scripts/python/sctop.py | |
parent | b878e7fb22ea48b0585bbbbef249f7efc6d42748 (diff) |
perf probe: Allow of casting an array of char to string
Before casting a type of a variable to string, convert_variable_type()
confirms that the type is a pointer or an array. then if it is a pointer
to char, it is casted to string. but in case of an array of char, it
isn't
Signed-off-by: H.C. Lee <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Link: http://lkml.kernel.org/r/CANFS6bb75e8a_UtyAD9yF73hfXDy0N8tSjDz=a+Vna=Y8ORMHg@mail.gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions