summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/gen.c
AgeCommit message (Expand)AuthorFilesLines
2024-07-10bpftool: improve skeleton backwards compat with old buggy libbpfsAndrii Nakryiko1-14/+32
2024-06-21bpftool: Allow compile-time checks of BPF map auto-attach support in skeletonAndrii Nakryiko1-0/+2
2024-06-06libbpf: Auto-attach struct_ops BPF maps in BPF skeletonMykyta Yatsenko1-4/+32
2024-06-05bpftool: Use BTF field iterator in btfgenAndrii Nakryiko1-10/+6
2024-04-02bpftool: Use __typeof__() instead of typeof() in BPF skeletonAndrii Nakryiko1-2/+2
2024-03-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-03-16libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVMAlexei Starovoitov1-1/+1
2024-03-14bpftool: Cast pointers for shadow types explicitly.Kui-Feng Lee1-1/+2
2024-03-12libbpf: Recognize __arena global variables.Andrii Nakryiko1-0/+13
2024-03-08bpftool: rename is_internal_mmapable_map into is_mmapable_mapAndrii Nakryiko1-9/+9
2024-03-01bpftool: Generated shadow variables for struct_ops maps.Kui-Feng Lee1-1/+236
2024-01-29bpftool: Be more portable by using POSIX's basename()Arnaldo Carvalho de Melo1-3/+6
2023-10-09bpftool: Align bpf_load_and_run_opts insns and dataIan Rogers1-20/+23
2023-10-09bpftool: Align output skeleton ELF codeIan Rogers1-6/+9
2023-09-09bpftool: Fix -Wcast-qual warningDenys Zagorui1-1/+1
2022-11-21bpftool: clean-up usage of libbpf_get_error()Sahid Orentino Ferdjaoui1-6/+4
2022-11-10libbpf: Hashmap interface update to allow both long and void* keys/valuesEduard Zingerman1-12/+7
2022-10-01bpftool: Fix error message of strerrorTianyi Liu1-2/+2
2022-07-29bpftool: Don't try to return value from void function in skeletonJörn-Thorben Hinz1-1/+1
2022-07-08bpftool: Add support for KIND_RESTRICT to gen min_core_btf commandDaniel Müller1-0/+1
2022-07-06bpftool: Honor BPF_CORE_TYPE_MATCHES relocationDaniel Müller1-0/+108
2022-06-07bpftool: Add btf enum64 supportYonghong Song1-0/+1
2022-06-03bpftool: Check for NULL ptr of btf in codegen_assertsMichael Mullin1-0/+3
2022-05-10bpftool: bpf_link_get_from_fd support for LSM programs in lskelKP Singh1-0/+1
2022-05-10bpftool: Declare generator nameJason Wang1-2/+2
2022-03-30bpftool: Explicit errno handling in skeletonsDelyan Kratunov1-7/+15
2022-03-29bpftool: Fix generated code in codegen_assertsJiri Olsa1-1/+1
2022-03-22bpftool: Fix a bug in subskeleton code generationYonghong Song1-1/+0
2022-03-18bpftool: Add support for subskeletonsDelyan Kratunov1-84/+504
2022-02-24bpftool: Bpf skeletons assert type sizesDelyan Kratunov1-22/+105
2022-02-17bpftool: Fix C++ additions to skeletonAndrii Nakryiko1-7/+7
2022-02-16bpftool: Implement btfgen_get_btf()Mauricio Vásquez1-1/+99
2022-02-16bpftool: Implement "gen min_core_btf" logicMauricio Vásquez1-2/+453
2022-02-16bpftool: Add gen min_core_btf commandMauricio Vásquez1-3/+39
2022-02-15bpftool: Add C++-specific open/load/etc skeleton wrappersAndrii Nakryiko1-2/+22
2022-02-11bpftool: Generalize light skeleton generation.Alexei Starovoitov1-19/+20
2022-02-02libbpf: Open code raw_tp_open and link_create commands.Alexei Starovoitov1-3/+3
2022-02-02libbpf: Add support for bpf iter in light skeleton.Alexei Starovoitov1-1/+4
2022-01-26bpftool: use preferred setters/getters instead of deprecated onesAndrii Nakryiko1-1/+1
2022-01-13bpftool: Stop using bpf_map__def() APIChristy Lee1-6/+6
2022-01-13bpftool: Only set obj->skeleton on complete successWei Fu1-1/+1
2021-12-11bpftool: Switch bpf_object__load_xattr() to bpf_object__load()Andrii Nakryiko1-7/+4
2021-11-15bpftool: Use libbpf_get_error() to check errorHengqi Chen1-4/+6
2021-11-12bpftool: Update btf_dump__new() and perf_buffer__new_raw() callsAndrii Nakryiko1-1/+1
2021-10-23bpftool: Switch to new btf__type_cnt APIHengqi Chen1-2/+2
2021-10-22bpftool: Improve skeleton generation for data maps without DATASEC typeAndrii Nakryiko1-6/+45
2021-10-22bpftool: Support multiple .rodata/.data internal maps in skeletonAndrii Nakryiko1-47/+60
2021-10-08bpftool: Remove unused includes to <bpf/bpf_gen_internal.h>Quentin Monnet1-1/+0
2021-09-29bpftool: Avoid using "?: " in generated codeYucong Sun1-1/+4
2021-09-08bpftool: Provide a helper method for accessing skeleton's embedded ELF dataMatt Smith1-12/+19