diff options
author | Jiri Olsa <[email protected]> | 2019-02-24 20:06:43 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-25 10:37:01 -0300 |
commit | ccb7a71dcea071c7fd68192909c4e54561c88043 (patch) | |
tree | ede25918c93298b4c4514afb80d4f311135c9919 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 5021fc4e8c7c3be6f8735eff76fb2520485fcec4 (diff) |
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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions