Re: [PATCH] perf sched: Make output_name variable static
From: Arnaldo Carvalho de Melo
Date: Fri Sep 25 2026 - 09:17:45 EST
On Tue, Sep 15, 2026 at 12:43:59PM -0700, Ian Rogers wrote:
> On Thu, Sep 3, 2026 at 4:28 AM nanshuaibo <nanshuaibo811@xxxxxxx> wrote:
> >
> > The output_name variable is only used within builtin-sched.c for the
> > stats subcommand, so declare it static. This fixes a sparse warning:
> >
> > builtin-sched.c:4140:12: warning: symbol 'output_name' was not
> > declared. Should it be static?
> >
> > Signed-off-by: nanshuaibo <nanshuaibo811@xxxxxxx>
>
> Reviewed-by: Ian Rogers <irogers@xxxxxxxxxx>
Thanks, applied to perf-tools-next, for v7.4.
- Arnaldo