tools/testing/selftests/bpf/progs/btf_ptr.h

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/progs/btf_ptr.h

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/progs/btf_ptr.h
Extension
.h
Size
688 bytes
Lines
28
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

struct btf_ptr {
	void *ptr;
	__u32 type_id;
	__u32 flags;
};

enum {
	BTF_F_COMPACT	=	(1ULL << 0),
	BTF_F_NONAME	=	(1ULL << 1),
	BTF_F_PTR_RAW	=	(1ULL << 2),
	BTF_F_ZERO	=	(1ULL << 3),
};

Annotation

Implementation Notes