diff options
| author | Masami Hiramatsu <[email protected]> | 2010-07-09 18:28:59 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-07-16 11:46:34 -0300 |
| commit | 7cf0b79e6ffd04bba5d4e625a0fe2e30a5b383e5 (patch) | |
| tree | 65a99a3bd6aeaafd723397ffb623a9a90e327474 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 0dd9ac63ce26ec87b080ca9c3e6efed33c23ace6 (diff) | |
perf probe: Fix error message if get_real_path() failed
Perf probe -L shows incorrect error message (Dwarf error) if it fails to find
source file. This can confuse users.
# ./perf probe -s /nowhere -L vfs_read
Debuginfo analysis failed. (-2)
Error: Failed to show lines. (-2)
With this patch, it shows correct message.
# ./perf probe -s /nowhere -L vfs_read
Failed to find source file. (-2)
Error: Failed to show lines. (-2)
LKML-Reference: <[email protected]>
Cc: Chase Douglas <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Ingo Molnar <[email protected]>
Acked-by: Chase Douglas <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions