2019-11-18 |
Andrii Nakryiko | bpf: Convert bpf_prog refcnt to atomic64_t Suggested-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-18 |
Andrii Nakryiko | bpf: Switch bpf_map ref counter to atomic64_t so bpf_map_inc... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Daniel Borkmann | Merge branch 'bpf-trampoline' Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | selftests/bpf: Add a test for attaching BPF prog to... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | selftests/bpf: Extend test_pkt_access test Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | libbpf: Add support for attaching BPF programs to other... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Support attaching tracing BPF program to other... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Compare BTF types of functions arguments with... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Annotate context types Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Fix race in btf_resolve_helper_id() Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Reserve space for BPF trampoline in BPF programs Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | selftests/bpf: Add stress test for maximum number of... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | selftests/bpf: Add combined fentry/fexit test Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | selftests/bpf: Add fexit tests for BPF trampoline Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | selftests/bpf: Add test for BPF trampoline Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Add kernel test functions for fentry testing Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | selftest/bpf: Simple test for fentry/fexit Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | libbpf: Add support to attach to fentry/fexit tracing... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | libbpf: Introduce btf__find_by_name_kind() Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Introduce BPF trampoline Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Add bpf_arch_text_poke() helper Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Alexei Starovoitov | bpf: Refactor x86 JIT into helpers Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Mao Wenan | bpf, doc: Change right arguments for JIT example code Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Andre Guedes | samples/bpf: Add missing option to xdpsock usage Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Andre Guedes | samples/bpf: Remove duplicate option from xdpsock Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Ilya Leoshkevich | s390/bpf: Make sure JIT passes do not increase code... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-15 |
Ilya Leoshkevich | bpf: Support doubleword alignment in bpf_jit_binary_alloc Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-11 |
Anders Roxell | bpf, testing: Add missing object file to TEST_FILES Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-11 |
Yonghong Song | bpf, testing: Workaround a verifier failure for test_progs Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Daniel Borkmann | Merge branch 'bpf-libbpf-fixes' Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Andrii Nakryiko | libbpf: Improve handling of corrupted ELF during map... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Andrii Nakryiko | libbpf: Make btf__resolve_size logic always check size... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Andrii Nakryiko | libbpf: Fix another potential overflow issue in bpf_prog_linfo Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Andrii Nakryiko | libbpf: Fix potential overflow issue Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Andrii Nakryiko | libbpf: Fix memory leak/double free issue Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Andrii Nakryiko | libbpf: Fix negative FD close() in xsk_setup_xdp_prog() Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Ilya Leoshkevich | s390/bpf: Remove unused SEEN_RET0, SEEN_REG_AX and... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Ilya Leoshkevich | s390/bpf: Wrap JIT macro parameter usages in parentheses Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Ilya Leoshkevich | s390/bpf: Use kvcalloc for addrs array Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-07 |
Ilya Leoshkevich | tools, bpf_asm: Warn when jumps are out of range Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-04 |
Daniel Borkmann | Merge branch 'bpf-libbpf-bitfield-size-relo' Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-04 |
Andrii Nakryiko | selftests/bpf: Add field size relocation tests Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-04 |
Andrii Nakryiko | selftest/bpf: Add relocatable bitfield reading tests Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-04 |
Andrii Nakryiko | libbpf: Add support for field size relocations Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-04 |
Andrii Nakryiko | libbpf: Add support for relocatable bitfields Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-04 |
Andrii Nakryiko | selftests/bpf: Remove too strict field offset relo... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-01 |
Daniel Borkmann | Merge branch 'bpf-xskmap-perf-improvements' Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-01 |
Björn Töpel | xsk: Restructure/inline XSKMAP lookup/redirect/flush Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-01 |
Maciej Fijalkowski | bpf: Implement map_gen_lookup() callback for XSKMAP Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-01 |
Björn Töpel | xsk: Store struct xdp_sock as a flexible array member... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-11-01 |
Jakub Kicinski | Revert "selftests: bpf: Don't try to read files without... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-31 |
Daniel Borkmann | Merge branch 'bpf-cleanup-btf-raw-tp' Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-31 |
Alexei Starovoitov | libbpf: Add support for prog_tracing Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-31 |
Alexei Starovoitov | bpf: Replace prog_raw_tp+btf_id with prog_tracing Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-31 |
Alexei Starovoitov | bpf: Fix bpf jit kallsym access Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-30 |
Shmulik Ladkani | bpf, testing: Introduce 'gso_linear_no_head_frag' skb_segmen... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-30 |
Shmulik Ladkani | bpf, testing: Refactor test_skb_segment() for testing... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-30 |
Ilya Leoshkevich | bpf: Add s390 testing documentation Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-30 |
Ilya Leoshkevich | selftests/bpf: Test narrow load from bpf_sysctl.write Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-30 |
Alexei Starovoitov | bpf: Enforce 'return 0' in BTF-enabled raw_tp programs Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-28 |
Ilya Leoshkevich | selftests/bpf: Restore $(OUTPUT)/test_stub.o rule Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-28 |
Ilya Leoshkevich | selftest/bpf: Use -m{little, big}-endian for clang Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-25 |
Andrii Nakryiko | selftests/bpf: Fix .gitignore to ignore no_alu32/ Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-25 |
Jiri Olsa | bpftool: Allow to read btf as raw data Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-22 |
Ben Dooks (Codethink) | xdp: Fix type of string pointer in __XDP_ACT_SYM_TAB Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-22 |
Andrii Nakryiko | libbpf: Make DECLARE_LIBBPF_OPTS macro strictly a variable... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-22 |
Yonghong Song | tools/bpf: Turn on llvm alu32 attribute by default Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Daniel Borkmann | Merge branch 'bpf-libbpf-cleanups' Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Andrii Nakryiko | selftest/bpf: Get rid of a bunch of explicit BPF program... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Andrii Nakryiko | selftests/bpf: Make reference_tracking test use subtests Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Andrii Nakryiko | selftests/bpf: Make a copy of subtest name Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Andrii Nakryiko | libbpf: Teach bpf_object__open to guess program types Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Andrii Nakryiko | libbpf: Add uprobe/uretprobe and tp/raw_tp section... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Andrii Nakryiko | libbpf: Add bpf_program__get_{type, expected_attach_type... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Andrii Nakryiko | tools: Sync if_link.h Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-21 |
Kefeng Wang | tools, bpf: Rename pr_warning to pr_warn to align with... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-18 |
Jiri Benc | selftests/bpf: More compatible nc options in test_tc_edt Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-18 |
John Fastabend | bpf, libbpf: Add kernel version section parsing back Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-18 |
YueHaibing | bpf: Fix build error without CONFIG_NET Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-18 |
Alexei Starovoitov | bpf: Fix bpf_attr.attach_btf_id check Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Daniel Borkmann | Merge branch 'bpf-btf-trace' Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | selftests/bpf: Add kfree_skb raw_tp test Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Check types of arguments passed into helpers Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Add support for BTF pointers to x86 JIT Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Add support for BTF pointers to interpreter Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Attach raw_tp program with BTF via type name Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Implement accurate raw_tp context access via BTF Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | libbpf: Auto-detect btf_id of BTF-based raw_tracepoints Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Add attach_btf_id attribute to program load Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Process in-kernel BTF Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Add typecast to bpf helpers to help BTF generation Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-17 |
Alexei Starovoitov | bpf: Add typecast to raw_tracepoints to help BTF generation Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-16 |
Jakub Sitnicki | scripts/bpf: Emit an #error directive known types list... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-11 |
Andrii Nakryiko | libbpf: Handle invalid typedef emitted by old GCC Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-11 |
Andrii Nakryiko | libbpf: Generate more efficient BPF_CORE_READ code Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-11 |
Anton Ivanov | xdp: Trivial, fix spelling in function description Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-11 |
Andrii Nakryiko | bpf: Fix cast to pointer from integer of different... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-11 |
Jakub Sitnicki | selftests/bpf: Check that flow dissector can be re... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-11 |
Jakub Sitnicki | flow_dissector: Allow updating the flow dissector program... Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
2019-10-11 |
Eric Dumazet | bpf: Align struct bpf_prog_stats Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
commit | commitdiff | tree |
next |