summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-data.c
diff options
context:
space:
mode:
authorAlexey Bayduraev <alexey.v.bayduraev@linux.intel.com>2022-02-22 12:14:17 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-02-23 03:15:56 +0300
commit65e7c963267f128df155f496a50933cea7dfa5b8 (patch)
tree4aad513312da1e3eb8b11bbabc92b2451892260c /tools/perf/builtin-data.c
parent859f7e45542aecaa77fde929232cbcf91b29e11d (diff)
downloadlinux-65e7c963267f128df155f496a50933cea7dfa5b8.tar.xz
perf data: Adding error message if perf_data__create_dir() fails
Add proper return codes for all cases of data directory creation failure and add error message output based on these codes. Signed-off-by: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Antonov <alexander.antonov@linux.intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexei Budankov <abudankov@huawei.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20220222091417.11020-1-alexey.v.bayduraev@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-data.c')
0 files changed, 0 insertions, 0 deletions