vlog
int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog,
static inline int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog,
int bpf_lsm_verify_prog(struct bpf_verifier_log *vlog,
bpf_log(vlog,
bpf_log(vlog, "attach_btf_id %u points to disabled hook %s\n",
bpf_log(vlog, "attach_btf_id %u points to wrong type name %s\n",
vlog("Expected {");
vlog("%d ", correct_payload[i]);
vlog("}, Total %d packets\nReceived {", correct_num_pkts);
vlog("%d ", data_len);
vlog("[!=%d]", correct_payload[num_pkt]);
vlog("}, Total %d packets.\n", num_pkt);
vlog("Invalid flow_id %d from sport %d\n",
vlog("More packets than expected (%d)\n",
vlog("Pkt %d: flow %d, sport %d, len %d (expected %d)\n",
vlog("Flow order mismatch (non-coalesced) at position %d: expected flow %d, got flow %d\n",
vlog("Flow order mismatch at position %d: expected flow %d, got flow %d, coalesced: %d\n",
vlog("All %d flows coalesced correctly\n", num_flows);