aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/common.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-02bpftool: Refactor kernel config reading into common helperYuan Chen1-0/+93
2025-06-20bpftool: Use appropriate permissions for map accessSlava Imameev1-16/+43
2025-03-17bpftool: Using the right format specifiersJiayuan Chen1-2/+2
2025-02-03bpftool: Fix readlink usage in get_fd_typeViktor Malik1-1/+2
2024-05-21bpftool: Un-const bpf_func_info to fix it for llvm 17 and newerIvan Babrou1-1/+1
2024-04-04bpftool: Mount bpffs on provided dir instead of parent dirSahil Siddiq1-12/+84
2023-05-17bpftool: Support bpffs mountpoint as pin path for prog loadallPengcheng Yang1-3/+6
2023-04-21bpftool: Register struct_ops with a link.Kui-Feng Lee1-0/+14
2023-02-16bpftool: Use bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich1-6/+7
2022-12-06bpftool: Fix memory leak in do_build_table_cbMiaoqian Lin1-0/+1
2022-11-11Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-5/+5
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 Zingerman1-5/+5
2022-11-02bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILEPu Lehui1-0/+3
2022-10-25bpftool: Support setting alternative arch for JIT disasm with LLVMQuentin Monnet1-4/+6
2022-10-25bpftool: Define _GNU_SOURCE only onceQuentin Monnet1-0/+2
2022-08-04bpftool: Remove BPF_OBJ_NAME_LEN restriction when looking up bpf program by nameManu Bretelle1-3/+12
2022-06-30bpftool: Show also the name of type BPF_OBJ_LINKYafang Shao1-0/+1
2022-06-29bpftool: Probe for memcg-based accounting before bumping rlimitQuentin Monnet1-3/+68
2022-06-14Revert "bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK"Quentin Monnet1-0/+8
2022-06-02bpftool: Use libbpf_bpf_attach_type_strDaniel Müller1-46/+36
2022-04-10bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCKYafang Shao1-8/+0
2022-03-18bpftool: Add BPF_TRACE_KPROBE_MULTI to attach type names tableAndrii Nakryiko1-1/+1
2022-02-03bpftool: Fix uninit variable compilation warningAndrii Nakryiko1-1/+1
2022-01-19bpftool: Adding support for BTF program namesRaman Shukhau1-0/+44
2021-11-14bpftool: Update the lists of names for maps and prog-attach typesQuentin Monnet1-0/+1
2021-10-25bpftool: Switch to libbpf's hashmap for pinned paths of BPF objectsQuentin Monnet1-20/+30
2021-07-31Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+6
2021-07-30tools: bpftool: Complete and synchronise attach or map typesQuentin Monnet1-0/+6
2021-07-15bpftool: Check malloc return value in mount_bpffs_for_pinTobias Klauser1-0/+5
2021-04-01sock_map: Introduce BPF_SK_SKB_VERDICTCong Wang1-0/+1
2020-07-21bpftool: Use only nftw for file tree parsingTony Ambardar1-57/+80
2020-07-17tools/bpftool: Add name mappings for SK_LOOKUP prog and attach typeJakub Sitnicki1-0/+1
2020-07-08bpftool: Add support for BPF_CGROUP_INET_SOCK_RELEASEStanislav Fomichev1-0/+1
2020-06-25tools, bpftool: Define attach_type_name array only onceTobias Klauser1-0/+36
2020-06-22tools/bpftool: Move map/prog parsing logic into commonAndrii Nakryiko1-0/+308
2020-04-28bpftool: Add bpf_link show and pin supportAndrii Nakryiko1-0/+2
2020-03-13tools: bpftool: Restore message on failure to guess program typeQuentin Monnet1-0/+7
2020-03-13tools: bpftool: Allow all prog/map handles for pinning objectsQuentin Monnet1-29/+4
2020-01-20bpftool: Use consistent include paths for libbpfToke Høiland-Jørgensen1-2/+2
2019-09-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+2
2019-08-15tools: bpftool: move "__printf()" attributes to header fileQuentin Monnet1-2/+2
2019-08-09tools: bpftool: add error message on pin failureJakub Kicinski1-1/+5
2019-08-09tools: bpftool: fix error message (prog -> object)Jakub Kicinski1-1/+1
2019-06-11bpf: use libbpf_num_possible_cpus internallyHechao Li1-48/+5
2019-01-28tools: bpftool: fix crash with un-owned prog arraysJakub Kicinski1-5/+1
2018-12-18tools: bpftool: add an option to prevent auto-mount of bpffs, tracefsQuentin Monnet1-0/+6
2018-12-18tools: bpftool: attempt to mount tracefs if required for tracelog cmdQuentin Monnet1-5/+20
2018-12-15tools: bpftool: fix -Wmissing declaration warningsQuentin Monnet1-2/+2
2018-12-13tools: bpftool: replace Netronome boilerplate with SPDX license headersJakub Kicinski1-32/+2
2018-11-30tools: bpftool: mark offloaded programs more explicitly in plain outputQuentin Monnet1-1/+1
2018-11-30tools: bpftool: use "/proc/self/" i.o. crafting links with getpid()Quentin Monnet1-3/+2
2018-11-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+9
2018-11-10bpftool: add loadall commandStanislav Fomichev1-16/+15
2018-11-09tools: bpftool: pass an argument to silence open_obj_pinned()Quentin Monnet1-7/+8
2018-11-09tools: bpftool: prevent infinite loop in get_fdinfo()Quentin Monnet1-1/+1
2018-11-07tools: bpftool: adjust rlimit RLIMIT_MEMLOCK when loading programs, mapsQuentin Monnet1-0/+8
2018-10-18tools: bpftool: use 4 context mode for the NFP disasmJakub Kicinski1-1/+4
2018-10-15tools: bpftool: add map create commandJakub Kicinski1-0/+21
2018-07-24Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+8
2018-07-20tools/bpftool: Fix segfault case regarding 'pin' argumentsTaeung Song1-3/+8
2018-07-01tools: bpftool: drop unnecessary Author commentsJakub Kicinski1-2/+0
2018-05-04tools: bpftool: add simple perf event output readerJakub Kicinski1-0/+19
2018-05-04tools: bpftool: move get_possible_cpus() to common codeJakub Kicinski1-1/+57
2018-03-06tools: bpftool: fix compilation with older headersJiri Benc1-0/+4
2018-01-18tools: bpftool: improve architecture detection by using ifindexJiong Wang1-0/+72
2017-12-31tools: bpftool: report device information for offloaded programsJakub Kicinski1-0/+52
2017-12-14bpftool: implement prog load commandRoman Gushchin1-31/+40
2017-11-11tools: bpftool: show filenames of pinned objectsPrashant Bhole1-0/+82
2017-11-11tools: bpftool: open pinned object without type checkPrashant Bhole1-2/+13
2017-11-05tools: bpftool: move p_err() and p_info() from main.h to common.cQuentin Monnet1-0/+31
2017-10-26tools: bpftool: try to mount bpffs if required for pinning objectsQuentin Monnet1-8/+63
2017-10-24tools: bpftool: turn err() and info() macros into functionsQuentin Monnet1-13/+13
2017-10-24tools: bpftool: add JSON output for `bpftool prog dump xlated *` commandQuentin Monnet1-0/+10
2017-10-04tools: bpf: add bpftoolJakub Kicinski1-0/+216