[PATCH -tip 0/4] perf/probe: Improve error messages

From: Masami Hiramatsu
Date: Fri Jun 06 2014 - 03:13:53 EST


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@xxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/