aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf.h
AgeCommit message (Expand)AuthorFilesLines
2025-09-18libbpf: Support exclusive map creationKP Singh1-1/+4
2025-07-03libbpf: Introduce bpf_prog_stream_read() APIKumar Kartikeya Dwivedi1-0/+21
2025-06-09libbpf: Support link-based cgroup attach with optionsYonghong Song1-0/+5
2025-03-17libbpf: Pass BPF token from find_prog_btf_id to BPF_BTF_GET_FD_BY_IDMykyta Yatsenko1-1/+2
2024-12-13libbpf: prog load: Allow to use fd_array_cntAnton Protopopov1-1/+4
2024-09-05libbpf: fix some typos in libbpfLin Yikai1-2/+2
2024-03-19libbpf: add support for BPF cookie for raw_tp/tp_btf programsAndrii Nakryiko1-0/+9
2024-02-22bpf: Clarify batch lookup/lookup_and_delete semanticsMartin Kelly1-5/+12
2024-02-14libbpf: Make remark about zero-initializing bpf_*_info structsMatt Bobrowski1-5/+17
2024-02-01libbpf: Add missing LIBBPF_API annotation to libbpf_set_memlock_rlim APIAndrii Nakryiko1-1/+1
2024-01-24libbpf: Add BPF token support to bpf_prog_load() APIAndrii Nakryiko1-1/+2
2024-01-24libbpf: Add BPF token support to bpf_btf_load() APIAndrii Nakryiko1-1/+4
2024-01-24libbpf: Add BPF token support to bpf_map_create() APIAndrii Nakryiko1-2/+4
2024-01-24libbpf: Add bpf_token_create() APIAndrii Nakryiko1-0/+24
2024-01-23libbpf: Find correct module BTFs for struct_ops maps and progs.Kui-Feng Lee1-1/+3
2023-10-24libbpf: Add link-based API for netkitDaniel Borkmann1-0/+5
2023-08-21libbpf: Add bpf_link_create support for multi uprobesJiri Olsa1-1/+10
2023-07-19libbpf: Add link-based API for tcxDaniel Borkmann1-0/+5
2023-07-19libbpf: Add opts-based attach/detach/query API for tcxDaniel Borkmann1-14/+78
2023-06-30libbpf: Add netfilter link attach helperFlorian Westphal1-0/+6
2023-05-23libbpf: Add opts-based bpf_obj_pin() API and add support for path_fdAndrii Nakryiko1-2/+16
2023-04-11libbpf: Wire through log_true_size for bpf_btf_load() APIAndrii Nakryiko1-2/+9
2023-04-11libbpf: Wire through log_true_size returned from kernel for BPF_PROG_LOADAndrii Nakryiko1-2/+9
2023-03-22libbpf: Update a bpf_link with another struct_ops.Kui-Feng Lee1-1/+2
2023-02-27libbpf: Document bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich1-5/+64
2023-02-16libbpf: Introduce bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich1-0/+9
2022-11-30libbpf: Avoid enum forward-declarations in public API in C++ modeAndrii Nakryiko1-0/+7
2022-10-10libbpf: Introduce bpf_link_get_fd_by_id_opts()Roberto Sassu1-0/+2
2022-10-10libbpf: Introduce bpf_btf_get_fd_by_id_opts()Roberto Sassu1-0/+2
2022-10-10libbpf: Introduce bpf_prog_get_fd_by_id_opts()Roberto Sassu1-0/+2
2022-10-10libbpf: Introduce bpf_get_fd_by_id_opts and bpf_map_get_fd_by_id_opts()Roberto Sassu1-0/+10
2022-07-29libbpf: Add bpf_obj_get_opts()Joe Burton1-0/+11
2022-06-29libbpf: implement bpf_prog_query_optsStanislav Fomichev1-0/+15
2022-06-28libbpf: remove deprecated low-level APIsAndrii Nakryiko1-83/+0
2022-05-19libbpf: remove bpf_create_map*() APIsAndrii Nakryiko1-42/+0
2022-05-13libbpf: Add safer high-level wrappers for map operationsAndrii Nakryiko1-0/+1
2022-05-10libbpf: Assign cookies to links in libbpf.Kui-Feng Lee1-0/+3
2022-03-17libbpf: Add bpf_link_create support for multi kprobesJiri Olsa1-1/+8
2022-03-09libbpf: Support batch_size option to bpf_prog_test_runToke Høiland-Jørgensen1-1/+2
2022-02-02libbpf: Deprecate bpf_prog_test_run_xattr and bpf_prog_test_runDelyan Kratunov1-1/+3
2022-01-12libbpf: Rename bpf_prog_attach_xattr() to bpf_prog_attach_opts()Christy Lee1-0/+4
2022-01-06libbpf: Add documentation for bpf_map batch operationsGrant Seltzer1-2/+113
2021-12-14libbpf: Auto-bump RLIMIT_MEMLOCK if kernel needs it for BPFAndrii Nakryiko1-0/+2
2021-12-10libbpf: Allow passing user log setting through bpf_object_open_optsAndrii Nakryiko1-1/+2
2021-12-10libbpf: Add OPTS-based bpf_btf_load() APIAndrii Nakryiko1-2/+17
2021-12-02libbpf: Use __u32 fields in bpf_map_create_optsAndrii Nakryiko1-4/+4
2021-11-25libbpf: Unify low-level map creation APIs w/ new bpf_map_create()Andrii Nakryiko1-2/+31
2021-11-07libbpf: Unify low-level BPF_PROG_LOAD APIs into bpf_prog_load()Andrii Nakryiko1-3/+70
2021-11-07libbpf: Rename DECLARE_LIBBPF_OPTS into LIBBPF_OPTSAndrii Nakryiko1-0/+1
2021-08-17libbpf: Add bpf_cookie support to bpf_link_create() APIAndrii Nakryiko1-1/+7
2021-05-24bpf: Extend libbpf with bpf_map_lookup_and_delete_elem_flagsDenis Salopek1-0/+2
2020-09-29libbpf: Add support for freplace attachment in bpf_link_createToke Høiland-Jørgensen1-1/+2
2020-09-28libbpf: Remove assumption of single contiguous memory for BTF dataAndrii Nakryiko1-1/+1
2020-09-28libbpf: Support test run of raw tracepoint programsSong Liu1-0/+26
2020-09-15libbpf: Add BPF_PROG_BIND_MAP syscall and use it on .rodata sectionYiFei Zhu1-0/+8
2020-08-06tools/bpf: Support new uapi for map element bpf iteratorYonghong Song1-1/+4
2020-08-01libbpf: Add bpf_link detach APIsAndrii Nakryiko1-0/+2
2020-07-25tools/libbpf: Add support for bpf map element iteratorYonghong Song1-1/+2
2020-06-22libbpf: Forward-declare bpf_stats_type for systems with outdated UAPI headersAndrii Nakryiko1-0/+2
2020-05-09tools/libbpf: Add bpf_iter supportYonghong Song1-0/+2
2020-05-01libbpf: Add support for command BPF_ENABLE_STATSSong Liu1-0/+1
2020-04-28libbpf: Add low-level APIs for new bpf_link commandsAndrii Nakryiko1-1/+3
2020-03-30libbpf: Add support for bpf_link-based cgroup attachmentAndrii Nakryiko1-0/+19
2020-01-15libbpf: Add libbpf support to batch opsYonghong Song1-0/+22
2020-01-09bpf: libbpf: Add STRUCT_OPS supportMartin KaFai Lau1-1/+4
2019-12-19libbpf: Introduce bpf_prog_attach_xattrAndrey Ignatov1-0/+11
2019-12-15libbpf: Extract common user-facing helpersAndrii Nakryiko1-4/+2
2019-11-15libbpf: Add support for attaching BPF programs to other BPF programsAlexei Starovoitov1-1/+4
2019-10-31libbpf: Add support for prog_tracingAlexei Starovoitov1-1/+4
2019-08-20libbpf: add bpf_btf_get_next_id() to cycle through BTF objectsQuentin Monnet1-0/+1
2019-05-24libbpf: add "prog_flags" to bpf_program/bpf_prog_load_attr/bpf_load_program_attrJiong Wang1-0/+1
2019-04-25libbpf: fix samples/bpf build failure due to undefined UINT32_MAXDaniel T. Lee1-0/+1
2019-04-19libbpf: fix BPF_LOG_BUF_SIZE off-by-one errorMcCabe, Robert J1-1/+1
2019-04-11libbpf: add support for ctx_{size, }_{in, out} in BPF_PROG_TEST_RUNStanislav Fomichev1-0/+5
2019-04-09bpf, libbpf: support global data/bss/rodata sectionsDaniel Borkmann1-0/+1
2019-04-04libbpf: teach libbpf about log_level bit 2Alexei Starovoitov1-1/+1
2019-02-07tools/bpf: add log_level to bpf_load_program_attrYonghong Song1-0/+1
2019-02-01libbpf: introduce bpf_map_lookup_elem_flags()Alexei Starovoitov1-0/+2
2018-12-09bpf: libbpf: Add btf_line_info support to libbpfMartin KaFai Lau1-0/+3
2018-12-04libbpf: add bpf_prog_test_run_xattrLorenz Bauer1-0/+19
2018-11-30bpf: Add BPF_F_ANY_ALIGNMENT.David Miller1-1/+1
2018-11-21libbpf: make sure bpf headers are c++ include-ableStanislav Fomichev1-0/+9
2018-11-20tools/bpf: add new fields for program load in lib/bpfYonghong Song1-0/+4
2018-10-19selftests/bpf: add test cases for queue and stack mapsMauricio Vasquez B1-0/+2
2018-10-16libbpf: Per-symbol visibility for DSOAndrey Ignatov1-53/+65
2018-10-15bpf: bpftool, add flag to allow non-compat map definitionsJohn Fastabend1-0/+3
2018-10-08libbpf: relicense libbpf as LGPL-2.1 OR BSD-2-ClauseAlexei Starovoitov1-1/+1
2018-10-04libbpf: Make include guards consistentAndrey Ignatov1-3/+3
2018-08-11bpf: Test BPF_PROG_TYPE_SK_REUSEPORTMartin KaFai Lau1-0/+1
2018-05-24tools/bpf: sync kernel header bpf.h and add bpf_task_fd_query in libbpfYonghong Song1-0/+3
2018-05-23bpf: btf: Add tests for the btf uapi changesMartin KaFai Lau1-2/+2
2018-05-17libbpf: add ifindex to enable offload supportDavid Beckett1-0/+2
2018-05-09bpf: btf: Tests for BPF_OBJ_GET_INFO_BY_FD and BPF_BTF_GET_FD_BY_IDMartin KaFai Lau1-0/+1
2018-04-20libbpf: fixed build error for samples/bpf/Björn Töpel1-0/+1
2018-04-19bpf: btf: Add BTF support to libbpfMartin KaFai Lau1-0/+16
2018-03-31libbpf: Support expected_attach_type at prog loadAndrey Ignatov1-5/+12
2018-03-28libbpf: add bpf_raw_tracepoint_open helperAlexei Starovoitov1-0/+1
2018-02-02libbpf: add missing SPDX-License-IdentifierEric Leblond1-0/+2
2017-12-17libbpf: add support for bpf_callAlexei Starovoitov1-1/+1
2017-10-04libbpf: add support for BPF_PROG_QUERYAlexei Starovoitov1-1/+2
2017-10-04libbpf: introduce bpf_prog_detach2()Alexei Starovoitov1-0/+1
2017-09-29bpf: libbpf: Provide basic API support to specify BPF obj nameMartin KaFai Lau1-7/+16
2017-08-28bpf: convert sockmap field attach_bpf_fd2 to typeJohn Fastabend1-4/+0
2017-08-19bpf: Allow numa selection in INNER_LRU_HASH_PREALLOC test of map_perf_testMartin KaFai Lau1-0/+6
2017-08-16bpf: sockmap sample programJohn Fastabend1-0/+4
2017-07-20bpf: allow to specify log level and reduce it for test_verifierDaniel Borkmann1-1/+1
2017-06-06bpf: Test for bpf IDMartin KaFai Lau1-0/+5
2017-05-11bpf: Add bpf_verify_program() to the library.David S. Miller1-0/+4
2017-04-01tools/lib/bpf: add support for BPF_PROG_TEST_RUN commandAlexei Starovoitov1-1/+3
2017-03-22bpf: Add tests for map-in-mapMartin KaFai Lau1-0/+2
2017-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-6/+6
2017-02-20Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
2017-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2017-02-12bpf: introduce BPF_F_ALLOW_OVERRIDE flagAlexei Starovoitov1-1/+2
2017-02-10bpf: Use bpf_map_get_next_key() from the libraryMickaël Salaün1-1/+1
2017-02-10bpf: Use bpf_map_delete_elem() from the libraryMickaël Salaün1-1/+1
2017-02-10bpf: Use bpf_map_lookup_elem() from the libraryMickaël Salaün1-1/+1
2017-02-10bpf: Use bpf_map_update_elem() from the libraryMickaël Salaün1-1/+1
2017-02-10bpf: Use bpf_load_program() from the libraryMickaël Salaün1-2/+2
2017-02-08tools lib bpf: Add missing header to the libraryMickaël Salaün1-0/+1
2016-12-20tools lib bpf: Add bpf_prog_{attach,detach}Joe Stringer1-0/+3
2016-12-15tools lib bpf: Add flags to bpf_create_map()Joe Stringer1-1/+1
2016-12-15tools lib bpf: use __u32 from linux/types.hJoe Stringer1-2/+2
2016-11-29tools lib bpf: Add missing BPF functionsWang Nan1-0/+7
2016-07-04tools lib bpf: Add license headerWang Nan1-0/+13
2015-11-26bpf tools: Add helper function for updating bpf maps elementsHe Kuang1-0/+2
2015-08-07bpf tools: Introduce bpf_load_program() to bpf.cWang Nan1-0/+7
2015-08-07bpf tools: Add bpf.c/h for common bpf operationsWang Nan1-0/+16