Searched hist:"881 c362d34ef76600b859e3a034d4155139bad2c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/perf/ |
H A D | builtin-help.c | diff 881c362d34ef76600b859e3a034d4155139bad2c Tue Jun 27 08:52:57 CDT 2017 Arnaldo Carvalho de Melo <acme@redhat.com> perf help: Introduce exec_failed() to avoid code duplication
The warning(str_error_r(errno)) pattern can be replaced with a function, do it.
And while at it use pr_warning(), we have way too many error reporting facilities, time to drop some, starting with the one we got from the git sources.
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-lbak5npj1ri1uuvf1en3c0p0@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|