Hi,
On Tue, Feb 9, 2021 at 4:29 AM Arnaldo Carvalho de Melo acme@kernel.org wrote:
Em Mon, Feb 08, 2021 at 06:11:57PM +0000, Paul Cercueil escreveu:
ftw() has been obsolete for about 12 years now.
Fixes: bb1c15b60b98 ("perf stat: Support regex pattern in --for-each-cgroup") CC: stable@vger.kernel.org Signed-off-by: Paul Cercueil paul@crapouillou.net
Notes: 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.
Seems safe from reading the nftw() man page, the only typeflag that this code is using is FTW_D and that is present in both ftw() and nftw().
Applying,
Didn't notice it was obsolete.
Acked-by: Namhyung Kim namhyung@kernel.org
Thanks, Namhyung