Hi Stephen,
I had added some logs in the BPF verifier of Kernel code, to print the number of instructions processed and error-code returned as follows:
============================
logs # dmesg |tail -n 20
[ 76.318101] #### do_check: instructions Processed 999989 insn
[ 76.318102] #### do_check: instructions Processed 999990 insn
[ 76.318103] #### do_check: instructions Processed 999991 insn
[ 76.318104] #### do_check: instructions Processed 999992 insn
[ 76.318105] #### do_check: instructions Processed 999993 insn
[ 76.318106] #### do_check: instructions Processed 999994 insn
[ 76.318107] #### do_check: instructions Processed 999995 insn
[ 76.318108] #### do_check: instructions Processed 999996 insn
[ 76.318109] #### do_check: instructions Processed 999997 insn
[ 76.318110] #### do_check: instructions Processed 999998 insn
[ 76.318111] #### do_check: instructions Processed 999999 insn
[ 76.318112] #### do_check: instructions Processed 1000000 insn
[ 76.318113] BPF program is too large. Processed 1000001 insn
[ 76.318209] ########## bpf_check: do_check_main done..: ret: -7
[ 76.318210] ########## bpf_check: bpf_prog_offload_finalize done..: ret: -7
[ 76.318212] ########## bpf_check: check_max_stack_depth done..: ret: -7
[ 76.318212] ########## bpf_check: fixup_call_args done..: ret: -7
[ 76.318224] ########## bpf_check: end..: ret: -7
[ 76.318224] ########## BPF bpf_check return err: -7..:
=========================
Only these logs which I add in the Kernel-code were printed and do not see any other Kernel-logs.
Thanks,
Madhuker.