Paul Cercueil a81fbb8771 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>
2021-02-08 16:39:14 -03:00
..
2020-01-14 12:02:19 -03:00
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
2020-10-14 13:34:26 -03:00
2020-10-14 13:34:26 -03:00
2020-11-27 08:37:15 -03:00
2020-11-27 08:37:15 -03:00
2020-06-22 16:28:09 -03:00
2021-02-03 13:10:44 -03:00
2020-12-17 14:36:17 -03:00
2020-12-17 14:36:17 -03:00
2019-01-25 15:12:09 +01:00
2021-02-08 16:25:00 -03:00
2021-02-08 16:25:00 -03:00
2020-10-14 13:34:26 -03:00
2020-10-14 13:34:26 -03:00
2020-04-18 09:05:01 -03:00
2020-04-18 09:05:01 -03:00