tools/testing/selftests/bpf/prog_tests/cb_refs.c

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/prog_tests/cb_refs.c

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/prog_tests/cb_refs.c
Extension
.c
Size
1591 bytes
Lines
49
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

if (!ASSERT_OK_PTR(strstr(log_buf, cb_refs_tests[i].err_msg), "expected error message")) {
			fprintf(stderr, "Expected: %s\n", cb_refs_tests[i].err_msg);
			fprintf(stderr, "Verifier: %s\n", log_buf);
		}
		cb_refs__destroy(skel);
	}
}

Annotation

Implementation Notes