diff options
| author | Yanteng Si <[email protected]> | 2023-08-25 11:28:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-29 17:15:21 +0000 |
| commit | f703073efff531c58d59fbc971598edb18933c66 (patch) | |
| tree | 83cd822d4c67c2163f03060acdd795baac093eb9 /tools/perf/scripts/python/libxed.py | |
| parent | perf beauty mmap_flags: Fix script for archs that use the generic mman.h (diff) | |
| download | kernel-f703073efff531c58d59fbc971598edb18933c66.tar.gz kernel-f703073efff531c58d59fbc971598edb18933c66.zip | |
perf beauty mmap_flags: Use "test -f" instead of "[-f FILE]"
"[" is part of the shell builtin test (and a synonym for it),
not a link to the external command /usr/bin/test.
Using the "test" is simpler because it avoids a lot of "[]".
Suggested-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Yanteng Si <[email protected]>
Acked-by: Huacai Chen <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/c50bc0a92dce0ff0fa6504c1a52fb53e2ac007bf.1692962043.git.siyanteng@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
