perf evswitch: Move enoent error message printing to separate function
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Aug 2019 14:35:56 +0000 (11:35 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Aug 2019 15:26:04 +0000 (12:26 -0300)
commitc9a4269930dada68971a4a97f3abf079af8cde4e
treede540a14277f2c7c31191b4eb164100f994ec51d
parent124e02be72fdff05ab5d7f004a3c0d4061569380
perf evswitch: Move enoent error message printing to separate function

Allows adding hints there, will be done in followup patch.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Florian Weimer <fweimer@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: William Cohen <wcohen@redhat.com>
Link: https://lkml.kernel.org/n/tip-1kvrdi7weuz3hxycwvarcu6v@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evswitch.c