diff options
| author | Rabin Vincent <[email protected]> | 2015-01-18 19:00:20 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-01-21 13:05:17 +0000 |
| commit | be81908c2289f405df75d2511ccf5da785945400 (patch) | |
| tree | 091dfe44f434c1eb29e5224d21d058f44e68f4ae /tools/perf/util/python.c | |
| parent | perf scripting perl: Force to use stdbool (diff) | |
| download | kernel-be81908c2289f405df75d2511ccf5da785945400.tar.gz kernel-be81908c2289f405df75d2511ccf5da785945400.zip | |
perf annotate: Handle ins parsing failures
Don't use the ins's ->sncprintf() if the parsing failed.
For example, this fixes the display of "imul %edx". Without this patch:
| imul (null),(null)
After this patch:
| imul %edx
Signed-off-by: Rabin Vincent <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
