aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2021-02-08 18:11:57 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-02-08 19:39:14 +0000
commita81fbb8771a3810a58d657763fde610bf2c33286 (patch)
treeaaffa36629fd3a3b9312a95a43e95aa2c3f7d966 /tools/perf/builtin-script.c
parentperf tools: Update topdown documentation for Sapphire Rapids (diff)
downloadkernel-a81fbb8771a3810a58d657763fde610bf2c33286.tar.gz
kernel-a81fbb8771a3810a58d657763fde610bf2c33286.zip
perf stat: Use nftw() instead of ftw()
ftw() has been obsolete for about 12 years now. Committer notes: Further notes provided by the patch author: "NOTE: Not runtime-tested, I have no idea what I need to do in perf to test this. But at least it compiles now with my uClibc-based toolchain." I looked at the nftw()/ftw() man page and for the use made with cgroups in 'perf stat' the end result is equivalent. Fixes: bb1c15b60b98 ("perf stat: Support regex pattern in --for-each-cgroup") Signed-off-by: Paul Cercueil <[email protected]> Cc: Alexander Shishkin <[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: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions