[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM9d7ciG7p4KKTdLgHTUJHS03VpQuou8Ns3VWAZYB9S9kyr4nw@mail.gmail.com>
Date: Wed, 10 Feb 2021 18:14:06 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: Paul Cercueil <paul@...pouillou.net>, Jiri Olsa <jolsa@...hat.com>,
Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
od@...c.me, linux-kernel <linux-kernel@...r.kernel.org>,
"stable # 4 . 5" <stable@...r.kernel.org>
Subject: Re: [PATCH] perf stat: Use nftw() instead of ftw()
Hi,
On Tue, Feb 9, 2021 at 4:29 AM Arnaldo Carvalho de Melo <acme@...nel.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@...r.kernel.org
> > Signed-off-by: Paul Cercueil <paul@...pouillou.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@...nel.org>
Thanks,
Namhyung
Powered by blists - more mailing lists