aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/Makefile
AgeCommit message (Expand)AuthorFilesLines
12 daysMerge tag 'kbuild-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-1/+1
2024-05-10kbuild: use $(src) instead of $(srctree)/$(src) for source directoryMasahiro Yamada1-1/+1
2024-04-29samples/bpf: Add valid info for VMLINUX_BTFTao Chen1-1/+1
2023-10-26samples/bpf: Allow building with custom bpftoolViktor Malik1-2/+3
2023-10-26samples/bpf: Fix passing LDFLAGS to libbpfViktor Malik1-1/+1
2023-10-26samples/bpf: Allow building with custom CFLAGS/LDFLAGSViktor Malik1-1/+4
2023-09-28samples/bpf: Add -fsanitize=bounds to userspace programsRuowen Qin1-0/+3
2023-09-08selftests/bpf: trace_helpers.c: Optimize kallsyms cacheRong Tao1-0/+4
2023-08-24samples/bpf: Remove the xdp_sample_pkts utilityToke Høiland-Jørgensen1-3/+0
2023-08-24samples/bpf: Remove the xdp1 and xdp2 utilitiesToke Høiland-Jørgensen1-7/+0
2023-08-24samples/bpf: Remove the xdp_rxq_info utilityToke Høiland-Jørgensen1-3/+0
2023-08-24samples/bpf: Remove the xdp_redirect* utilitiesToke Høiland-Jørgensen1-28/+1
2023-08-24samples/bpf: Remove the xdp_monitor utilityToke Høiland-Jørgensen1-7/+1
2023-08-21samples/bpf: unify bpf program suffix to .bpf with tracing programsDaniel T. Lee1-9/+9
2023-08-21samples/bpf: fix warning with ignored-attributesDaniel T. Lee1-1/+1
2023-06-29bpf: Replace deprecated -target with --target= for ClangFangrui Song1-3/+3
2023-01-15samples/bpf: change _kern suffix to .bpf with BPF test programsDaniel T. Lee1-7/+7
2022-12-29samples/bpf: Change _kern suffix to .bpf with syscall tracing programDaniel T. Lee1-5/+5
2022-07-15samples: bpf: Fix cross-compiling error by using bootstrap bpftoolPu Lehui1-6/+4
2022-07-05bpf, samples: Remove AF_XDP samplesMagnus Karlsson1-9/+0
2022-05-09samples: bpf: Don't fail for a missing VMLINUX_BTF when VMLINUX_H is providedJerome Marchand1-5/+4
2022-04-08samples, bpf: Move routes monitor in xdp_router_ipv4 in a dedicated threadLorenzo Bianconi1-1/+1
2022-04-04samples: bpf: Fix linking xdp_router_ipv4 after migrationAlexander Lobakin1-0/+1
2022-04-03samples: bpf: Convert xdp_router_ipv4 to XDP samples helperLorenzo Bianconi1-3/+6
2021-12-06samples: bpf: Fix xdp_sample_user.o linking with ClangAlexander Lobakin1-1/+6
2021-12-02samples/bpf: Clean up samples/bpf build failesAndrii Nakryiko1-1/+12
2021-11-01Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-12/+35
2021-10-21samples: bpf: Suppress readelf stderr when probing for BTF supportPu Lehui1-1/+2
2021-10-08samples/bpf: Do not FORCE-recompile libbpfQuentin Monnet1-1/+1
2021-10-08samples/bpf: Install libbpf headers when buildingQuentin Monnet1-10/+30
2021-10-06bpf: Use $(pound) instead of \# in MakefilesQuentin Monnet1-1/+3
2021-09-28samples: bpf: Fix vmlinux.h generation for XDP samplesKumar Kartikeya Dwivedi1-9/+8
2021-08-24samples: bpf: Convert xdp_redirect_map_multi to XDP samples helperKumar Kartikeya Dwivedi1-2/+3
2021-08-24samples: bpf: Convert xdp_redirect_map_multi_kern.o to XDP samples helperKumar Kartikeya Dwivedi1-3/+4
2021-08-24samples: bpf: Convert xdp_redirect_map to XDP samples helperKumar Kartikeya Dwivedi1-2/+3
2021-08-24samples: bpf: Convert xdp_redirect_map_kern.o to XDP samples helperKumar Kartikeya Dwivedi1-2/+4
2021-08-24samples: bpf: Convert xdp_redirect_cpu to XDP samples helperKumar Kartikeya Dwivedi1-2/+3
2021-08-24samples: bpf: Convert xdp_redirect_cpu_kern.o to XDP samples helperKumar Kartikeya Dwivedi1-2/+3
2021-08-24samples: bpf: Convert xdp_redirect to XDP samples helperKumar Kartikeya Dwivedi1-2/+3
2021-08-24samples: bpf: Convert xdp_redirect_kern.o to XDP samples helperKumar Kartikeya Dwivedi1-2/+3
2021-08-24samples: bpf: Convert xdp_monitor to XDP samples helperKumar Kartikeya Dwivedi1-2/+7
2021-08-24samples: bpf: Convert xdp_monitor_kern.o to XDP samples helperKumar Kartikeya Dwivedi1-1/+41
2021-08-24samples: bpf: Add vmlinux.h generation supportKumar Kartikeya Dwivedi1-0/+25
2021-07-05bpf, samples: Add -fno-asynchronous-unwind-tables to BPF Clang invocationToke Høiland-Jørgensen1-0/+1
2021-05-26sample/bpf: Add xdp_redirect_map_multi for redirect_map broadcast testHangbin Liu1-0/+3
2021-02-02samples/bpf: Add include dir for MIPS Loongson64 to fix build errorsTiezhu Yang1-0/+4
2021-01-26samples/bpf: Set flag __SANE_USERSPACE_TYPES__ for MIPS to fix build warningsTiezhu Yang1-0/+4
2021-01-23bpf, docs: Update build procedure for manually compiling LLVM and ClangTiezhu Yang1-1/+1
2020-12-03samples/bpf: Sample application for eBPF load and socket creation splitMariusz Dudek1-1/+3
2020-11-26samples: bpf: Remove bpf_load loader completelyDaniel T. Lee1-6/+4
2020-11-26samples: bpf: Refactor test_overhead program with libbpfDaniel T. Lee1-1/+1
2020-11-26samples: bpf: Refactor ibumad program with libbpfDaniel T. Lee1-1/+1
2020-11-26samples: bpf: Refactor task_fd_query program with libbpfDaniel T. Lee1-1/+1
2020-11-26samples: bpf: Refactor test_cgrp2_sock2 program with libbpfDaniel T. Lee1-1/+1
2020-11-26samples: bpf: Refactor hbm program with libbpfDaniel T. Lee1-1/+1
2020-10-11samples: bpf: Replace attach_tracepoint() to attach() in xdp_redirect_cpuDaniel T. Lee1-1/+1
2020-10-11samples: bpf: Refactor xdp_monitor with libbpfDaniel T. Lee1-1/+1
2020-10-06samples/bpf: Change Makefile to cope with latest llvmYonghong Song1-1/+10
2020-08-31samples/bpf: Add new sample xsk_fwd.cCristian Dumitrescu1-0/+3
2020-08-24samples: bpf: Refactor tracepoint tracing programs with libbpfDaniel T. Lee1-3/+3
2020-08-24samples: bpf: Refactor kprobe tracing programs with libbpfDaniel T. Lee1-5/+5
2020-08-24samples: bpf: Cleanup bpf_load.o from MakefileDaniel T. Lee1-1/+1
2020-07-08samples: bpf: Refactor BPF map in map test with libbpfDaniel T. Lee1-1/+1
2020-05-19samples, bpf: Refactor tail call user progs with libbpfDaniel T. Lee1-2/+2
2020-05-19samples, bpf: Refactor kprobe tracing user progs with libbpfDaniel T. Lee1-6/+6
2020-03-23samples, bpf: Refactor perf_event user program with libbpf bpf_linkDaniel T. Lee1-2/+2
2020-03-23samples, bpf: Move read_trace_pipe to trace_helpersDaniel T. Lee1-2/+2
2020-02-04kbuild: rename hostprogs-y/always to hostprogs/always-yMasahiro Yamada1-59/+59
2020-01-20samples/bpf: Use consistent include paths for libbpfToke Høiland-Jørgensen1-2/+1
2020-01-20samples/bpf: Don't try to remove user's homedir on cleanToke Høiland-Jørgensen1-1/+1
2019-12-16samples/bpf: Set -fno-stack-protector when building BPF programsToke Høiland-Jørgensen1-0/+1
2019-12-16samples/bpf: Add missing -lz to TPROGS_LDLIBSToke Høiland-Jørgensen1-1/+1
2019-12-16samples/bpf: Reintroduce missed build targetsPrashant Bhole1-0/+2
2019-11-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2019-11-11samples/bpf: adjust Makefile and README.rstJesper Dangaard Brouer1-2/+2
2019-11-10samples/bpf: Add XDP_SHARED_UMEM support to xdpsockMagnus Karlsson1-0/+1
2019-11-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2019-10-31samples/bpf: fix build by setting HAVE_ATTR_TEST to zeroBjörn Töpel1-0/+1
2019-10-12samples/bpf: Add sysroot supportIvan Khoronzhuk1-0/+5
2019-10-12samples/bpf: Provide C/LDFLAGS to libbpfIvan Khoronzhuk1-1/+2
2019-10-12samples/bpf: Use target CC environment for HDR_PROBEIvan Khoronzhuk1-3/+2
2019-10-12samples/bpf: Use own flags but not HOSTCFLAGSIvan Khoronzhuk1-2/+4
2019-10-12samples/bpf: Base target programs rules on Makefile.targetIvan Khoronzhuk1-66/+69
2019-10-12samples/bpf: Drop unnecessarily inclusion for bpf_loadIvan Khoronzhuk1-1/+1
2019-10-12samples/bpf: Use __LINUX_ARM_ARCH__ selector for armIvan Khoronzhuk1-0/+8
2019-10-12samples/bpf: Use own EXTRA_CFLAGS for clang commandsIvan Khoronzhuk1-4/+5
2019-10-12samples/bpf: Use --target from cross-compileIvan Khoronzhuk1-1/+1
2019-10-12samples/bpf: Fix cookie_uid_helper_example obj buildIvan Khoronzhuk1-1/+0
2019-10-12samples/bpf: Fix HDR_PROBE "echo"Ivan Khoronzhuk1-1/+1
2019-10-08libbpf: Move bpf_{helpers, helper_defs, endian, tracing}.h into libbpfAndrii Nakryiko1-1/+1
2019-07-15samples/bpf: build with -D__TARGET_ARCH_$(SRCARCH)Ilya Leoshkevich1-1/+1
2019-07-03samples/bpf: add sample program that periodically dumps TCP statsStanislav Fomichev1-0/+1
2019-07-03bpf: Add support for fq's EDT to HBMbrakmo1-0/+2
2019-06-18samples: bpf: remove unnecessary include options in MakefileDaniel T. Lee1-9/+0
2019-06-15samples/bpf: fix include path in MakefilePrashant Bhole1-1/+1
2019-06-10samples: bpf: don't run probes at the local make stageJakub Kicinski1-0/+3
2019-06-06samples: bpf: print a warning about headers_installJakub Kicinski1-0/+9
2019-05-28selftests/bpf: convert test_cgrp2_attach2 example into kselftestRoman Gushchin1-2/+0
2019-03-27BPF: Add sample code for new ib_umad tracepointIra Weiny1-0/+3
2019-03-02bpf: User program for testing HBMbrakmo1-0/+3
2019-03-02bpf: Sample HBM BPF program to limit egress bwbrakmo1-0/+2
2019-03-01samples: bpf: use libbpf where easyJakub Kicinski1-3/+3
2019-03-01samples: bpf: remove load_sock_ops in favour of bpftoolJakub Kicinski1-2/+0
2019-02-25samples/bpf: convert xdpsock to use libbpf for AF_XDP accessMagnus Karlsson1-1/+0
2019-02-01samples/bpf: Convert XDP samples to libbpf usageMaciej Fijalkowski1-4/+4
2019-01-15samples/bpf: workaround clang asm goto compilation errorsYonghong Song1-0/+1
2018-12-29Merge tag 'kbuild-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-3/+1
2018-12-23treewide: add intermediate .s files to targetsMasahiro Yamada1-0/+1
2018-12-23treewide: remove explicit rules for *offsets.sMasahiro Yamada1-3/+0
2018-11-20tools/bpf: do not use pahole if clang/llvm can generate BTF sectionsYonghong Song1-0/+8
2018-09-01bpf: add TCP_SAVE_SYN/TCP_SAVED_SYN sample programNikita V. Shirokov1-0/+1
2018-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-3/+22
2018-07-27samples: bpf: convert xdpsock_user.c to libbpfJakub Kicinski1-1/+1
2018-07-27samples: bpf: convert xdp_fwd_user.c to libbpfJakub Kicinski1-1/+1
2018-07-27samples/bpf: Add BTF build flags to MakefileTaeung Song1-1/+16
2018-07-18kbuild: Rename HOST_LOADLIBES to KBUILD_HOSTLDLIBSLaura Abbott1-6/+6
2018-07-18kbuild: Rename HOSTCFLAGS to KBUILD_HOSTCFLAGSLaura Abbott1-5/+5
2018-06-27samples/bpf: Add xdp_sample_pkts exampleToke Høiland-Jørgensen1-0/+4
2018-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+4
2018-05-24samples/bpf: add a samples/bpf test for BPF_TASK_FD_QUERYYonghong Song1-0/+4
2018-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-05-14samples: bpf: make the build less noisyJakub Kicinski1-1/+2
2018-05-14samples: bpf: move libbpf from object dependencies to libsJakub Kicinski1-94/+51
2018-05-14samples: bpf: fix build after move to compiling full libbpf.aJakub Kicinski1-5/+12
2018-05-13x86/cpufeature: Guard asm_volatile_goto usage for BPF compilationAlexei Starovoitov1-1/+1
2018-05-11samples: bpf: convert some XDP samples from bpf_load to libbpfJakub Kicinski1-4/+4
2018-05-11tools: bpf: move the event reading loop to libbpfJakub Kicinski1-0/+8
2018-05-11samples: bpf: compile and link against full libbpfJakub Kicinski1-7/+14
2018-05-11samples/bpf: Add example of ipv4 and ipv6 forwarding in XDPDavid Ahern1-0/+4
2018-05-03samples/bpf: sample application and documentation for AF_XDP socketsMagnus Karlsson1-0/+4
2018-04-29samples/bpf: move common-purpose trace functions to selftestsYonghong Song1-5/+6
2018-04-27samples/bpf: remove the bpf tunnel testsuite.William Tu1-1/+0
2018-04-18bpf: add bpf_xdp_adjust_tail sample progNikita V. Shirokov1-0/+4
2018-03-28samples/bpf: raw tracepoint testAlexei Starovoitov1-0/+1
2018-02-26samples/bpf: Add program for CPU state statisticsLeo Yan1-0/+4
2018-02-02libbpf: add error reporting in XDPEric Leblond1-1/+1
2018-01-26samples/bpf: Partially fixes the bpf.o buildMickaël Salaün1-1/+4
2018-01-11samples/bpf: xdp2skb_meta shows transferring info from XDP to SKBJesper Dangaard Brouer1-0/+1
2018-01-05samples/bpf: program demonstrating access to xdp_rxq_infoJesper Dangaard Brouer1-0/+4
2017-12-12samples/bpf: add a test for bpf_override_returnJosef Bacik1-0/+4
2017-11-18kbuild: remove all dummy assignments to obj-Masahiro Yamada1-3/+0
2017-11-11bpf: Revert bpf_overrid_function() helper changes.David S. Miller1-4/+0
2017-11-11samples/bpf: add a test for bpf_override_returnJosef Bacik1-0/+4
2017-11-08xdp: Sample xdp program implementing ip forwardChristina Jacob1-0/+4
2017-11-05bpf: move cgroup_helpers from samples/bpf/ to tools/testing/selftesting/bpf/Roman Gushchin1-2/+3
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-22bpf: sample BPF_SOCKET_OPS_BASE_RTT programLawrence Brakmo1-0/+1
2017-10-18samples/bpf: add cpumap sample program xdp_redirect_cpuJesper Dangaard Brouer1-0/+4
2017-10-16bpf: Add -target to clang switch while cross compiling.Abhijit Ayarekar1-2/+3
2017-09-21samples/bpf: Fix pt_regs issues when cross-compilingJoel Fernandes1-1/+1
2017-09-21samples/bpf: Enable cross compiler supportJoel Fernandes1-0/+5
2017-08-29samples/bpf: xdp_monitor tool based on tracepointsJesper Dangaard Brouer1-0/+4
2017-08-07bpf: add a test case for syscalls/sys_{enter|exit}_* tracepointsYonghong Song1-0/+4
2017-07-17xdp: bpf redirect with map sample programJohn Fastabend1-0/+4
2017-07-17xdp: sample program for new bpf_redirect helperJohn Fastabend1-0/+4
2017-07-11samples/bpf: fix a build issueYonghong Song1-0/+1
2017-07-01bpf: Sample bpf program to set sndcwnd clampLawrence Brakmo1-0/+1
2017-07-01bpf: Sample BPF program to set initial cwndLawrence Brakmo1-0/+1
2017-07-01bpf: Sample BPF program to set congestion controlLawrence Brakmo1-0/+1
2017-07-01bpf: Sample BPF program to set buffer sizesLawrence Brakmo1-0/+1
2017-07-01bpf: Sample bpf program to set initial windowLawrence Brakmo1-0/+1
2017-07-01bpf: Sample bpf program to set SYN/SYN-ACK RTOsLawrence Brakmo1-0/+1
2017-07-01bpf: program to load and attach sock_ops BPF progsLawrence Brakmo1-0/+3
2017-06-22samples/bpf: fix a build problemYonghong Song1-1/+1
2017-06-14samples/bpf: Fix tracex5 to work with MIPS syscalls.David Daney1-0/+13
2017-04-24samples/bpf: add -Wno-unknown-warning-option to clangAlexander Alemayhu1-0/+1
2017-03-23A Sample of using socket cookie and uid for traffic monitoringChenbo Feng1-0/+3
2017-03-22bpf: Add tests for map-in-mapMartin KaFai Lau1-0/+4
2016-12-23Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-32/+38
2016-12-20samples/bpf: Move open_raw_sock to separate headerJoe Stringer1-1/+1
2016-12-20samples/bpf: Remove perf_event_open() declarationJoe Stringer1-0/+2
2016-12-20samples/bpf: Switch over to libbpfJoe Stringer1-32/+36
2016-12-17Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-2/+2
2016-12-11make use of make variable CURDIR instead of calling pwdUwe Kleine-König1-2/+2
2016-12-08bpf: xdp: Add XDP example for head adjustmentMartin KaFai Lau1-0/+4
2016-12-03samples, bpf: Add automated test for cgroup filter attachmentsSargun Dhillon1-0/+2
2016-12-03samples, bpf: Refactor test_current_task_under_cgroup - separate out helpersSargun Dhillon1-1/+1
2016-12-03samples/bpf: silence compiler warningsAlexei Starovoitov1-0/+2
2016-12-02samples/bpf: add userspace example for prohibiting socketsDavid Ahern1-0/+4
2016-12-02samples: bpf: add userspace example for modifying sk_bound_dev_ifDavid Ahern1-0/+2
2016-12-02bpf: Add tests and samples for LWT-BPFThomas Graf1-0/+4
2016-11-30samples/bpf: fix include pathAlexei Starovoitov1-1/+1
2016-11-27bpf: fix multiple issues in selftest suite and samplesDaniel Borkmann1-0/+1
2016-11-25samples: bpf: add userspace example for attaching eBPF programs to cgroupsDaniel Mack1-0/+2
2016-11-15bpf: Add tests for the LRU bpf_htabMartin KaFai Lau1-0/+2
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2016-11-12bpf: Add test for bpf_redirect to ipip/ip6tnlMartin KaFai Lau1-0/+4
2016-10-18bpf: add initial suite for selftestsDaniel Borkmann1-3/+0
2016-09-02samples/bpf: add sampleip exampleBrendan Gregg1-0/+4
2016-09-02samples/bpf: add perf_event+bpf exampleAlexei Starovoitov1-0/+4
2016-08-19samples/bpf: Add tunnel set/get tests.William Tu1-0/+1
2016-08-12samples/bpf: Add test_current_task_under_cgroup testSargun Dhillon1-0/+5
2016-07-25samples/bpf: Add test/example of using bpf_probe_write_user bpf helperSargun Dhillon1-0/+4
2016-07-19bpf: add sample for xdp forwarding and rewriteBrenden Blanco1-0/+5
2016-07-19Add sample for adding simple drop program to linkBrenden Blanco1-0/+4
2016-07-01cgroup: bpf: Add an example to do cgroup checking in BPFMartin KaFai Lau1-0/+3
2016-05-06samples/bpf: add 'pointer to packet' testsAlexei Starovoitov1-0/+2
2016-04-29samples/bpf: like LLC also verify and allow redefining CLANG commandJesper Dangaard Brouer1-11/+14
2016-04-29samples/bpf: allow make to be run from samples/bpf/ directoryJesper Dangaard Brouer1-0/+8