aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2019-02-24 20:06:42 +0100
committerArnaldo Carvalho de Melo <[email protected]>2019-02-25 10:35:19 -0300
commit5021fc4e8c7c3be6f8735eff76fb2520485fcec4 (patch)
treef32c501ac9f3605027e17c8fe1a64103ab66eae2 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentc69e4c37b37c816c7dbd307a6e7d2d2a5cfe8788 (diff)
perf data: Make check_backup work over directories
Change check_backup() to call rm_rf_perf_data() instead of unlink() to work over directory paths. Also move the call earlier in the code, before we fork for file/dir, so it can backup also directory data. Signed-off-by: Jiri Olsa <[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