]> git.baikalelectronics.ru Git - kernel.git/commit
perf evsel: Introduce perf_evsel__open_strerror method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Dec 2012 18:10:58 +0000 (15:10 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:09 +0000 (16:40 -0300)
commit3faf9498dce812b5aa4629c2b22f9ff28f2943a0
tree5e68bd51510915b6da7db8e0fdcc5fc766dd6b6a
parent838ef19de658fe669f8459541ea7de657c90845e
perf evsel: Introduce perf_evsel__open_strerror method

That consolidates the error messages in 'record', 'stat' and 'top', that
now get a consistent set of messages and allow other tools to use the
new method to report problems using whatever UI toolkit.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-1cudb7wl996kz7ilz83ctvhr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/ui/util.c
tools/perf/util/debug.h
tools/perf/util/evsel.c
tools/perf/util/evsel.h