summaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/gen.c
AgeCommit message (Expand)AuthorFilesLines
2022-03-30bpftool: Explicit errno handling in skeletonsDelyan Kratunov1-7/+15
2022-03-28bpftool: Fix generated code in codegen_assertsJiri Olsa1-1/+1
2022-03-21bpftool: Fix a bug in subskeleton code generationYonghong Song1-1/+0
2022-03-17bpftool: Add support for subskeletonsDelyan Kratunov1-84/+504
2022-02-23bpftool: Bpf skeletons assert type sizesDelyan Kratunov1-22/+105
2022-02-16bpftool: 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-10bpftool: Generalize light skeleton generation.Alexei Starovoitov1-19/+20
2022-02-01libbpf: Open code raw_tp_open and link_create commands.Alexei Starovoitov1-3/+3
2022-02-01libbpf: Add support for bpf iter in light skeleton.Alexei Starovoitov1-1/+4
2022-01-25bpftool: use preferred setters/getters instead of deprecated onesAndrii Nakryiko1-1/+1
2022-01-12bpftool: Stop using bpf_map__def() APIChristy Lee1-6/+6
2022-01-12bpftool: Only set obj->skeleton on complete successWei Fu1-1/+1
2021-12-10bpftool: Switch bpf_object__load_xattr() to bpf_object__load()Andrii Nakryiko1-7/+4
2021-11-14bpftool: Use libbpf_get_error() to check errorHengqi Chen1-4/+6
2021-11-11bpftool: Update btf_dump__new() and perf_buffer__new_raw() callsAndrii Nakryiko1-1/+1
2021-10-22bpftool: Switch to new btf__type_cnt APIHengqi Chen1-2/+2
2021-10-21bpftool: Improve skeleton generation for data maps without DATASEC typeAndrii Nakryiko1-6/+45
2021-10-21bpftool: 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-28bpftool: Avoid using "?: " in generated codeYucong Sun1-1/+4
2021-09-07bpftool: Provide a helper method for accessing skeleton's embedded ELF dataMatt Smith1-12/+19
2021-07-30tools: bpftool: Document and add bash completion for -L, -B optionsQuentin Monnet1-1/+2
2021-07-30tools: bpftool: Update and synchronise option list in doc and help msgQuentin Monnet1-1/+1
2021-05-25bpftool: Set errno on skeleton failures and propagate errorsAndrii Nakryiko1-9/+18
2021-05-19bpftool: Use syscall/loader program in "prog load" and "gen skeleton" command.Alexei Starovoitov1-21/+365
2021-05-11bpftool: Stop emitting static variables in BPF skeletonAndrii Nakryiko1-0/+4
2021-05-11libbpf: Add per-file linker optsAndrii Nakryiko1-1/+1
2021-05-11bpftool: Strip const/volatile/restrict modifiers from .bss and .data varsAndrii Nakryiko1-0/+2
2021-03-18bpftool: Add `gen object` command to perform BPF static linkingAndrii Nakryiko1-1/+44
2021-03-18bpftool: Add ability to specify custom skeleton object nameAndrii Nakryiko1-3/+26
2020-08-18tools/bpftool: Remove libbpf_internal.h usage in bpftoolAndrii Nakryiko1-2/+0
2020-08-13tools/bpftool: Generate data section struct with conservative alignmentAndrii Nakryiko1-0/+14
2020-08-12tools/bpftool: Make skeleton code C++17-friendly by dropping typeof()Andrii Nakryiko1-4/+4
2020-07-21tools/bpftool: Fix error handing in do_skeleton()YueHaibing1-1/+4
2020-07-13tools/bpftool: Strip away modifiers from global variablesAndrii Nakryiko1-13/+10
2020-06-12tools/bpftool: Fix skeleton codegenAndrii Nakryiko1-2/+0
2020-06-11tools, bpftool: Exit on error in function codegenTobias Klauser1-5/+6
2020-06-11tools, bpftool: Fix memory leak in codegen error casesTobias Klauser1-0/+2
2020-06-01tools, bpftool: Clean subcommand help messagesQuentin Monnet1-3/+3
2020-04-26tools/bpf/bpftool: Remove duplicate headersJagadeesh Pagadala1-1/+0
2020-01-20bpftool: Use consistent include paths for libbpfToke Høiland-Jørgensen1-5/+5
2019-12-27bpftool: Make skeleton C code compilable with C++ compilerAndrii Nakryiko1-5/+5
2019-12-18libbpf: Put Kconfig externs into .kconfig sectionAndrii Nakryiko1-4/+4
2019-12-18bpftool: Simplify format string to not use positional argsAndrii Nakryiko1-2/+2
2019-12-17bpftool, selftests/bpf: Embed object file inside skeletonAndrii Nakryiko1-89/+143
2019-12-16bpftool: Fix compilation warning on shadowed variablePaul Chaignon1-1/+1