Files
linux/tools/perf/util
Mark Brown 3287a1881c perf bpf: Fix up build failure due to change of btf_vlen() return type
Fix:

util/btf.c: In function '__btf_type__find_member_by_name':
util/btf.c:19:43: error: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Werror=sign-compare]
   19 |         for (i = 0, m = btf_members(t); i < btf_vlen(t); i++, m++) {
      |                                           ^

builtin-trace.c: In function 'syscall_arg__strtoul_btf_enum':
builtin-trace.c:967:27: error: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Werror=sign-compare]
  967 |         for (int i = 0; i < btf_vlen(bt); ++i, ++be) {
      |                           ^

by making the variable the same type as the function.

Committer note:

Add an extra hunk from Alan Maguire, fixing btf_enum_scnprintf().

Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2026-06-22 15:53:34 -03:00
..
2026-06-15 14:33:49 -03:00
2026-01-13 17:03:25 -03:00
2026-01-13 17:03:25 -03:00
2026-03-13 14:13:02 -07:00
2025-06-09 11:18:17 -07:00
2026-04-02 19:35:16 -07:00
2023-03-14 08:29:46 -03:00
2021-08-11 09:35:44 -03:00
2024-08-19 14:52:13 -03:00
2023-01-23 10:00:47 -03:00
2026-04-05 22:30:52 -07:00
2024-08-12 18:05:14 -03:00
2024-08-19 14:51:46 -03:00
2026-06-15 09:01:27 -03:00
2026-06-15 09:01:27 -03:00
2025-05-02 15:36:14 -03:00
2025-02-10 11:46:02 -08:00
2023-04-06 21:40:28 -03:00
2023-09-12 17:47:00 -03:00
2025-03-10 11:31:24 -07:00
2025-03-10 11:31:24 -07:00
2025-12-17 09:30:37 -03:00
2026-03-26 15:22:18 -07:00
2025-07-11 12:36:40 -07:00
2025-07-11 12:36:40 -07:00
2024-12-12 15:53:36 -03:00
2026-06-03 16:54:09 -03:00
2025-06-09 11:18:18 -07:00
2025-07-26 16:31:43 -07:00
2025-09-19 12:14:29 -03:00
2023-04-10 19:20:53 -03:00
2024-09-27 15:38:52 -03:00