aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf
AgeCommit message (Expand)AuthorFilesLines
2024-03-15libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVMAlexei Starovoitov1-1/+1
2024-03-11libbpf: Recognize __arena global variables.Andrii Nakryiko1-0/+13
2024-03-11bpftool: Recognize arena map typeAlexei Starovoitov2-2/+2
2024-03-07bpftool: rename is_internal_mmapable_map into is_mmapable_mapAndrii Nakryiko1-9/+9
2024-02-29bpftool: Add an example for struct_ops map and shadow type.Kui-Feng Lee1-6/+52
2024-02-29bpftool: Generated shadow variables for struct_ops maps.Kui-Feng Lee1-1/+236
2024-02-07tools/resolve_btfids: Fix cross-compilation to non-host endiannessViktor Malik1-0/+35
2024-02-07tools/resolve_btfids: Refactor set sorting with types from btf_ids.hViktor Malik1-14/+21
2024-01-29bpftool: Be more portable by using POSIX's basename()Arnaldo Carvalho de Melo1-3/+6
2024-01-23bpftool: Display cookie for kprobe multi linkJiri Olsa1-15/+63
2024-01-23bpftool: Display cookie for perf event link probesJiri Olsa1-0/+14
2024-01-23bpftool: Fix wrong free call in do_show_linkJiri Olsa1-1/+1
2024-01-23bpftool: Silence build warning about calloc()Tiezhu Yang1-1/+1
2024-01-04bpfilter: remove bpfilterQuentin Deslandes1-4/+0
2023-11-28bpftool: Add support to display uprobe_multi linksJiri Olsa1-2/+103
2023-11-27bpftool: mark orphaned programs during prog showStanislav Fomichev1-5/+9
2023-11-09bpftool: Fix prog object type in manpageArtem Savkov1-1/+1
2023-10-24bpftool: Extend net dump with netkit progsDaniel Borkmann2-5/+10
2023-10-24bpftool: Implement link show support for netkitDaniel Borkmann1-0/+9
2023-10-19bpftool: Wrap struct_ops dump in an arrayManu Bretelle1-0/+6
2023-10-19bpftool: Fix printing of pointer valueManu Bretelle1-1/+1
2023-10-11bpftool: Add support for cgroup unix socket address hooksDaan De Meyer5-23/+38
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-25bpftool: Display missed count for kprobe perf linkJiri Olsa1-0/+3
2023-09-25bpftool: Display missed count for kprobe_multi linkJiri Olsa1-0/+3
2023-09-08bpftool: Fix -Wcast-qual warningDenys Zagorui1-1/+1
2023-08-30bpftool: Fix build warnings with -Wtype-limitsYafang Shao1-1/+1
2023-08-16bpftool: Implement link show support for xdpDaniel Borkmann1-0/+7
2023-08-16bpftool: Implement link show support for tcxDaniel Borkmann1-0/+37
2023-08-11bpftool: fix perf help messageDaniel T. Lee1-1/+1
2023-07-19bpftool: Extend net dump with tcx progsDaniel Borkmann3-16/+116
2023-07-12bpftool: Use "fallthrough;" keyword instead of commentsQuentin Monnet2-2/+2
2023-07-11bpftool: Show perf link infoYafang Shao1-1/+246
2023-07-11bpftool: Add perf event namesYafang Shao1-0/+67
2023-07-11bpftool: Show kprobe_multi link infoYafang Shao1-3/+115
2023-07-11bpftool: Dump the kernel symbol's module nameYafang Shao2-1/+7
2023-07-10bpftool: Use a local bpf_perf_event_value to fix accessing its fieldsAlexander Lobakin1-10/+17
2023-07-10bpftool: Use a local copy of BPF_LINK_TYPE_PERF_EVENT in pid_iter.bpf.cQuentin Monnet1-2/+9
2023-07-10bpftool: Define a local bpf_perf_link to fix accessing its fieldsAlexander Lobakin1-2/+7
2023-07-10bpftool: use a local copy of perf_event to fix accessing :: Bpf_cookieAlexander Lobakin1-1/+5
2023-06-29bpf: Replace deprecated -target with --target= for ClangFangrui Song3-4/+4
2023-06-05tools/resolve_btfids: Fix setting HOSTCFLAGSViktor Malik1-2/+2
2023-05-23bpftool: Specify XDP Hints ifname when loading programLarysa Zaremba5-20/+64
2023-05-19bpftool: Show target_{obj,btf}_id in tracing link infoYafang Shao1-0/+6
2023-05-17bpftool: Support bpffs mountpoint as pin path for prog loadallPengcheng Yang5-7/+10
2023-05-16Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski3-16/+30
2023-05-15bpftool: JIT limited misreported as negative value on aarch64Alan Maguire1-12/+12
2023-04-27Merge tag 'mm-nonmm-stable-2023-04-27-16-01' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2023-04-27bpftool: Dump map id instead of value for map_of_maps typesXueming Feng1-2/+10
2023-04-27bpftool: Show map IDs along with struct_ops links.Kui-Feng Lee1-2/+8
2023-04-21tools: bpftool: print netfilter link infoFlorian Westphal3-0/+192
2023-04-21bpftool: Update doc to explain struct_ops register subcommand.Kui-Feng Lee1-4/+8
2023-04-21bpftool: Register struct_ops with a link.Kui-Feng Lee4-25/+75
2023-04-20bpftool: Replace "__fallthrough" by a comment to address merge conflictQuentin Monnet1-1/+1
2023-04-08ELF: fix all "Elf" typosAlexey Dobriyan1-1/+1
2023-04-07bpftool: Set program type only if it differs from the desired oneWei Yongjun1-1/+2
2023-04-05bpftool: Clean up _bpftool_once_attr() calls in bash completionQuentin Monnet1-13/+3
2023-04-05bpftool: Support printing opcodes and source file references in CFGQuentin Monnet7-15/+83
2023-04-05bpftool: Support "opcodes", "linum", "visual" simultaneouslyQuentin Monnet3-39/+47
2023-04-05bpftool: Return an error on prog dumps if both CFG and JSON are requiredQuentin Monnet2-6/+11
2023-04-05bpftool: Support inline annotations when dumping the CFG of a programQuentin Monnet6-26/+88
2023-04-05bpftool: Fix bug for long instructions in program CFG dumpsQuentin Monnet1-0/+7
2023-04-05bpftool: Fix documentation about line info display for prog dumpsQuentin Monnet1-6/+4
2023-03-29tools: bpftool: json: Fix backslash escape typo in jsonw_putsManu Bretelle2-1/+2
2023-03-06tools/resolve_btfids: Add /libsubcmd to .gitignoreRong Tao1-0/+1
2023-02-27tools: bpftool: Remove invalid \' json escapeLuis Gerhorst1-3/+0
2023-02-16bpftool: Use bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich9-36/+41
2023-02-10tools: runqslower: Add EXTRA_CFLAGS and EXTRA_LDFLAGS supportIlya Leoshkevich1-0/+2
2023-02-09tools/resolve_btfids: Pass HOSTCFLAGS as EXTRA_CFLAGS to prepare targetsJiri Olsa1-1/+1
2023-02-07tools/resolve_btfids: Tidy HOST_OVERRIDESIan Rogers1-2/+2
2023-02-07tools/resolve_btfids: Compile resolve_btfids as host programJiri Olsa2-4/+9
2023-02-02bpftool: profile online CPUs instead of possibleTonghao Zhang1-8/+30
2023-01-25tools/resolve_btfids: Alter how HOSTCC is forcedIan Rogers1-10/+7
2023-01-25tools/resolve_btfids: Install subcmd headersIan Rogers2-6/+15
2023-01-13bpftool: Always disable stack protection for BPF objectsHolger Hoffstätte1-1/+2
2023-01-10bpftool: fix output for skipping kernel config checkChethan Suresh1-4/+4
2023-01-10bpftool: Add missing quotes to libbpf bootstrap submake varsJames Hilliard1-1/+1
2023-01-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+4
2022-12-22bpftool: Fix linkage with statically built libllvmAnton Protopopov1-0/+4
2022-12-20bpf: makefiles: Do not generate empty vmlinux.hChangbin Du1-0/+3
2022-12-15tools/resolve_btfids: Use pkg-config to locate libelfShen Jiamin1-2/+6
2022-12-06bpftool: Fix memory leak in do_build_table_cbMiaoqian Lin1-0/+1
2022-11-20bpftool: remove function free_btf_vmlinux()Sahid Orentino Ferdjaoui1-6/+1
2022-11-20bpftool: clean-up usage of libbpf_get_error()Sahid Orentino Ferdjaoui8-45/+39
2022-11-20bpftool: fix error message when function can't register struct_opsSahid Orentino Ferdjaoui1-3/+2
2022-11-20bpftool: replace return value PTR_ERR(NULL) with 0Sahid Orentino Ferdjaoui1-4/+2
2022-11-20bpftool: remove support of --legacy option for bpftoolSahid Orentino Ferdjaoui6-33/+3
2022-11-15bpftool: Check argc first before "file" in do_batch()Tiezhu Yang1-3/+3
2022-11-11Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski8-71/+43
2022-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2022-11-09libbpf: Hashmap interface update to allow both long and void* keys/valuesEduard Zingerman8-71/+43
2022-11-02bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILEPu Lehui1-0/+3
2022-10-26bpftool: Fix spelling mistake "disasembler" -> "disassembler"Colin Ian King1-1/+1
2022-10-25bpftool: Support new cgroup local storageYonghong Song2-2/+2
2022-10-25bpftool: Add llvm feature to "bpftool version"Quentin Monnet2-4/+11
2022-10-25bpftool: Support setting alternative arch for JIT disasm with LLVMQuentin Monnet4-18/+16
2022-10-25bpftool: Add LLVM as default library for disassembling JIT-ed programsQuentin Monnet3-23/+141
2022-10-25bpftool: Refactor disassembler for JIT-ed programsQuentin Monnet1-45/+88
2022-10-25bpftool: Group libbfd defs in Makefile, only pass them if we use libbfdQuentin Monnet1-12/+15
2022-10-25bpftool: Split FEATURE_TESTS/FEATURE_DISPLAY definitions in MakefileQuentin Monnet1-5/+14
2022-10-25bpftool: Remove asserts from JIT disassemblerQuentin Monnet4-35/+57
2022-10-25bpftool: Define _GNU_SOURCE only onceQuentin Monnet7-0/+14
2022-10-21bpftool: Add "bootstrap" feature to version outputQuentin Monnet1-32/+49
2022-10-21bpftool: Set binary name to "bpftool" in help and version outputQuentin Monnet1-1/+1
2022-10-21bpftool: Update the bash completion(add autoattach to prog load)Wang Yufen1-0/+1
2022-10-21bpftool: Update doc (add autoattach to prog load)Wang Yufen1-2/+13
2022-10-21bpftool: Add autoattach for bpf prog load|loadallWang Yufen1-2/+74
2022-10-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+49
2022-09-30bpftool: Fix error message of strerrorTianyi Liu3-12/+10
2022-09-30bpftool: Remove unused struct event_ring_infoYuan Can1-7/+0
2022-09-30bpftool: Remove unused struct btf_attach_pointYuan Can1-5/+0
2022-09-28bpftool: Show parameters of BPF task iterators.Kui-Feng Lee1-0/+19
2022-09-21bpf: Define new BPF_MAP_TYPE_USER_RINGBUF map typeDavid Vernet2-2/+2
2022-09-21bpftool: Fix wrong cgroup attach flags being assigned to effective progsPu Lehui1-5/+49
2022-09-06Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextPaolo Abeni2-1/+36
2022-08-30bpftool: Add support for querying cgroup_iter linkHao Luo1-0/+35
2022-08-25bpftool: Fix a wrong type cast in btf_dumper_intLam Thai1-1/+1
2022-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+4
2022-08-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski3-4/+23
2022-08-15bpftool: Clear errno after libcap's checksQuentin Monnet1-0/+10
2022-08-15bpftool: Fix a typo in a commentQuentin Monnet1-1/+1
2022-08-10bpftool: Complete libbfd feature detectionRoberto Sassu1-2/+4
2022-08-06Merge tag 'perf-tools-for-v6.0-2022-08-04' of git://git.kernel.org/pub/scm/li...Linus Torvalds4-13/+49
2022-08-04bpftool: Remove BPF_OBJ_NAME_LEN restriction when looking up bpf program by nameManu Bretelle1-3/+12
2022-08-01tools bpftool: Don't display disassembler-four-args feature testAndres Freund1-2/+1
2022-08-01tools bpftool: Fix compilation error with new binutilsAndres Freund2-9/+38
2022-08-01tools bpf_jit_disasm: Don't display disassembler-four-args feature testAndres Freund1-1/+1
2022-08-01tools bpf_jit_disasm: Fix compilation error with new binutilsAndres Freund2-2/+8
2022-07-29bpftool: Don't try to return value from void function in skeletonJörn-Thorben Hinz1-1/+1
2022-07-29bpftool: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE macroRongguang Wei1-1/+1
2022-07-21tools/resolve_btfids: Add support for 8-byte BTF setsKumar Kartikeya Dwivedi1-6/+34
2022-07-15tools: runqslower: Build and use lightweight bootstrap version of bpftoolPu Lehui1-4/+3
2022-07-08bpftool: Add support for KIND_RESTRICT to gen min_core_btf commandDaniel Müller1-0/+1
2022-07-05bpftool: Remove zlib feature test from MakefileQuentin Monnet1-9/+2
2022-07-05bpftool: Honor BPF_CORE_TYPE_MATCHES relocationDaniel Müller1-0/+108
2022-07-05bpftool: Rename "bpftool feature list" into "... feature list_builtins"Quentin Monnet3-11/+11
2022-06-30bpftool: Show also the name of type BPF_OBJ_LINKYafang Shao1-0/+1
2022-06-30bpftool: Use feature list in bash completionQuentin Monnet1-17/+4
2022-06-30bpftool: Add feature list (prog/map/link/attach types, helpers)Quentin Monnet3-1/+73
2022-06-30bpftool: Remove attach_type_name forward declarationTobias Klauser1-2/+0
2022-06-29bpftool: Probe for memcg-based accounting before bumping rlimitQuentin Monnet1-3/+68
2022-06-29bpftool: implement cgroup tree for BPF_LSM_CGROUPStanislav Fomichev1-22/+87
2022-06-14bpftool: Do not check return value from libbpf_set_strict_mode()Quentin Monnet1-3/+1
2022-06-14Revert "bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK"Quentin Monnet8-3/+23
2022-06-09bpftool: Fix bootstrapping during a cross compilationShahab Vahedi1-1/+1
2022-06-07bpftool: Add btf enum64 supportYonghong Song3-3/+84
2022-06-02bpftool: Check for NULL ptr of btf in codegen_assertsMichael Mullin1-0/+3
2022-06-02bpftool: Use libbpf_bpf_link_type_strDaniel Müller1-17/+10
2022-06-02bpftool: Use libbpf_bpf_attach_type_strDaniel Müller8-86/+142
2022-06-02bpftool: Use libbpf_bpf_map_type_strDaniel Müller3-60/+42
2022-06-02bpftool: Use libbpf_bpf_prog_type_strDaniel Müller5-79/+64
2022-05-13bpftool: Use sysfs vmlinux when dumping BTF by IDLarysa Zaremba1-9/+53
2022-05-10bpf, x86: Generate trampolines from bpf_tramp_linksKui-Feng Lee1-0/+1
2022-05-10bpftool: bpf_link_get_from_fd support for LSM programs in lskelKP Singh1-0/+1
2022-05-09bpftool: Declare generator nameJason Wang1-2/+2
2022-05-09bpftool: Output message if no helpers found in feature probingMilan Landaverde1-3/+15
2022-05-09bpftool: Adjust for error codes from libbpf probesMilan Landaverde1-2/+2
2022-04-25bpftool, musl compat: Replace sys/fcntl.h by fcntl.hDominique Martinet1-1/+1
2022-04-25bpftool, musl compat: Replace nftw with FTW_ACTIONRETVALDominique Martinet1-55/+57
2022-04-10tools/runqslower: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCKYafang Shao1-16/+2
2022-04-10bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCKYafang Shao8-23/+3
2022-04-08Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski3-1/+5
2022-04-07Merge tag 'net-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-7/+15
2022-04-04bpftool: Handle libbpf_probe_prog_type errorsMilan Landaverde1-1/+1
2022-04-04bpftool: Add missing link typesMilan Landaverde1-0/+3
2022-04-04bpftool: Add syscall prog typeMilan Landaverde1-0/+1
2022-03-31Merge tag 'kbuild-v5.18-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
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-28bpf/bpftool: Add unprivileged_bpf_disabled check against value of 2Milan Landaverde1-1/+4
2022-03-21bpftool: Fix a bug in subskeleton code generationYonghong Song1-1/+0
2022-03-21bpftool: Fix print error when show bpf mapYafang Shao1-5/+2
2022-03-18bpftool: Add BPF_TRACE_KPROBE_MULTI to attach type names tableAndrii Nakryiko1-1/+1
2022-03-17bpftool: Add support for subskeletonsDelyan Kratunov3-85/+542
2022-03-15bpftool: man: Add missing top level docsDaniel Xu1-1/+12
2022-03-15bpftool: Add bpf_cookie to link outputDmitrii Dolgov4-0/+34
2022-03-11bpftool: Ensure bytes_memlock json output is correctChris J Arges2-2/+2
2022-03-10bpftool: Restore support for BPF offload-enabled feature probingNiklas Söderlund1-13/+139
2022-02-28bpftool: Remove redundant slashesYuntao Wang1-7/+7
2022-02-23bpftool: Bpf skeletons assert type sizesDelyan Kratunov1-22/+105
2022-02-23bpftool: Remove usage of reallocarray()Mauricio Vásquez4-11/+9
2022-02-16bpftool: Fix C++ additions to skeletonAndrii Nakryiko1-7/+7
2022-02-16bpftool: Fix pretty print dump for maps without BTF loadedJiri Olsa1-16/+15
2022-02-16bpftool: Gen min_core_btf explanation and examplesRafael David Tinoco1-0/+90
2022-02-16bpftool: Implement btfgen_get_btf()Mauricio Vásquez1-1/+99
2022-02-16bpftool: Implement "gen min_core_btf" logicMauricio Vásquez2-6/+457
2022-02-16bpftool: Add gen min_core_btf commandMauricio Vásquez2-4/+44
2022-02-15bpftool: Add C++-specific open/load/etc skeleton wrappersAndrii Nakryiko1-2/+22
2022-02-15bpftool: Fix the error when lookup in no-btf mapsYinjun Zhang1-4/+2
2022-02-15kbuild: replace $(if A,A,B) with $(or A,B)Masahiro Yamada1-2/+2
2022-02-10bpftool: Update versioning scheme, align on libbpf's version numberQuentin Monnet2-4/+23
2022-02-10bpftool: Add libbpf's version number to "bpftool version" outputQuentin Monnet2-6/+11
2022-02-10bpftool: Generalize light skeleton generation.Alexei Starovoitov1-19/+20
2022-02-09Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski5-27/+31
2022-02-07bpftool: Fix strict mode calculationMauricio Vásquez1-4/+1
2022-02-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+5
2022-02-03Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfJakub Kicinski1-1/+5
2022-02-03bpftool: Fix uninit variable compilation warningAndrii Nakryiko1-1/+1
2022-02-03bpftool: Stop supporting BPF offload-enabled feature probingAndrii Nakryiko1-12/+17