diff options
author | Paul Cercueil <paul@crapouillou.net> | 2021-02-08 19:11:57 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-02-08 20:39:14 +0100 |
commit | a81fbb8771a3810a58d657763fde610bf2c33286 (patch) | |
tree | aaffa36629fd3a3b9312a95a43e95aa2c3f7d966 /tools/perf/util/symbol_conf.h | |
parent | perf tools: Update topdown documentation for Sapphire Rapids (diff) | |
download | linux-a81fbb8771a3810a58d657763fde610bf2c33286.tar.xz linux-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 <paul@crapouillou.net>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: od@zcrc.me
Cc: stable@vger.kernel.org
Link: http://lore.kernel.org/lkml/20210208181157.1324550-1-paul@crapouillou.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol_conf.h')
0 files changed, 0 insertions, 0 deletions