diff options
author | Jiri Olsa <[email protected]> | 2019-02-24 20:06:38 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-25 10:33:04 -0300 |
commit | cdb6b0235f170a5ffcd74731178efc064bd4d24a (patch) | |
tree | f1b0e474cdc9b0746254813b849d4e9c7940a6ff /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 05a486593977bfcf71de6bf5cad6d045c18829c6 (diff) |
perf tools: Add pattern name checking to rm_rf
Add pattern argument to rm_rf_depth() (and rename it to rm_rf_depth_pat())
to specify the name pattern files need to match inside the directory.
The function fails if we find different file to remove.
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