aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2018-05-13x86/cpufeature: Guard asm_volatile_goto usage for BPF compilationAlexei Starovoitov1-1/+1
2018-04-23bpf: sockmap sample use clang flag, -target bpfJohn Fastabend1-2/+5
2018-04-20Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds2-26/+50
2018-04-17livepatch: Allow to call a custom callback when freeing shadow variablesPetr Mladek2-21/+31
2018-04-17livepatch: Initialize shadow variables safely by a custom callbackPetr Mladek2-5/+19
2018-04-10Merge tag 'rproc-v4.17' of git://github.com/andersson/remoteprocLinus Torvalds4-1/+634
2018-04-06Merge tag 'vfio-v4.17-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-1/+1
2018-04-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds18-35/+1653
2018-03-30bpf: sockmap, more BPF_SK_SKB_STREAM_VERDICT testsJohn Fastabend3-4/+60
2018-03-30bpf: sockmap, add BPF_F_INGRESS testsJohn Fastabend3-11/+87
2018-03-28samples/bpf: raw tracepoint testAlexei Starovoitov4-0/+44
2018-03-28samples/bpf: fix spelling mistake: "revieve" -> "receive"Colin Ian King1-1/+1
2018-03-27soc: qcom: qmi: add CONFIG_NET dependencyArnd Bergmann1-0/+1
2018-03-22vfio-mdev/samples: change RDI interrupt conditionShunyong Yang1-1/+1
2018-03-19bpf: sockmap test scriptJohn Fastabend1-0/+450
2018-03-19bpf: sockmap sample test for bpf_msg_pull_dataJohn Fastabend2-14/+97
2018-03-19bpf: sockmap add SK_DROP testsJohn Fastabend2-16/+61
2018-03-19bpf: sockmap sample support for bpf_msg_cork_bytes()John Fastabend2-8/+64
2018-03-19bpf: sockmap, add sample option to test apply_bytes helperJohn Fastabend2-7/+66
2018-03-19bpf: sockmap sample, add data verification optionJohn Fastabend1-34/+84
2018-03-19bpf: sockmap sample, add sendfile testJohn Fastabend1-10/+60
2018-03-19bpf: sockmap sample, add option to attach SK_MSG programJohn Fastabend3-8/+119
2018-03-16arch: remove tile portArnd Bergmann1-8/+0
2018-03-16arch: remove blackfin portArnd Bergmann4-99/+1
2018-03-08samples/bpf: add example to test reading addressTeng Qin2-0/+19
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+1
2018-03-04samples/bpf: add gre sequence number test.William Tu2-4/+7
2018-03-02samples/bpf: detach prog from cgroupPrashant Bhole2-0/+4
2018-02-27Merge tag 'seccomp-v4.16-rc4' of https://git.kernel.org/pub/scm/linux/kernel/...James Morris1-9/+1
2018-02-26samples/bpf: Add program for CPU state statisticsLeo Yan3-0/+504
2018-02-22samples/seccomp: do not compile when cross compiledMichal Hocko1-9/+1
2018-02-13bpf: samples/sockmap detach sock ops programPrashant Bhole1-0/+1
2018-02-13bpf: samples/sockmap fix Makefile for build errorPrashant Bhole1-1/+1
2018-02-13samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp_redirectTushar Dave1-0/+7
2018-02-12samples: Introduce Qualcomm QMI sample clientBjorn Andersson4-1/+633
2018-02-06sample/bpf: fix erspan metadataWilliam Tu2-27/+18
2018-02-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller10-127/+25
2018-02-02samples/bpf: use bpf_set_link_xdp_fdEric Leblond9-126/+24
2018-02-02libbpf: add error reporting in XDPEric Leblond1-1/+1
2018-02-01Merge tag 'driver-core-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-6/+2
2018-01-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds14-142/+2121
2018-01-31Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds4-60/+0
2018-01-26samples/bpf: Partially fixes the bpf.o buildMickaël Salaün1-1/+4
2018-01-24bpf: sockmap set rlimitJohn Fastabend1-0/+7
2018-01-24bpf: sockmap put client sockets in blocking modeJohn Fastabend1-1/+1
2018-01-24bpf: sockmap sample add base test without any BPF for comparisonJohn Fastabend1-5/+21
2018-01-24bpf: sockmap sample, report bytes/secJohn Fastabend1-5/+42
2018-01-24bpf: sockmap sample, use fork() for send and recvJohn Fastabend1-16/+39
2018-01-24bpf: add sendmsg option for testing BPF programsJohn Fastabend1-3/+145
2018-01-24bpf: refactor sockmap sample program update for arg parsingJohn Fastabend1-51/+114
2018-01-20samples/bpf: xdp_monitor include cpumap tracepoints in monitoringJesper Dangaard Brouer2-67/+443
2018-01-18samples/bpf: xdp2skb_meta comment explain why pkt-data pointers are invalidatedJesper Dangaard Brouer1-3/+5
2018-01-17samples/bpf: Fix trailing semicolonLuis de Bethencourt1-1/+1
2018-01-11livepatch: Remove immediate featureMiroslav Benes4-60/+0
2018-01-11samples/bpf: xdp2skb_meta shows transferring info from XDP to SKBJesper Dangaard Brouer3-0/+324
2018-01-05samples/bpf: program demonstrating access to xdp_rxq_infoJesper Dangaard Brouer3-0/+631
2017-12-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller4-0/+63
2017-12-15samples/bpf: add erspan v2 sample codeWilliam Tu2-19/+96
2017-12-12samples/bpf: add a test for bpf_override_returnJosef Bacik4-0/+63
2017-12-11Merge 4.15-rc3 into driver-core-nextGreg Kroah-Hartman1-2/+12
2017-12-07kobject: Remove redundant license textGreg Kroah-Hartman2-6/+0
2017-12-07kobject: add SPDX identifiers to all kobject filesGreg Kroah-Hartman2-0/+2
2017-12-06samples/bpf: add ip6erspan sample codeWilliam Tu2-0/+95
2017-12-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+12
2017-12-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-12/+24
2017-12-04samples/bpf: extend test_tunnel_bpf.sh with ip6greWilliam Tu2-0/+108
2017-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-2/+12
2017-12-01samples/bpf: add error checking for perf ioctl calls in bpf loaderYonghong Song1-2/+12
2017-11-30samples/bpf: Convert magic numbers to names in multi-prog cgroup test caseDavid Ahern1-12/+24
2017-11-18kbuild: remove all dummy assignments to obj-Masahiro Yamada6-18/+0
2017-11-15Merge tag 'media/v4.15-1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+4
2017-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds35-493/+2958
2017-11-15Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds8-3/+932
2017-11-15Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+5
2017-11-14Merge tag 'vfio-v4.15-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-1/+1
2017-11-14Merge tag 'configfs-for-4.15' of git://git.infradead.org/users/hch/configfsLinus Torvalds1-4/+4
2017-11-14Merge tag 'staging-4.15-rc1' into v4l_for_linusMauro Carvalho Chehab2-4/+12
2017-11-14xdp: sample: Missing curly braces in read_route()Dan Carpenter1-2/+3
2017-11-13Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-68/+1
2017-11-13Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2017-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-0/+8
2017-11-13Merge tag 'docs-4.15' of git://git.lwn.net/linuxLinus Torvalds1-3/+3
2017-11-11bpf: Revert bpf_overrid_function() helper changes.David S. Miller4-63/+0
2017-11-11bpf: Fix tcp_clamp_kern.c sample programLawrence Brakmo1-11/+13
2017-11-11bpf: Fix tcp_iw_kern.c sample programLawrence Brakmo1-6/+8
2017-11-11bpf: Fix tcp_cong_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11bpf: Fix tcp_bufs_kern.c sample programLawrence Brakmo1-6/+8
2017-11-11bpf: Fix tcp_rwnd_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11bpf: Fix tcp_synrto_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11samples/bpf: add a test for bpf_override_returnJosef Bacik4-0/+63
2017-11-08bpf: Rename tcp_bbf.readme to tcp_bpf.readmeLawrence Brakmo1-0/+0
2017-11-08xdp: Sample xdp program implementing ip forwardChristina Jacob3-0/+849
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar59-1/+59
2017-11-07Merge branch 'linus' into perf/core, to fix conflictsIngo Molnar59-1/+59
2017-11-05bpf: move cgroup_helpers from samples/bpf/ to tools/testing/selftesting/bpf/Roman Gushchin3-197/+3
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller55-0/+55
2017-11-02Merge tag 'spdx_identifiers-4.14-rc8' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds58-0/+58
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman58-0/+58
2017-11-02samples/pktgen: remove remaining old pktgen sample scriptsJesper Dangaard Brouer3-192/+0
2017-11-02samples/pktgen: update sample03, no need for clones when burstingJesper Dangaard Brouer1-1/+1
2017-11-02samples/pktgen: add script pktgen_sample06_numa_awared_queue_irq_affinity.shRobert Hoo1-0/+97
2017-11-02samples/pktgen: Add some helper functionsRobert Hoo1-0/+43
2017-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-10-29samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp_redirect_mapTushar Dave1-0/+7
2017-10-29samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1Tushar Dave1-0/+8
2017-10-27Fix tracing sample code warning.Linus Torvalds1-1/+1
2017-10-27Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-1/+1
2017-10-25locking/atomics, samples/mic/mpssd/mpssd.c: Convert ACCESS_ONCE() to READ_ONC...Mark Rutland1-3/+3
2017-10-25bpf: add a test case to test single tp multiple bpf attachmentYonghong Song1-13/+53
2017-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-4/+12
2017-10-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2017-10-22bpf: create samples/bpf/tcp_bpf.readmeLawrence Brakmo1-0/+26
2017-10-22bpf: sample BPF_SOCKET_OPS_BASE_RTT programLawrence Brakmo2-0/+79
2017-10-20bpf: avoid preempt enable/disable in sockmap using tcp_skb_cb regionJohn Fastabend1-1/+1
2017-10-20kprobes: Remove the jprobes sample codeMasami Hiramatsu2-68/+1
2017-10-19samples: Convert timers to use timer_setup()Kees Cook1-3/+3
2017-10-19configfs: make config_item_type constBhumika Goyal1-4/+4
2017-10-19livepatch: add (un)patch callbacksJoe Lawrence4-0/+362
2017-10-18samples/bpf: add cpumap sample program xdp_redirect_cpuJesper Dangaard Brouer3-0/+1310
2017-10-18Merge tag 'trace-v4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+11
2017-10-17tracing/samples: Fix creation and deletion of simple_thread_fn creationSteven Rostedt (VMware)1-3/+11
2017-10-16bpf: Add -target to clang switch while cross compiling.Abhijit Ayarekar1-2/+3
2017-10-12tracing: Fix doc mistakes in trace sampleJeremy Linton1-5/+5
2017-10-07bpf: add a test case for helper bpf_perf_prog_read_valueYonghong Song2-5/+18
2017-10-07bpf: add a test case for helper bpf_perf_event_read_valueYonghong Song2-1/+38
2017-10-06samples/bpf: xdp_monitor increase memory rlimitJesper Dangaard Brouer1-2/+9
2017-10-06samples/bpf: xdp_monitor also record xdp_exception tracepointJesper Dangaard Brouer2-25/+121
2017-10-06samples/bpf: xdp_monitor first 8 bytes are not accessible by bpfJesper Dangaard Brouer1-13/+9
2017-10-04samples/bpf: use bpf_prog_query() interfaceAlexei Starovoitov1-0/+36
2017-10-04samples/bpf: add multi-prog cgroup test caseAlexei Starovoitov2-7/+185
2017-10-04[media] media: v4l2-pci-skeleton: Fix error handling path in 'skeleton_probe()'Christophe JAILLET1-2/+4
2017-10-02vfio-mdev/samples: make mdev_fops const and staticBhumika Goyal1-1/+1
2017-10-01samples/bpf: fix warnings in xdp_monitor_userStephen Hemminger1-2/+2
2017-09-29bpf: libbpf: Provide basic API support to specify BPF obj nameMartin KaFai Lau2-0/+3
2017-09-28samples/kprobes: Add s390 case in kprobe example moduleJohannes Thumshirn1-0/+8
2017-09-21samples/bpf: Add documentation on cross compilationJoel Fernandes1-0/+10
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-09-21samples/bpf: Use getppid instead of getpgrp for array map stressJoel Fernandes2-2/+2
2017-09-14livepatch: introduce shadow variable APIJoe Lawrence5-3/+570
2017-09-07Merge tag 'media/v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds1-1/+1
2017-09-01bpf: Add lru_hash_lookup performance testMartin KaFai Lau2-9/+112
2017-09-01samples/bpf: Update cgroup socket examples to use uid gid helperDavid Ahern2-1/+16
2017-09-01samples/bpf: Update cgrp2 socket testsDavid Ahern1-38/+124
2017-09-01samples/bpf: Add option to dump socket settingsDavid Ahern1-2/+73
2017-09-01samples/bpf: Add detach option to test_cgrp2_sockDavid Ahern1-15/+35
2017-09-01samples/bpf: Update sock test to allow setting mark and priorityDavid Ahern2-17/+119
2017-08-31samples/bpf: Fix compilation issue in redirect dummy programTariq Toukan2-2/+2
2017-08-29samples/bpf: xdp_monitor tool based on tracepointsJesper Dangaard Brouer3-0/+387
2017-08-29samples/bpf: xdp_redirect load XDP dummy prog on TX deviceJesper Dangaard Brouer4-15/+50
2017-08-28samples/bpf: extend test_tunnel_bpf.sh with ERSPANWilliam Tu2-1/+91
2017-08-28bpf: convert sockmap field attach_bpf_fd2 to typeJohn Fastabend2-6/+12
2017-08-20media: v4l2-pci-skeleton: constify vb2_ops structuresJulia Lawall1-1/+1
2017-08-19bpf: Allow numa selection in INNER_LRU_HASH_PREALLOC test of map_perf_testMartin KaFai Lau4-11/+25
2017-08-16bpf: sockmap sample programJohn Fastabend4-2/+480
2017-08-07bpf: add a test case for syscalls/sys_{enter|exit}_* tracepointsYonghong Song3-0/+137
2017-08-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-2/+3
2017-07-31samples/bpf: fix bpf tunnel cleanupWilliam Tu2-2/+3
2017-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+4
2017-07-17samples/bpf: add option for native and skb mode for redirect appsAndy Gospodarek2-18/+82
2017-07-17xdp: bpf redirect with map sample programJohn Fastabend3-0/+192
2017-07-17xdp: sample program for new bpf_redirect helperJohn Fastabend3-0/+187
2017-07-13Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+4
2017-07-12kfifo: clean up example to not use page_linkLogan Gunthorpe1-4/+4
2017-07-11samples/bpf: fix a build issueYonghong Song2-198/+1
2017-07-05bpf: fix return in load_bpf_fileLawrence Brakmo1-2/+6
2017-07-01bpf: Sample bpf program to set sndcwnd clampLawrence Brakmo2-0/+103
2017-07-01bpf: Sample BPF program to set initial cwndLawrence Brakmo2-0/+89
2017-07-01bpf: Sample BPF program to set congestion controlLawrence Brakmo2-0/+84
2017-07-01bpf: Sample BPF program to set buffer sizesLawrence Brakmo2-0/+87
2017-07-01bpf: Add setsockopt helper function to bpfLawrence Brakmo1-0/+3
2017-07-01bpf: Sample bpf program to set initial windowLawrence Brakmo2-0/+70
2017-07-01bpf: Sample bpf program to set SYN/SYN-ACK RTOsLawrence Brakmo2-0/+70
2017-07-01bpf: program to load and attach sock_ops BPF progsLawrence Brakmo2-0/+100
2017-07-01bpf: BPF support for sock_opsLawrence Brakmo1-3/+10
2017-06-29bpf: Add test for syscall on fd array/htab lookupMartin KaFai Lau2-1/+31
2017-06-22samples/bpf: fix a build problemYonghong Song1-1/+1
2017-06-16pktgen: Specify the index of first threadTariq Toukan8-18/+27
2017-06-16pktgen: Specify num packets per threadTariq Toukan9-8/+15
2017-06-14samples/bpf: Fix tracex5 to work with MIPS syscalls.David Daney3-3/+33
2017-06-14bpf: Add MIPS support to samples/bpf.David Daney1-0/+13
2017-06-04samples/bpf: add tests for more perf event typesTeng Qin4-56/+228
2017-05-31samples/bpf: bpf_load.c order of prog_fd[] should correspond with ELF orderJesper Dangaard Brouer1-14/+5
2017-05-11samples/bpf: run cleanup routines when receiving SIGTERMAndy Gospodarek7-1/+9
2017-05-11xdp: add flag to enforce driver modeDaniel Borkmann2-3/+12
2017-05-04Merge tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+0
2017-05-03samples/bpf: export map_data[] for more info on mapsJesper Dangaard Brouer1-1/+7
2017-05-03samples/bpf: load_bpf.c make callback fixup more flexibleJesper Dangaard Brouer3-18/+23
2017-05-03samples/bpf: make bpf_load.c code compatible with ELF maps section changesJesper Dangaard Brouer1-69/+155
2017-05-03samples/bpf: adjust rlimit RLIMIT_MEMLOCK for traceex2, tracex3 and tracex4Jesper Dangaard Brouer3-0/+22
2017-05-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+17
2017-05-02bpf, samples: fix build warning in cookie_uid_helper_exampleDaniel Borkmann1-3/+3
2017-05-01samples/bpf: fix XDP_FLAGS_SKB_MODE detach for xdp_tx_iptunnelJesper Dangaard Brouer1-2/+2
2017-05-01samples/bpf: fix SKB_MODE flag to be a 32-bit unsigned intJesper Dangaard Brouer4-10/+11
2017-04-30samples/bpf: bpf_load.c detect and abort if ELF maps section size is wrongJesper Dangaard Brouer1-9/+31
2017-04-27samples/bpf: Add support for SKB_MODE to xdp1 and xdp_tx_iptunnelDavid Ahern4-16/+58
2017-04-26mei: drop the TODO from samplesTomas Winkler1-2/+0
2017-04-24samples/bpf: check before defining offsetofAlexander Alemayhu1-1/+3
2017-04-24samples/bpf: add static to function with no prototypeAlexander Alemayhu1-1/+1
2017-04-24samples/bpf: add -Wno-unknown-warning-option to clangAlexander Alemayhu1-0/+1