Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
edce1a2
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
accounting
arch
bootconfig
bpf
build
cgroup
debugging
edid
firewire
firmware
gpio
hv
iio
include
io_uring
kvm
laptop
leds
lib
memory-model
objtool
pci
pcmcia
perf
power
rcu
scripts
spi
testing
fault-injection
ktest
kunit
nvdimm
radix-tree
scatterlist
selftests
arm64
bpf
benchs
bpf_testmod
gnu
map_tests
prog_tests
.gitignore
align.c
atomic_bounds.c
atomics.c
attach_probe.c
autoload.c
bind_perm.c
bpf_cookie.c
bpf_iter.c
bpf_iter_setsockopt.c
bpf_obj_id.c
bpf_tcp_ca.c
bpf_verif_scale.c
btf.c
btf_dedup_split.c
btf_dump.c
btf_endian.c
btf_map_in_map.c
btf_module.c
btf_skc_cls_ingress.c
btf_split.c
btf_write.c
cg_storage_multi.c
cgroup_attach_autodetach.c
cgroup_attach_multi.c
cgroup_attach_override.c
cgroup_link.c
cgroup_skb_sk_lookup.c
check_mtu.c
cls_redirect.c
connect_force_port.c
core_autosize.c
core_extern.c
core_read_macros.c
core_reloc.c
core_retro.c
cpu_mask.c
d_path.c
enable_stats.c
endian.c
fentry_fexit.c
fentry_test.c
fexit_bpf2bpf.c
fexit_sleep.c
fexit_stress.c
fexit_test.c
flow_dissector.c
flow_dissector_load_bytes.c
flow_dissector_reattach.c
for_each.c
get_func_ip_test.c
get_stack_raw_tp.c
get_stackid_cannot_attach.c
global_data.c
global_data_init.c
global_func_args.c
hash_large_key.c
hashmap.c
kfree_skb.c
kfunc_call.c
ksyms.c
ksyms_btf.c
ksyms_module.c
l4lb_all.c
link_pinning.c
linked_funcs.c
linked_maps.c
linked_vars.c
load_bytes_relative.c
lookup_and_delete.c
map_init.c
map_lock.c
map_ptr.c
metadata.c
migrate_reuseport.c
mmap.c
modify_return.c
module_attach.c
netcnt.c
ns_current_pid_tgid.c
obj_name.c
pe_preserve_elems.c
perf_branches.c
perf_buffer.c
perf_event_stackmap.c
perf_link.c
pinning.c
pkt_access.c
pkt_md_access.c
probe_read_user_str.c
probe_user.c
prog_run_xattr.c
queue_stack_map.c
raw_tp_test_run.c
raw_tp_writable_reject_nbd_invalid.c
raw_tp_writable_test_run.c
rdonly_maps.c
recursion.c
reference_tracking.c
resolve_btfids.c
ringbuf.c
ringbuf_multi.c
section_names.c
select_reuseport.c
send_signal.c
send_signal_sched_switch.c
signal_pending.c
sk_assign.c
sk_lookup.c
sk_storage_tracing.c
skb_ctx.c
skb_helpers.c
skeleton.c
snprintf.c
snprintf_btf.c
sock_fields.c
socket_cookie.c
sockmap_basic.c
sockmap_ktls.c
sockmap_listen.c
sockopt.c
sockopt_inherit.c
sockopt_multi.c
sockopt_sk.c
spinlock.c
stack_var_off.c
stacktrace_build_id.c
stacktrace_build_id_nmi.c
stacktrace_map.c
stacktrace_map_raw_tp.c
static_linked.c
subprogs.c
syscall.c
tailcalls.c
task_fd_query_rawtp.c
task_fd_query_tp.c
task_local_storage.c
tc_bpf.c
tc_redirect.c
tcp_estats.c
tcp_hdr_options.c
tcp_rtt.c
tcpbpf_user.c
test_bpffs.c
test_bprm_opts.c
test_global_funcs.c
test_ima.c
test_local_storage.c
test_lsm.c
test_overhead.c
test_profiler.c
test_skb_pkt_end.c
timer.c
timer_mim.c
tp_attach_query.c
trace_ext.c
trace_printk.c
trampoline_count.c
udp_limit.c
varlen.c
vmlinux.c
xdp.c
xdp_adjust_tail.c
xdp_attach.c
xdp_bonding.c
xdp_bpf2bpf.c
xdp_context_test_run.c
xdp_cpumap_attach.c
xdp_devmap_attach.c
xdp_info.c
xdp_link.c
xdp_noinline.c
xdp_perf.c
progs
verifier
.gitignore
Makefile
Makefile.docs
README.rst
bench.c
bench.h
bpf_legacy.h
bpf_rand.h
bpf_rlimit.h
bpf_sockopt_helpers.h
bpf_tcp_helpers.h
bpf_util.h
btf_helpers.c
btf_helpers.h
cgroup_helpers.c
cgroup_helpers.h
config
flow_dissector_load.c
flow_dissector_load.h
get_cgroup_id_user.c
ima_setup.sh
netcnt_common.h
network_helpers.c
network_helpers.h
settings
test_bpftool.py
test_bpftool.sh
test_bpftool_build.sh
test_bpftool_metadata.sh
test_bpftool_synctypes.py
test_btf.h
test_cgroup_storage.c
test_cpp.cpp
test_dev_cgroup.c
test_doc_build.sh
test_flow_dissector.c
test_flow_dissector.sh
test_ftrace.sh
test_iptunnel_common.h
test_kmod.sh
test_lirc_mode2.sh
test_lirc_mode2_user.c
test_lpm_map.c
test_lru_map.c
test_lwt_ip_encap.sh
test_lwt_seg6local.sh
test_maps.c
test_maps.h
test_offload.py
test_progs.c
test_progs.h
test_select_reuseport_common.h
test_skb_cgroup_id.sh
test_skb_cgroup_id_user.c
test_sock.c
test_sock_addr.c
test_sock_addr.sh
test_sockmap.c
test_stub.c
test_sysctl.c
test_tag.c
test_tc_edt.sh
test_tc_tunnel.sh
test_tcp_check_syncookie.sh
test_tcp_check_syncookie_user.c
test_tcp_hdr_options.h
test_tcpbpf.h
test_tcpnotify.h
test_tcpnotify_user.c
test_tunnel.sh
test_verifier.c
test_verifier_log.c
test_xdp_meta.sh
test_xdp_redirect.sh
test_xdp_redirect_multi.sh
test_xdp_veth.sh
test_xdp_vlan.sh
test_xdp_vlan_mode_generic.sh
test_xdp_vlan_mode_native.sh
test_xdping.sh
test_xsk.sh
testing_helpers.c
testing_helpers.h
trace_helpers.c
trace_helpers.h
urandom_read.c
vmtest.sh
with_addr.sh
with_tunnels.sh
xdp_redirect_multi.c
xdping.c
xdping.h
xdpxceiver.c
xdpxceiver.h
xsk_prereqs.sh
breakpoints
capabilities
cgroup
clone3
core
cpu-hotplug
cpufreq
dma
dmabuf-heaps
drivers
efivarfs
exec
filesystems
firmware
fpu
ftrace
futex
gpio
ia64
intel_pstate
ipc
ir
kcmp
kexec
kmod
kselftest
kvm
landlock
lib
livepatch
lkdtm
locking
media_tests
membarrier
memfd
memory-hotplug
mincore
mount
mount_setattr
mqueue
nci
net
netfilter
nsfs
ntb
openat2
perf_events
pid_namespace
pidfd
powerpc
prctl
proc
pstore
ptp
ptrace
rcutorture
resctrl
rlimits
rseq
rtc
safesetid
sched
seccomp
sgx
sigaltstack
size
sparc64
splice
static_keys
sync
syscall_user_dispatch
sysctl
tc-testing
timens
timers
tmpfs
tpm2
uevent
user
vDSO
vm
watchdog
wireguard
x86
zram
.gitignore
Makefile
gen_kselftest_tar.sh
kselftest.h
kselftest_deps.sh
kselftest_harness.h
kselftest_install.sh
kselftest_module.h
lib.mk
run_kselftest.sh
vsock
thermal
time
tracing
usb
virtio
vm
wmi
Makefile
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Breadcrumbs
linux
/
tools
/
testing
/
selftests
/
bpf
/
prog_tests
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
Hengqi Chen
and
Andrii Nakryiko
selftests/bpf: Test btf__load_vmlinux_btf/btf__load_module_btf APIs
Aug 17, 2021
edce1a2
·
Aug 17, 2021
History
History
Breadcrumbs
linux
/
tools
/
testing
/
selftests
/
bpf
/
prog_tests
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
.gitignore
.gitignore
align.c
align.c
atomic_bounds.c
atomic_bounds.c
atomics.c
atomics.c
attach_probe.c
attach_probe.c
autoload.c
autoload.c
bind_perm.c
bind_perm.c
bpf_cookie.c
bpf_cookie.c
bpf_iter.c
bpf_iter.c
bpf_iter_setsockopt.c
bpf_iter_setsockopt.c
bpf_obj_id.c
bpf_obj_id.c
bpf_tcp_ca.c
bpf_tcp_ca.c
bpf_verif_scale.c
bpf_verif_scale.c
btf.c
btf.c
btf_dedup_split.c
btf_dedup_split.c
btf_dump.c
btf_dump.c
btf_endian.c
btf_endian.c
btf_map_in_map.c
btf_map_in_map.c
btf_module.c
btf_module.c
btf_skc_cls_ingress.c
btf_skc_cls_ingress.c
btf_split.c
btf_split.c
btf_write.c
btf_write.c
cg_storage_multi.c
cg_storage_multi.c
cgroup_attach_autodetach.c
cgroup_attach_autodetach.c
cgroup_attach_multi.c
cgroup_attach_multi.c
cgroup_attach_override.c
cgroup_attach_override.c
cgroup_link.c
cgroup_link.c
cgroup_skb_sk_lookup.c
cgroup_skb_sk_lookup.c
check_mtu.c
check_mtu.c
cls_redirect.c
cls_redirect.c
connect_force_port.c
connect_force_port.c
core_autosize.c
core_autosize.c
core_extern.c
core_extern.c
core_read_macros.c
core_read_macros.c
core_reloc.c
core_reloc.c
core_retro.c
core_retro.c
cpu_mask.c
cpu_mask.c
d_path.c
d_path.c
enable_stats.c
enable_stats.c
endian.c
endian.c
fentry_fexit.c
fentry_fexit.c
fentry_test.c
fentry_test.c
fexit_bpf2bpf.c
fexit_bpf2bpf.c
fexit_sleep.c
fexit_sleep.c
fexit_stress.c
fexit_stress.c
fexit_test.c
fexit_test.c
flow_dissector.c
flow_dissector.c
flow_dissector_load_bytes.c
flow_dissector_load_bytes.c
flow_dissector_reattach.c
flow_dissector_reattach.c
for_each.c
for_each.c
get_func_ip_test.c
get_func_ip_test.c
get_stack_raw_tp.c
get_stack_raw_tp.c
get_stackid_cannot_attach.c
get_stackid_cannot_attach.c
global_data.c
global_data.c
global_data_init.c
global_data_init.c
global_func_args.c
global_func_args.c
hash_large_key.c
hash_large_key.c
hashmap.c
hashmap.c
kfree_skb.c
kfree_skb.c
kfunc_call.c
kfunc_call.c
ksyms.c
ksyms.c
ksyms_btf.c
ksyms_btf.c
ksyms_module.c
ksyms_module.c
l4lb_all.c
l4lb_all.c
link_pinning.c
link_pinning.c
linked_funcs.c
linked_funcs.c
linked_maps.c
linked_maps.c
linked_vars.c
linked_vars.c
load_bytes_relative.c
load_bytes_relative.c
lookup_and_delete.c
lookup_and_delete.c
map_init.c
map_init.c
map_lock.c
map_lock.c
map_ptr.c
map_ptr.c
metadata.c
metadata.c
migrate_reuseport.c
migrate_reuseport.c
mmap.c
mmap.c
modify_return.c
modify_return.c
module_attach.c
module_attach.c
netcnt.c
netcnt.c
ns_current_pid_tgid.c
ns_current_pid_tgid.c
obj_name.c
obj_name.c
pe_preserve_elems.c
pe_preserve_elems.c
perf_branches.c
perf_branches.c
perf_buffer.c
perf_buffer.c
perf_event_stackmap.c
perf_event_stackmap.c
perf_link.c
perf_link.c
pinning.c
pinning.c
pkt_access.c
pkt_access.c
pkt_md_access.c
pkt_md_access.c
probe_read_user_str.c
probe_read_user_str.c
probe_user.c
probe_user.c
prog_run_xattr.c
prog_run_xattr.c
queue_stack_map.c
queue_stack_map.c
raw_tp_test_run.c
raw_tp_test_run.c
raw_tp_writable_reject_nbd_invalid.c
raw_tp_writable_reject_nbd_invalid.c
raw_tp_writable_test_run.c
raw_tp_writable_test_run.c
rdonly_maps.c
rdonly_maps.c
recursion.c
recursion.c
reference_tracking.c
reference_tracking.c
resolve_btfids.c
resolve_btfids.c
ringbuf.c
ringbuf.c
ringbuf_multi.c
ringbuf_multi.c
section_names.c
section_names.c
select_reuseport.c
select_reuseport.c
send_signal.c
send_signal.c
send_signal_sched_switch.c
send_signal_sched_switch.c
signal_pending.c
signal_pending.c
sk_assign.c
sk_assign.c
sk_lookup.c
sk_lookup.c
sk_storage_tracing.c
sk_storage_tracing.c
skb_ctx.c
skb_ctx.c
skb_helpers.c
skb_helpers.c
skeleton.c
skeleton.c
snprintf.c
snprintf.c
snprintf_btf.c
snprintf_btf.c
sock_fields.c
sock_fields.c
socket_cookie.c
socket_cookie.c
sockmap_basic.c
sockmap_basic.c
sockmap_ktls.c
sockmap_ktls.c
sockmap_listen.c
sockmap_listen.c
sockopt.c
sockopt.c
sockopt_inherit.c
sockopt_inherit.c
sockopt_multi.c
sockopt_multi.c
sockopt_sk.c
sockopt_sk.c
spinlock.c
spinlock.c
stack_var_off.c
stack_var_off.c
stacktrace_build_id.c
stacktrace_build_id.c
stacktrace_build_id_nmi.c
stacktrace_build_id_nmi.c
stacktrace_map.c
stacktrace_map.c
stacktrace_map_raw_tp.c
stacktrace_map_raw_tp.c
static_linked.c
static_linked.c
subprogs.c
subprogs.c
syscall.c
syscall.c
tailcalls.c
tailcalls.c
task_fd_query_rawtp.c
task_fd_query_rawtp.c
task_fd_query_tp.c
task_fd_query_tp.c
task_local_storage.c
task_local_storage.c
tc_bpf.c
tc_bpf.c
tc_redirect.c
tc_redirect.c
tcp_estats.c
tcp_estats.c
tcp_hdr_options.c
tcp_hdr_options.c
tcp_rtt.c
tcp_rtt.c
tcpbpf_user.c
tcpbpf_user.c
test_bpffs.c
test_bpffs.c
test_bprm_opts.c
test_bprm_opts.c
test_global_funcs.c
test_global_funcs.c
test_ima.c
test_ima.c
test_local_storage.c
test_local_storage.c
test_lsm.c
test_lsm.c
test_overhead.c
test_overhead.c
test_profiler.c
test_profiler.c
test_skb_pkt_end.c
test_skb_pkt_end.c
timer.c
timer.c
timer_mim.c
timer_mim.c
tp_attach_query.c
tp_attach_query.c
trace_ext.c
trace_ext.c
trace_printk.c
trace_printk.c
trampoline_count.c
trampoline_count.c
udp_limit.c
udp_limit.c
varlen.c
varlen.c
vmlinux.c
vmlinux.c
xdp.c
xdp.c
xdp_adjust_tail.c
xdp_adjust_tail.c
xdp_attach.c
xdp_attach.c
xdp_bonding.c
xdp_bonding.c
xdp_bpf2bpf.c
xdp_bpf2bpf.c
xdp_context_test_run.c
xdp_context_test_run.c
xdp_cpumap_attach.c
xdp_cpumap_attach.c
xdp_devmap_attach.c
xdp_devmap_attach.c
xdp_info.c
xdp_info.c
xdp_link.c
xdp_link.c
xdp_noinline.c
xdp_noinline.c
xdp_perf.c
xdp_perf.c
View all files
You can’t perform that action at this time.