tangled
alpha
login
or
join now
tjh.dev
/
kernel
1
fork
atom
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
kernel
/
samples
/
bpf
/
at
nocache-cleanup
1 folder
100 files
gnu
bpf: Replace deprecated -target with --target= for Clang
2 years ago
.gitignore
samples/bpf: Cleanup .gitignore
2 years ago
Makefile
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
11 months ago
Makefile.target
samples/bpf: Clean up samples/bpf build failes
4 years ago
README.rst
samples/bpf: Add note to README about the XDP utilities moved to xdp-tools
2 years ago
asm_goto_workaround.h
work around gcc bugs with 'asm goto' with outputs
2 years ago
bpf_insn.h
samples/bpf: Relicense bpf_insn.h as GPL-2.0-only OR BSD-2-Clause
4 years ago
cookie_uid_helper_example.c
samples/bpf: Get rid of deprecated libbpf API uses
4 years ago
cpustat_kern.c
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2 years ago
cpustat_user.c
samples/bpf: Use %lu format specifier for unsigned long values
2 years ago
do_hbm_test.sh
samples/bpf: Fix spelling typos in samples/bpf
5 months ago
fds_example.c
samples: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
3 years ago
hash_func01.h
samples/bpf: add Paul Hsieh's (LGPL 2.1) hash function SuperFastHash
7 years ago
hbm.c
samples/bpf: Fix spelling typos in samples/bpf
5 months ago
hbm.h
bpf: Add more stats to HBM
6 years ago
hbm_edt_kern.c
samples/bpf: Fix double word in comments
3 years ago
hbm_kern.h
samples/bpf: Clean up samples/bpf build failes
4 years ago
hbm_out_kern.c
bpf: Add more stats to HBM
6 years ago
ibumad_kern.c
bpf: use canonical ftrace path
3 years ago
ibumad_user.c
samples/bpf: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK
4 years ago
lathist_kern.c
samples: bpf: Refactor kprobe tracing programs with libbpf
5 years ago
lathist_user.c
samples: bpf: Refactor kprobe tracing programs with libbpf
5 years ago
lwt_len_hist.bpf.c
samples/bpf: change _kern suffix to .bpf with BPF test programs
3 years ago
lwt_len_hist.sh
bpf: use canonical ftrace path
3 years ago
lwt_len_hist_user.c
samples: bpf: Fix build error
5 years ago
map_perf_test.bpf.c
samples/bpf: Use BPF_KSYSCALL macro in syscall tracing programs
3 years ago
map_perf_test_user.c
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2 years ago
net_shared.h
samples/bpf: convert to vmlinux.h with tracing programs
2 years ago
offwaketime.bpf.c
samples/bpf: make tracing programs to be more CO-RE centric
2 years ago
offwaketime_user.c
samples/bpf: unify bpf program suffix to .bpf with tracing programs
2 years ago
parse_ldabs.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
parse_simple.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
parse_varlen.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
run_cookie_uid_helper_example.sh
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
8 years ago
sampleip_kern.c
bpf: Remove unused headers
5 years ago
sampleip_user.c
samples/bpf: sampleip: Replace PAGE_OFFSET with _text address
3 years ago
sock_example.c
samples: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
3 years ago
sock_example.h
samples: bpf: include bpf/bpf.h instead of local libbpf.h
8 years ago
sockex1_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
sockex1_user.c
samples/bpf: Get rid of deprecated libbpf API uses
4 years ago
sockex2_kern.c
net: Retire DCCP socket.
11 months ago
sockex2_user.c
samples/bpf: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK
4 years ago
sockex3_kern.c
samples/bpf: Fix sockex3 error: Missing BPF prog type
3 years ago
sockex3_user.c
samples/bpf: Fix sockex3 error: Missing BPF prog type
3 years ago
spintest.bpf.c
samples/bpf: simplify spintest with kprobe.multi
2 years ago
spintest_user.c
samples/bpf: simplify spintest with kprobe.multi
2 years ago
syscall_nrs.c
bpf: syscall_nrs: Disable no previous prototype warnning
2 years ago
syscall_tp_kern.c
samples: bpf: Fix syscall_tp openat argument
2 years ago
syscall_tp_user.c
samples/bpf: syscall_tp_user: Fix array out-of-bound access
2 years ago
task_fd_query_kern.c
samples/bpf: Replace blk_account_io_done() with __blk_account_io_done()
3 years ago
task_fd_query_user.c
bpf: use canonical ftrace path
3 years ago
tc_l2_redirect.sh
samples/bpf: ensure ipv6 is enabled before running tests
3 years ago
tc_l2_redirect_kern.c
samples/bpf: Remove unused variables in tc_l2_redirect_kern.c
1 year ago
tc_l2_redirect_user.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206
6 years ago
tcbpf1_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
tcp_basertt_kern.c
samples/bpf: Fix buffer overflow in tcp_basertt
2 years ago
tcp_bpf.readme
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
6 years ago
tcp_bufs_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
tcp_clamp_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
tcp_cong_kern.c
samples/bpf: Fix spelling typos in samples/bpf
5 months ago
tcp_dumpstats_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
tcp_iw_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
tcp_rwnd_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
tcp_synrto_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
tcp_tos_reflect_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
test_cls_bpf.sh
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
8 years ago
test_lru_dist.c
samples/bpf: remove unused function with test_lru_dist
3 years ago
test_lwt_bpf.c
samples/bpf: use vmlinux.h instead of implicit headers in BPF test program
3 years ago
test_lwt_bpf.sh
bpf: Replace deprecated -target with --target= for Clang
2 years ago
test_map_in_map.bpf.c
samples/bpf: refactor syscall tracing programs using BPF_KSYSCALL macro
2 years ago
test_map_in_map_user.c
samples/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
3 years ago
trace_event_kern.c
bpf: Remove unused headers
5 years ago
trace_event_user.c
bpf: samples: Do not touch RLIMIT_MEMLOCK
5 years ago
trace_output.bpf.c
samples/bpf: Change _kern suffix to .bpf with syscall tracing program
3 years ago
trace_output_user.c
samples/bpf: Change _kern suffix to .bpf with syscall tracing program
3 years ago
tracex1.bpf.c
samples/bpf: Fix spelling typos in samples/bpf
5 months ago
tracex1_user.c
samples/bpf: unify bpf program suffix to .bpf with tracing programs
2 years ago
tracex3.bpf.c
samples/bpf: fix bio latency check with tracepoint
2 years ago
tracex3_user.c
samples/bpf: unify bpf program suffix to .bpf with tracing programs
2 years ago
tracex4.bpf.c
samples/bpf: tracex4: Fix failed to create kretprobe 'kmem_cache_alloc_node+0x0'
2 years ago
tracex4_user.c
samples/bpf: unify bpf program suffix to .bpf with tracing programs
2 years ago
tracex5.bpf.c
samples/bpf: make tracing programs to be more CO-RE centric
2 years ago
tracex5_user.c
samples/bpf: unify bpf program suffix to .bpf with tracing programs
2 years ago
tracex6.bpf.c
samples/bpf: fix broken map lookup probe
2 years ago
tracex6_user.c
samples/bpf: unify bpf program suffix to .bpf with tracing programs
2 years ago
xdp2skb_meta.sh
samples/bpf: Fix tc and ip paths in xdp2skb_meta.sh
7 years ago
xdp2skb_meta_kern.c
samples/bpf: Remove unused variable
1 year ago
xdp_adjust_tail_kern.c
bpf: Fix the xdp_adjust_tail sample prog issue
2 years ago
xdp_adjust_tail_user.c
samples/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
3 years ago
xdp_fwd_kern.c
samples/bpf: Use consistent include paths for libbpf
6 years ago
xdp_fwd_user.c
samples/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
3 years ago
xdp_router_ipv4.bpf.c
sample: bpf: xdp_router_ipv4: Allow the kernel to send arp requests
3 years ago
xdp_router_ipv4_user.c
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2 years ago
xdp_sample.bpf.c
samples: bpf: Add BPF support for devmap_xmit tracepoint
4 years ago
xdp_sample.bpf.h
samples/bpf: split common macros to net_shared.h
3 years ago
xdp_sample_shared.h
samples: bpf: Add basic infrastructure for XDP samples
4 years ago
xdp_sample_user.c
samples/bpf: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK
4 years ago
xdp_sample_user.h
samples/bpf: use preferred getters/setters instead of deprecated ones
4 years ago
xdp_tx_iptunnel_common.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206
6 years ago
xdp_tx_iptunnel_kern.c
samples/bpf: fixup some tools to be able to support xdp multibuffer
3 years ago
xdp_tx_iptunnel_user.c
samples/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()
3 years ago