summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorJiri Olsa2019-02-24 20:06:43 +0100
committerArnaldo Carvalho de Melo2019-02-25 14:37:01 +0100
commitccb7a71dcea071c7fd68192909c4e54561c88043 (patch)
treeede25918c93298b4c4514afb80d4f311135c9919 /Kbuild
parentperf data: Make check_backup work over directories (diff)
downloadkernel-qcow2-linux-ccb7a71dcea071c7fd68192909c4e54561c88043.tar.gz
kernel-qcow2-linux-ccb7a71dcea071c7fd68192909c4e54561c88043.tar.xz
kernel-qcow2-linux-ccb7a71dcea071c7fd68192909c4e54561c88043.zip
perf data: Fail check_backup in case of error
And display the error message from removing the old data file: $ perf record ls Can't remove old data: Permission denied (perf.data.old) Perf session creation failed. $ perf record ls Can't remove old data: Unknown file found (perf.data.old) Perf session creation failed. Not sure how to make fail the rename (after we successfully remove the destination file/dir) to show the message, anyway let's have it there. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/20190224190656.30163-8-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions