Messages in this thread | | | Subject | [PATCH -tip 0/4] perf/probe: Improve error messages | From | Masami Hiramatsu <> | Date | Fri, 06 Jun 2014 07:13:38 +0000 |
| |
Hi,
Here is a series that improves error messages of perf probe.
- Improve the error message if we can not find given member in the given structure. (perf probe --add) - Show error code and description only in verbose mode if perf probe command is failed. - Improve error messages of perf probe --vars mode. - Improve error messages of perf probe --line mode.
This series is mainly for fixing confusing messages and for removing the error code which is just a mysterious number for users.
Thank you,
---
Masami Hiramatsu (4): perf/probe: Improve error message for unknown member of data structure perf/probe: Show error code and description in verbose mode perf/probe: Improve an error message of perf probe --vars mode perf/probe: Improve error messages with --line option
tools/perf/builtin-probe.c | 23 ++++++++++++++--------- tools/perf/util/probe-event.c | 13 +++++++++---- tools/perf/util/probe-finder.c | 11 +++++++---- 3 files changed, 30 insertions(+), 17 deletions(-)
-- Masami HIRAMATSU Software Platform Research Dept. Linux Technology Research Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com
| |