lkml.org 
[lkml]   [2014]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH -tip 0/4] perf/probe: Improve error messages
From
Date
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



\
 
 \ /
  Last update: 2014-06-06 09:41    [W:0.159 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site