aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2019-02-24 19:06:43 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-02-25 13:37:01 +0000
commitccb7a71dcea071c7fd68192909c4e54561c88043 (patch)
treeede25918c93298b4c4514afb80d4f311135c9919 /tools/perf/scripts/python/futex-contention.py
parentperf data: Make check_backup work over directories (diff)
downloadkernel-ccb7a71dcea071c7fd68192909c4e54561c88043.tar.gz
kernel-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 <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexey Budankov <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions