Re: [PATCH v1] perf test: stat metrics cgroup strip possible slash from cgroup name

From: Arnaldo Carvalho de Melo

Date: Fri Sep 25 2026 - 11:43:58 EST


On Fri, Sep 25, 2026 at 08:33:08AM -0700, Ian Rogers wrote:
> On Wed, Sep 16, 2026 at 11:13 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> >
> > The grep to match cgroup name in metric output assumes no leading / on
> > the cgroup name, however, cgroups in /proc/self/cgroup may have a
> > leading /. Strip the / if it exists to avoid failures to match the
> > cgroup name in the perf stat output.
> >
> > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
>
> Ping.

Thanks, applied to perf-tools-next, for v7.4.

- Arnaldo