Re: [PATCH] perf build: Improve fix for "argument list too long" error
From: Arnaldo Carvalho de Melo
Date: Mon Sep 28 2026 - 12:47:09 EST
On Mon, Sep 28, 2026 at 10:15:47AM +0100, James Clark wrote:
> On 28/09/2026 09:55, Benoît Monin wrote:
> > Express the orphan file list as paths relative to $(OUT_DIR) by
> > stripping the common prefix and restoring it with printf, the same
> > approach used in scripts/Makefile.clean, so the shell arguments stay
> > short.
> > Fixes: b6712d91f8f5 ("perf build: Prevent "argument list too long" error")
> > Suggested-by: Vladimir Kondratiev <vladimir.kondratiev@xxxxxxxxxxxx>
> > Signed-off-by: Benoît Monin <benoit.monin@xxxxxxxxxxx>
> > Tested-by: Vladimir Kondratiev <vladimir.kondratiev@xxxxxxxxxxxx>
>
> Reviewed-by: James Clark <james.clark@xxxxxxxxxx>
Thanks, applied to perf-tools-next, for v7.4.
- Arnaldo