aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/bpf
AgeCommit message (Expand)AuthorFilesLines
2025-06-10tools/resolve_btfids: Fix build when cross compiling kernel with clang.Suleiman Souhlal1-1/+1
2025-05-27bpftool: Add support for custom BTF path in prog load/loadallJiayuan Chen3-5/+21
2025-05-09bpftool: Display ref_ctr_offset for uprobe link infoJiri Olsa1-0/+3
2025-05-08bpftool: Fix cgroup command to only show cgroup bpf programsMartin KaFai Lau1-6/+6
2025-05-06bpftool: Fix regression of "bpftool cgroup tree" EINVAL on older kernelsYiFei Zhu1-1/+1
2025-03-30Merge tag 'bpf-next-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds17-55/+68
2025-03-17bpftool: Using the right format specifiersJiayuan Chen11-30/+31
2025-03-17bpftool: Add -Wformat-signedness flag to detect format errorsJiayuan Chen1-1/+6
2025-03-15bpf: bpftool: Setting error code in do_loader()Sewon Nam1-0/+1
2025-02-25Merge tag 'perf-tools-fixes-for-v6.14-2-2025-02-25' of git://git.kernel.org/p...Linus Torvalds5-24/+1
2025-02-18tools: Remove redundant quiet setupCharlie Jenkins5-24/+1
2025-02-13bpftool: Check map name length when map createRong Tao1-0/+4
2025-02-10bpftool: Using the right format specifiersJiayuan Chen4-22/+22
2025-02-03bpftool: Fix readlink usage in get_fd_typeViktor Malik1-1/+2
2025-02-03selftests/bpf: Fix runqslower cross-endian buildTony Ambardar1-1/+2
2025-01-24Merge tag 'perf-tools-for-v6.14-2025-01-21' of git://git.kernel.org/pub/scm/l...Linus Torvalds1-0/+7
2025-01-10bpftool: Fix control flow graph segfault during edge creationChristoph Werle1-0/+1
2024-12-18bpftool: Link zstd lib required by libelfLeo Yan1-0/+7
2024-12-13bpftool: bash: Add bash completion for root_id argumentDaniel Xu1-1/+6
2024-12-13bpftool: btf: Support dumping a specific types from fileDaniel Xu2-4/+44
2024-12-13bpftool: btf: Validate root_type_ids earlyDaniel Xu1-0/+12
2024-12-13bpftool: man: Add missing format argument to command descriptionDaniel Xu1-1/+1
2024-12-12bpftool: Probe for ISA v4 instruction set extensionSimone Magnani1-0/+23
2024-12-10tools/resolve_btfids: Add --fatal_warnings optionThomas Weißschuh1-2/+10
2024-12-06Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds1-5/+12
2024-11-25Merge tag 'mm-nonmm-stable-2024-11-24-02-05' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+2
2024-11-25bpftool: fix potential NULL pointer dereferencing in prog_dump()Amir Mohammadi1-5/+12
2024-11-13bpftool: Cast variable `var` to long longLuo Yifan1-1/+1
2024-11-11tools/bpf: Fix the wrong format specifier in bpf_jit_disasmLuo Yifan1-1/+1
2024-11-05bpftool: ensure task comm is always NUL-terminatedYafang Shao1-0/+2
2024-11-01bpftool: Prevent setting duplicate _GNU_SOURCE in MakefileViktor Malik1-1/+5
2024-11-01bpf, bpftool: Fix incorrect disasm pcLeon Hwang1-11/+29
2024-10-23resolve_btfids: Fix compiler warningsEder Zulian1-2/+2
2024-10-03bpftool: __bpf_fastcall for kfuncs marked with special decl_tagEduard Zingerman1-10/+88
2024-10-03tools/bpf: Remove unused variable from runqslowerZhu Jun1-1/+0
2024-09-10bpftool: Fix undefined behavior in qsort(NULL, 0, ...)Kuan-Wei Chiu1-0/+3
2024-09-09bpftool: Fix typosAndrew Kreimer1-1/+1
2024-09-09bpftool: Fix undefined behavior caused by shifting into the sign bitKuan-Wei Chiu1-4/+4
2024-09-06bpftool: Improve btf c dump sorting stabilityMykyta Yatsenko1-5/+75
2024-09-05bpftool: fix some typos in bpftoolLin Yikai2-6/+6
2024-09-02bpftool: Fix handling enum64 in btf dump sortingMykyta Yatsenko1-3/+4
2024-09-02bpftool: Add missing blank lines in bpftool-net doc exampleQuentin Monnet1-0/+2
2024-07-30tools/bpf: Fix the wrong format specifierZhu Jun1-2/+2
2024-07-29tools/runqslower: Fix LDFLAGS and add LDLIBS supportTony Ambardar1-1/+2
2024-07-29bpftool: Add document for net attach/detach on tcx subcommandTao Chen1-1/+21
2024-07-29bpftool: Add bash-completion for tcx subcommandTao Chen1-1/+1
2024-07-29bpftool: Add net attach/detach command to tcx progTao Chen1-1/+42
2024-07-29bpftool: Refactor xdp attach/detach type judgmentTao Chen1-5/+21
2024-07-22tools/resolve_btfids: Fix comparison of distinct pointer types warning in res...Liwei Song1-1/+1
2024-07-17bpftool: Fix typo in usage helpDonald Hunter1-1/+1
2024-07-09bpftool: improve skeleton backwards compat with old buggy libbpfsAndrii Nakryiko1-14/+32
2024-07-02bpftool: Mount bpffs when pinmaps path not under the bpffsTao Chen1-0/+4
2024-06-21bpftool: Allow compile-time checks of BPF map auto-attach support in skeletonAndrii Nakryiko1-0/+2
2024-06-17resolve_btfids: Handle presence of .BTF.base sectionAlan Maguire1-0/+8
2024-06-12bpftool: Support dumping kfunc prototypes from BTFDaniel Xu1-0/+55
2024-06-11bpftool: Query only cgroup-related attach typesKenta Tada1-4/+36
2024-06-10Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski3-22/+51
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-06-03bpftool: Fix typo in MAX_NUM_METRICS macro nameSwan Beaujard1-7/+7
2024-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-05-30bpftool: Change pid_iter.bpf.c to comply with the change of bpf_link_fops.Kui-Feng Lee1-1/+6
2024-05-24bpf: Fix potential integer overflow in resolve_btfidsFriedrich Vock1-1/+1
2024-05-21bpftool: Un-const bpf_func_info to fix it for llvm 17 and newerIvan Babrou1-1/+1
2024-05-18bpftool: Fix make dependencies for vmlinux.hArtem Savkov1-1/+2
2024-05-18bpftool: Introduce btf c dump sortingMykyta Yatsenko3-7/+140
2024-05-06bpftool, selftests/hid/bpf: Fix 29 clang warningsJohn Hubbard1-1/+1
2024-04-16bpftool: Address minor issues in bash completionQuentin Monnet1-36/+25
2024-04-16bpftool: Update documentation where progs/maps can be passed by nameQuentin Monnet4-4/+4
2024-04-12bpftool: Fix typo in error messageThorsten Blum1-1/+1
2024-04-10bpftool: Add link dump support for BPF_LINK_TYPE_SOCKMAPYonghong Song1-0/+9
2024-04-04bpftool: Mount bpffs on provided dir instead of parent dirSahil Siddiq5-16/+92
2024-04-02bpftool: Use __typeof__() instead of typeof() in BPF skeletonAndrii Nakryiko1-2/+2
2024-04-02bpftool: Clean-up typos, punctuation, list formatting in docsRameez Rehman3-40/+35
2024-04-02bpftool: Remove useless emphasis on command description in man pagesRameez Rehman11-61/+61
2024-04-02bpftool: Use simpler indentation in source rST for documentationRameez Rehman14-991/+908
2024-03-28bpf: improve error message for unsupported helperMykyta Yatsenko1-1/+2
2024-03-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-03-20bpftool: Clean up HOST_CFLAGS, HOST_LDFLAGS for bootstrap bpftoolQuentin Monnet1-4/+5
2024-03-19bpftool: Remove unnecessary source files from bootstrap versionQuentin Monnet1-4/+1
2024-03-19bpftool: Enable libbpf logs when loading pid_iter in debug modeQuentin Monnet1-7/+12
2024-03-15libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVMAlexei Starovoitov1-1/+1
2024-03-14bpftool: Fix missing pids during link showYonghong Song1-2/+2
2024-03-14bpftool: Cast pointers for shadow types explicitly.Kui-Feng Lee1-1/+2
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