diff options
| author | Jiri Olsa <[email protected]> | 2019-02-24 19:06:38 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-25 13:33:04 +0000 |
| commit | cdb6b0235f170a5ffcd74731178efc064bd4d24a (patch) | |
| tree | f1b0e474cdc9b0746254813b849d4e9c7940a6ff /tools/perf/scripts/python/futex-contention.py | |
| parent | perf tools: Add depth checking to rm_rf (diff) | |
| download | kernel-cdb6b0235f170a5ffcd74731178efc064bd4d24a.tar.gz kernel-cdb6b0235f170a5ffcd74731178efc064bd4d24a.zip | |
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/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
