linux_dsm_epyc7002/tools/perf/ui/gtk
Arnaldo Carvalho de Melo ee51d85139 perf annotate: Introduce strerror for handling symbol__disassemble() errors
We were just using pr_error() which makes it difficult for non stdio UIs
to provide errors using its widgets, as they need to somehow catch what
was passed to pr_error().

Fix it by introducing a __strerror() interface like the ones used
elsewhere, for instance target__strerror().

This is just the initial step, more work will be done, but first some
error handling bugs noticed while working on this need to be dealt with.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-dgd22zl2xg7x4vcnoa83jxfb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-08-01 18:18:16 -03:00
..
annotate.c perf annotate: Introduce strerror for handling symbol__disassemble() errors 2016-08-01 18:18:16 -03:00
browser.c tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
Build perf build: Add gtk objects building 2015-02-12 11:49:12 -03:00
gtk.h perf ui: Rename ui_progress to ui_progress_ops 2013-10-23 14:41:23 -03:00
helpline.c perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
hists.c perf evlist: Rename for_each() macros to for_each_entry() 2016-06-23 11:26:15 -03:00
progress.c perf ui progress: Per progress bar state 2013-10-23 15:40:38 -03:00
setup.c perf ui: Rename ui_progress to ui_progress_ops 2013-10-23 14:41:23 -03:00
util.c perf tools: Remove needless includes from cache.h 2016-07-12 15:19:58 -03:00