diff options
author | 2019-02-24 20:06:38 +0100 | |
---|---|---|
committer | 2019-02-25 10:33:04 -0300 | |
commit | cdb6b0235f170a5ffcd74731178efc064bd4d24a (patch) | |
tree | f1b0e474cdc9b0746254813b849d4e9c7940a6ff /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | perf tools: Add depth checking to rm_rf (diff) | |
download | wireguard-linux-cdb6b0235f170a5ffcd74731178efc064bd4d24a.tar.xz wireguard-linux-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 <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20190224190656.30163-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions