Re: [PATCH 7.1 0000/2077] 7.1.5-rc1 review
From: Sasha Levin
Date: Wed Jul 22 2026 - 12:47:52 EST
On Tue, Jul 21, 2026 at 10:54:18AM -0700, Florian Fainelli wrote:
> builtin-sched.c:1196:34: error: 'struct perf_sample' has no member named
> 'file_offset'
>
> which is due to 6018a2a9ff1baa45426f7a52f8ec4f7d32fedfce ("perf sched:
> Replace BUG_ON on invalid CPU with graceful skip"), we need to backport
> a490187f22b4bfae7ef752edbe3fb13017ca11c ("perf sample: Add file_offset
> field to struct perf_sample")
Greg has queued 7a490187f22b for 7.1 (ordered right before the
perf-sched patch), so this is resolved for -rc2.
The other two perf build errors reported in this thread are covered as
well: the libdw.c inline_node__clear_frames() failure is fixed by
674dea094ef6 ("perf srcline: Introduce inline_node__clear_frames()"),
which is now also queued.
Thorsten's third error ('evsel' undeclared in
perf_session__deliver_event at util/session.c) doesn't apply to the
queue itself: that code block comes from upstream a2e59fb79f449f
("perf session: Bound nr_cpus_avail and validate sample CPU"), which
isn't queued for 7.1. His local cherry-pick of 7a490187f22b pulled in
that surrounding context without the evsel declaration; the backport
in the queue doesn't carry it. I verified the current queue's
perf_session__deliver_event has no evsel reference and that perf from
the current 7.1 queue builds cleanly, so -rc2 should be good.
--
Thanks,
Sasha