Public bug reported: BPF tests need an update for kernel 6.x
progs/bpf_iter_ksym.c:46:37: error: incomplete definition of type 'struct kallsym_iter' BPF_SEQ_PRINTF(seq, "0x%x\n", iter->value - last_sym_value); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:195:42: note: expanded from macro '___bpf_fill1' #define ___bpf_fill1(arr, p, x) arr[p] = x ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:50:14: error: incomplete definition of type 'struct kallsym_iter' value = iter->show_value ? iter->value : 0; ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:50:33: error: incomplete definition of type 'struct kallsym_iter' value = iter->show_value ? iter->value : 0; ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:54:13: error: incomplete definition of type 'struct kallsym_iter' type = iter->type; ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:56:10: error: incomplete definition of type 'struct kallsym_iter' if (iter->module_name[0]) { ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:57:14: error: incomplete definition of type 'struct kallsym_iter' type = iter->exported ? to_upper(type) : to_lower(type); ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:59:28: error: incomplete definition of type 'struct kallsym_iter' value, type, iter->name, iter->module_name); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:198:79: note: expanded from macro '___bpf_fill4' #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:197:79: note: expanded from macro '___bpf_fill3' #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:196:51: note: expanded from macro '___bpf_fill2' #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:59:28: error: incomplete definition of type 'struct kallsym_iter' value, type, iter->name, iter->module_name); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:198:79: note: expanded from macro '___bpf_fill4' #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:197:79: note: expanded from macro '___bpf_fill3' #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:196:51: note: expanded from macro '___bpf_fill2' #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:59:40: error: incomplete definition of type 'struct kallsym_iter' value, type, iter->name, iter->module_name); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:198:79: note: expanded from macro '___bpf_fill4' #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:197:79: note: expanded from macro '___bpf_fill3' #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:196:79: note: expanded from macro '___bpf_fill2' #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:195:42: note: expanded from macro '___bpf_fill1' #define ___bpf_fill1(arr, p, x) arr[p] = x ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:61:57: error: incomplete definition of type 'struct kallsym_iter' BPF_SEQ_PRINTF(seq, "0x%llx %c %s ", value, type, iter->name); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:197:79: note: expanded from macro '___bpf_fill3' #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:196:79: note: expanded from macro '___bpf_fill2' #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:195:42: note: expanded from macro '___bpf_fill1' #define ___bpf_fill1(arr, p, x) arr[p] = x ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:63:11: error: incomplete definition of type 'struct kallsym_iter' if (!iter->pos_arch_end || iter->pos_arch_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:63:33: error: incomplete definition of type 'struct kallsym_iter' if (!iter->pos_arch_end || iter->pos_arch_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:63:54: error: incomplete definition of type 'struct kallsym_iter' if (!iter->pos_arch_end || iter->pos_arch_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:65:16: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_mod_end || iter->pos_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:65:37: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_mod_end || iter->pos_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:65:57: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_mod_end || iter->pos_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:67:16: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_ftrace_mod_end || iter->pos_ftrace_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:67:44: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_ftrace_mod_end || iter->pos_ftrace_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:67:71: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_ftrace_mod_end || iter->pos_ftrace_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:69:16: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_bpf_end || iter->pos_bpf_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [Makefile:541: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_iter_ksym.bpf.o] Error 1 make: *** [Makefile:162: all] Error 2 ** Affects: ubuntu-kernel-tests Importance: Undecided Status: New -- You received this bug notification because you are a member of Canonical Platform QA Team, which is subscribed to ubuntu-kernel-tests. https://bugs.launchpad.net/bugs/2023769 Title: ubuntu_bpf:setup - error: incomplete definition of type 'struct kallsym_iter' Status in ubuntu-kernel-tests: New Bug description: BPF tests need an update for kernel 6.x progs/bpf_iter_ksym.c:46:37: error: incomplete definition of type 'struct kallsym_iter' BPF_SEQ_PRINTF(seq, "0x%x\n", iter->value - last_sym_value); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:195:42: note: expanded from macro '___bpf_fill1' #define ___bpf_fill1(arr, p, x) arr[p] = x ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:50:14: error: incomplete definition of type 'struct kallsym_iter' value = iter->show_value ? iter->value : 0; ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:50:33: error: incomplete definition of type 'struct kallsym_iter' value = iter->show_value ? iter->value : 0; ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:54:13: error: incomplete definition of type 'struct kallsym_iter' type = iter->type; ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:56:10: error: incomplete definition of type 'struct kallsym_iter' if (iter->module_name[0]) { ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:57:14: error: incomplete definition of type 'struct kallsym_iter' type = iter->exported ? to_upper(type) : to_lower(type); ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:59:28: error: incomplete definition of type 'struct kallsym_iter' value, type, iter->name, iter->module_name); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:198:79: note: expanded from macro '___bpf_fill4' #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:197:79: note: expanded from macro '___bpf_fill3' #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:196:51: note: expanded from macro '___bpf_fill2' #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:59:28: error: incomplete definition of type 'struct kallsym_iter' value, type, iter->name, iter->module_name); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:198:79: note: expanded from macro '___bpf_fill4' #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:197:79: note: expanded from macro '___bpf_fill3' #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:196:51: note: expanded from macro '___bpf_fill2' #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:59:40: error: incomplete definition of type 'struct kallsym_iter' value, type, iter->name, iter->module_name); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:198:79: note: expanded from macro '___bpf_fill4' #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:197:79: note: expanded from macro '___bpf_fill3' #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:196:79: note: expanded from macro '___bpf_fill2' #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:195:42: note: expanded from macro '___bpf_fill1' #define ___bpf_fill1(arr, p, x) arr[p] = x ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:61:57: error: incomplete definition of type 'struct kallsym_iter' BPF_SEQ_PRINTF(seq, "0x%llx %c %s ", value, type, iter->name); ~~~~^ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:221:24: note: expanded from macro 'BPF_SEQ_PRINTF' ___bpf_fill(___param, args); \ ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:208:55: note: expanded from macro '___bpf_fill' ___bpf_apply(___bpf_fill, ___bpf_narg(args))(arr, 0, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:197:79: note: expanded from macro '___bpf_fill3' #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:196:79: note: expanded from macro '___bpf_fill2' #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) ^~~~ /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helpers.h:195:42: note: expanded from macro '___bpf_fill1' #define ___bpf_fill1(arr, p, x) arr[p] = x ^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:63:11: error: incomplete definition of type 'struct kallsym_iter' if (!iter->pos_arch_end || iter->pos_arch_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:63:33: error: incomplete definition of type 'struct kallsym_iter' if (!iter->pos_arch_end || iter->pos_arch_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:63:54: error: incomplete definition of type 'struct kallsym_iter' if (!iter->pos_arch_end || iter->pos_arch_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:65:16: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_mod_end || iter->pos_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:65:37: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_mod_end || iter->pos_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:65:57: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_mod_end || iter->pos_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:67:16: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_ftrace_mod_end || iter->pos_ftrace_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:67:44: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_ftrace_mod_end || iter->pos_ftrace_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:67:71: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_ftrace_mod_end || iter->pos_ftrace_mod_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ progs/bpf_iter_ksym.c:69:16: error: incomplete definition of type 'struct kallsym_iter' else if (!iter->pos_bpf_end || iter->pos_bpf_end > iter->pos) ~~~~^ progs/bpf_iter.h:166:9: note: forward declaration of 'struct kallsym_iter' struct kallsym_iter *ksym; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [Makefile:541: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_iter_ksym.bpf.o] Error 1 make: *** [Makefile:162: all] Error 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2023769/+subscriptions -- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp