Re: [PATCH 6.1 0000/1067] 6.1.178-rc1 review

From: Francesco Dolcini

Date: Wed Jul 22 2026 - 02:24:02 EST


Hello Greg

On Tue, Jul 21, 2026 at 05:10:01PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.178 release.
> There are 1067 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.

It does not build to me.

file_offset in struct perf_sample missing?

07-21:17:58:43 | arm-tdx-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9=/usr/src/debug/perf/1.0-r9 -fdebug-prefix-map=/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9=/usr/src/debug/perf/1.0-r9 -fdebug-prefix-map=/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/recipe-sysroot= -fdebug-prefix-map=/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/recipe-sysroot-native= --sysroot=/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/recipe-sysroot -Wp,-MD,/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/perf-1.0/libbpf/staticobjs/.nlattr.o.d -Wp,-MT,/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/perf-1.0/libbpf/staticobjs/nlattr.o -ldw -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -I/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/perf-1.0/libbpf/ -I/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/include -I/workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/include/uapi -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o /workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/perf-1.0/libbpf/staticobjs/nlattr.o nlattr.c
07-21:17:58:43 | In file included from builtin-sched.c:28:
07-21:17:58:43 | builtin-sched.c: In function 'latency_switch_event':
07-21:17:58:43 | builtin-sched.c:1182:34: error: 'struct perf_sample' has no member named 'file_offset'
07-21:17:58:43 | 1182 | sample->file_offset, cpu);
07-21:17:58:43 | | ^~
07-21:17:58:43 | util/debug.h:24:44: note: in definition of macro 'pr_warning'
07-21:17:58:43 | 24 | eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
07-21:17:58:43 | | ^~~~~~~~~~~
07-21:17:58:43 | builtin-sched.c: In function 'latency_runtime_event':
07-21:17:58:43 | builtin-sched.c:1260:34: error: 'struct perf_sample' has no member named 'file_offset'
07-21:17:58:43 | 1260 | sample->file_offset, cpu);
07-21:17:58:43 | | ^~
07-21:17:58:43 | util/debug.h:24:44: note: in definition of macro 'pr_warning'
07-21:17:58:43 | 24 | eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
07-21:17:58:43 | | ^~~~~~~~~~~
07-21:17:58:43 | builtin-sched.c: In function 'map_switch_event':
07-21:17:58:43 | builtin-sched.c:1622:34: error: 'struct perf_sample' has no member named 'file_offset'
07-21:17:58:43 | 1622 | sample->file_offset, this_cpu.cpu);
07-21:17:58:43 | | ^~
07-21:17:58:43 | util/debug.h:24:44: note: in definition of macro 'pr_warning'
07-21:17:58:43 | 24 | eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
07-21:17:58:43 | | ^~~~~~~~~~~
07-21:17:58:43 | make -f /workdir/oe/tmp/work/apalis_imx6-tdx-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/build/Makefile.build dir=./arch obj=perf

Francesco