aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
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
2017-04-22bpf: Add sparc support to tools and samples.David S. Miller1-0/+19
2017-04-17bpf: lru: Add map-in-map LRU exampleMartin KaFai Lau2-3/+93
2017-04-17bpf: Allow bpf sample programs (*_user.c) to change bpf_map_defMartin KaFai Lau3-74/+201
2017-04-17bpf: lru: Refactor LRU map tests in map_perf_testMartin KaFai Lau2-29/+67
2017-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+8
2017-04-08Sample program using SO_COOKIEChenbo Feng2-23/+127
2017-04-03statx: Include a mask for stx_attributes in struct statxDavid Howells1-4/+8
2017-03-23A Sample of using socket cookie and uid for traffic monitoringChenbo Feng4-0/+244
2017-03-22bpf: Add tests for map-in-mapMartin KaFai Lau5-5/+311
2017-03-16samples/bpf: add map_lookup microbenchmarkAlexei Starovoitov2-0/+65
2017-03-08livepatch: allow removal of a disabled patchJosh Poimboeuf1-1/+0
2017-03-08livepatch: change to a per-task consistency modelJosh Poimboeuf1-0/+17
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds4-1/+271
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells4-1/+271
2017-03-02sched/core: Remove the tsk_cpus_allowed() wrapperIngo Molnar1-1/+1
2017-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds2-0/+79
2017-02-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-53/+72
2017-02-20Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-0/+8
2017-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller4-7/+67
2017-02-13samples/bpf: Reset global variablesMickaël Salaün1-0/+5
2017-02-13samples/bpf: Ignore already processed ELF sectionsMickaël Salaün1-0/+2
2017-02-13samples/bpf: Add missing headerMickaël Salaün1-0/+1
2017-02-12bpf: introduce BPF_F_ALLOW_OVERRIDE flagAlexei Starovoitov4-7/+67
2017-01-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-0/+2
2017-01-23samples/bpf: add lpm-trie benchmarkDavid Herrmann2-0/+79
2017-01-20bpf: fix samples xdp_tx_iptunnel and tc_l2_redirect with fake KBUILD_MODNAMEJesper Dangaard Brouer2-0/+2
2017-01-15Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2-2/+1
2017-01-11vfio-mdev: remove some dead codeDan Carpenter1-3/+0
2017-01-11vfio-mdev: buffer overflow in ioctl()Dan Carpenter1-2/+5
2017-01-11vfio-mdev: return -EFAULT if copy_to_user() failsDan Carpenter1-3/+12
2017-01-09samples/seccomp: fix 64-bit comparison macrosMathias Svensson1-53/+72
2017-01-05Merge tag 'perf-urgent-for-mingo-4.10-20170104' of git://git.kernel.org/pub/s...Ingo Molnar2-2/+1
2017-01-04vfio-mdev: fix some error codes in the sample codeDan Carpenter1-1/+3
2016-12-30vfio-mdev: Make mdev_device private and abstract interfacesAlex Williamson1-11/+13
2016-12-30vfio-mdev: Make mdev_parent privateAlex Williamson1-1/+1
2016-12-30vfio-mdev: de-polute the namespace, rename parent_device & parent_opsAlex Williamson1-1/+1
2016-12-30vfio-mdev: Fix mtty sample driver buildingAlex Williamson3-14/+10
2016-12-28samples/bpf trace_output_user: Remove duplicate sys/ioctl.h includeArnaldo Carvalho de Melo1-1/+0
2016-12-27samples/bpf sock_example: Avoid getting ethhdr from two includesArnaldo Carvalho de Melo1-1/+1
2016-12-23Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds33-334/+216
2016-12-20samples/bpf: Move open_raw_sock to separate headerJoe Stringer8-6/+7
2016-12-20samples/bpf: Remove perf_event_open() declarationJoe Stringer8-18/+15
2016-12-20samples/bpf: Be consistent with bpf_load_program bpf_insn parameterArnaldo Carvalho de Melo1-1/+1
2016-12-20tools lib bpf: Add bpf_prog_{attach,detach}Joe Stringer2-24/+0
2016-12-20samples/bpf: Switch over to libbpfJoe Stringer10-168/+52
2016-12-20samples/bpf: Make perf_event_read() staticArnaldo Carvalho de Melo1-1/+1
2016-12-17Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds2-3/+3
2016-12-15Merge tag 'trace-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds2-2/+3
2016-12-15samples/bpf: Make samples more libbpf-centricJoe Stringer30-109/+133
2016-12-14Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds3-23/+26
2016-12-13Merge tag 'vfio-v4.10-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds2-0/+1516
2016-12-11make use of make variable CURDIR instead of calling pwdUwe Kleine-König2-3/+3
2016-12-09tracing: Have the reg function allow to failSteven Rostedt (Red Hat)2-2/+3
2016-12-08bpf: xdp: Add XDP example for head adjustmentMartin KaFai Lau8-93/+630
2016-12-03samples, bpf: Add automated test for cgroup filter attachmentsSargun Dhillon2-0/+134
2016-12-03samples, bpf: Refactor test_current_task_under_cgroup - separate out helpersSargun Dhillon4-85/+218
2016-12-03samples/bpf: silence compiler warningsAlexei Starovoitov1-0/+2
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-3/+3
2016-12-02samples/bpf: add userspace example for prohibiting socketsDavid Ahern4-0/+195
2016-12-02samples/bpf: Update bpf loader for cgroup section namesDavid Ahern2-3/+12
2016-12-02samples: bpf: add userspace example for modifying sk_bound_dev_ifDavid Ahern3-0/+132
2016-12-02bpf: Add tests and samples for LWT-BPFThomas Graf7-0/+855
2016-11-30samples/bpf: fix include pathAlexei Starovoitov1-1/+1
2016-11-30samples: bpf: Refactor test_cgrp2_attach -- use getopt, and add modeSargun Dhillon1-30/+50
2016-11-28bpf/samples: Fix PT_REGS_IP on s390x and use itMichael Holzheu3-3/+3
2016-11-27bpf: fix multiple issues in selftest suite and samplesDaniel Borkmann5-5/+15
2016-11-25samples: bpf: add userspace example for attaching eBPF programs to cgroupsDaniel Mack4-0/+173
2016-11-24samples/bpf: fix bpf loaderAlexei Starovoitov1-0/+4
2016-11-24samples/bpf: fix sockex2 exampleAlexei Starovoitov2-2/+2
2016-11-17docs: Sample driver to demonstrate how to use Mediated device framework.Kirti Wankhede2-0/+1516
2016-11-15bpf: Add tests for the LRU bpf_htabMartin KaFai Lau4-0/+611
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller4-0/+486
2016-11-14Merge commit 'v4.9-rc5' into nextJames Morris6-0/+6
2016-11-12bpf: Add test for bpf_redirect to ipip/ip6tnlMartin KaFai Lau4-0/+486
2016-11-01samples/seccomp: Support programs with >256 instructionsRicky Zhou1-19/+19
2016-11-01samples/seccomp: Enable PR_SET_NO_NEW_PRIVS in dropperRicky Zhou1-2/+5
2016-11-01samples/seccomp: Fix hostprogs variableRicky Zhou1-2/+2
2016-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller30-1/+3662
2016-10-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds6-0/+6
2016-10-29bpf: fix samples to add fake KBUILD_MODNAMEDaniel Borkmann6-0/+6
2016-10-18bpf: add initial suite for selftestsDaniel Borkmann3-3151/+0
2016-10-18bpf: add various tests around spill/fill of regsDaniel Borkmann1-0/+116
2016-10-14Merge tag 'linux-kselftest-4.9-rc1-update' of git://git.kernel.org/pub/scm/li...Linus Torvalds24-1/+3656
2016-10-10samples: move blackfin gptimers-example from DocumentationShuah Khan4-1/+99
2016-10-06Merge tag 'rpmsg-v4.9' of git://github.com/andersson/remoteprocLinus Torvalds1-9/+23
2016-09-29bpf: allow access into map value arraysJosef Bacik2-4/+247
2016-09-27bpf samples: update tracex5 sample to use __seccomp_filterNaveen N. Rao2-9/+10
2016-09-27bpf samples: fix compiler errors with sockex2 and sockex3Naveen N. Rao3-11/+11
2016-09-23samples: move auxdisplay example code from DocumentationShuah Khan3-0/+291
2016-09-23samples: move watchdog example code from DocumentationShuah Khan3-0/+33
2016-09-23samples: move timers example code from DocumentationShuah Khan3-0/+310
2016-09-23samples: move misc-devices/mei example code from DocumentationShuah Khan4-0/+491
2016-09-20bpf: add test cases for direct packet accessDaniel Borkmann1-3/+430
2016-09-20samples: move mic/mpssd example code from DocumentationShuah Khan7-0/+2432
2016-09-17samples/bpf: add comprehensive ipip, ipip6, ip6ip6 testAlexei Starovoitov2-0/+310
2016-09-17samples/bpf: extend test_tunnel_bpf.sh with IPIP testAlexei Starovoitov2-8/+106
2016-09-08rpmsg: Allow callback to return errorsBjorn Andersson1-2/+4
2016-09-08rpmsg: Clean up rpmsg device vs channel namingBjorn Andersson1-3/+3
2016-09-08rpmsg: rpmsg_send() operations takes rpmsg_endpointBjorn Andersson1-2/+2
2016-09-08bpf: fix range propagation on direct packet accessDaniel Borkmann1-0/+102
2016-09-02samples/bpf: add sampleip exampleBrendan Gregg3-0/+238
2016-09-02samples/bpf: add perf_event+bpf exampleAlexei Starovoitov5-1/+290
2016-08-19samples/bpf: Add tunnel set/get tests.William Tu4-0/+327
2016-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller5-31/+24
2016-08-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds3-5/+16
2016-08-12samples/bpf: add verifier tests for the helper access to the packetAaron Yue1-4/+110
2016-08-12bpf: fix bpf_skb_in_cgroup helper namingDaniel Borkmann2-3/+3
2016-08-12samples/bpf: Add test_current_task_under_cgroup testSargun Dhillon4-0/+195
2016-08-12samples/rpmsg: add support for multiple instancesAnna, Suman1-3/+15
2016-08-10samples/bpf: fix bpf_perf_event_output prototypeAdam Barth1-1/+3
2016-08-06samples/bpf: add bpf_map_update_elem() testsAlexei Starovoitov1-2/+13
2016-08-04samples/kretprobe: fix the wrong typeHuang Shijie1-2/+2
2016-08-04samples/kretprobe: convert the printk to pr_info/pr_errHuang Shijie1-7/+5
2016-08-04samples/jprobe: convert the printk to pr_info/pr_errHuang Shijie1-3/+3
2016-08-04samples/kprobe: convert the printk to pr_info/pr_errHuang Shijie1-17/+12
2016-07-29Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds2-1/+8
2016-07-28Merge tag 'trace-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds4-1/+70
2016-07-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds23-140/+1178
2016-07-27Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+9
2016-07-25samples/bpf: Add test/example of using bpf_probe_write_user bpf helperSargun Dhillon3-0/+134
2016-07-25bpf: Add bpf_probe_write_user BPF helper to be called in tracersSargun Dhillon1-0/+2
2016-07-20samples: Add an IPv6 '-6' option to the pktgen scriptsMartin KaFai Lau6-11/+26
2016-07-20bpf: make xdp sample variable names more meaningfulBrenden Blanco2-13/+13
2016-07-19bpf: add sample for xdp forwarding and rewriteBrenden Blanco2-0/+119
2016-07-19Add sample for adding simple drop program to linkBrenden Blanco4-0/+286
2016-07-19kprobes: Add arm64 case in kprobe example moduleSandeepa Prabhu1-0/+9
2016-07-14pktgen: remove sample script pktgen.conf-1-1-rdosJesper Dangaard Brouer1-64/+0
2016-07-14pktgen: add sample script pktgen_sample05_flow_per_thread.shJesper Dangaard Brouer1-0/+81
2016-07-14pktgen: add sample script pktgen_sample04_many_flows.shJesper Dangaard Brouer2-67/+93
2016-07-08[media] vb2: replace void *alloc_ctxs by struct device *alloc_devsHans Verkuil1-1/+1
2016-07-08[media] v4l2-pci-skeleton: set q->dev instead of allocating a contextHans Verkuil1-13/+2
2016-07-07samples/seccomp: Add standalone config optionOlof Johansson2-1/+8
2016-07-04net: samples: pktgen mode samples/tests for qdisc layerJohn Fastabend1-0/+66
2016-07-01cgroup: bpf: Add an example to do cgroup checking in BPFMartin KaFai Lau5-0/+367
2016-06-25samples/bpf: set max locked memory to ulimitedWilliam Tu2-0/+6
2016-06-20tracing: Add trace_printk sample codeSteven Rostedt (Red Hat)4-1/+70
2016-05-20samples/kprobes: print out the symbol name for the hooksHuang Shijie1-16/+16
2016-05-20samples/kprobes: add a new module parameterHuang Shijie1-1/+5
2016-05-20kprobes: add the "tls" argument for j_do_forkHuang Shijie1-1/+1
2016-05-19Merge tag 'docs-for-linus' of git://git.lwn.net/linuxLinus Torvalds6-1/+478
2016-05-18Merge tag 'rpmsg-v4.7' of git://github.com/andersson/remoteprocLinus Torvalds1-13/+1
2016-05-18Merge tag 'media/v4.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds3-1/+924
2016-05-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-0/+1
2016-05-09[media] samples: v4l: from Documentation to samples directoryArnd Bergmann3-1/+924
2016-05-06samples/bpf: add verifier testsAlexei Starovoitov1-0/+80
2016-05-06samples/bpf: add 'pointer to packet' testsAlexei Starovoitov5-0/+281
2016-05-06rpmsg: use module_rpmsg_driver in existing drivers and examplesAndrew F. Davis1-12/+1
2016-05-06rpmsg: drop owner assignment from rpmsg_driversAndrew F. Davis1-1/+0
2016-05-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+0
2016-04-29samples/bpf: like LLC also verify and allow redefining CLANG commandJesper Dangaard Brouer2-14/+17
2016-04-29samples/bpf: allow make to be run from samples/bpf/ directoryJesper Dangaard Brouer2-0/+11
2016-04-29samples/bpf: add a README file to get users startedJesper Dangaard Brouer1-0/+63
2016-04-29samples/bpf: Makefile verify LLVM compiler avail and bpf target is supportedJesper Dangaard Brouer1-0/+18
2016-04-29samples/bpf: add back functionality to redefine LLC commandJesper Dangaard Brouer1-1/+5
2016-04-28samples/bpf: fix trace_output exampleAlexei Starovoitov1-1/+0
2016-04-28samples: v4l: from Documentation to samples directoryArnd Bergmann3-1/+925
2016-04-28samples: connector: from Documentation to samples directoryArnd Bergmann6-1/+478
2016-04-14bpf, samples: add test cases for raw stackDaniel Borkmann1-0/+268
2016-04-14bpf, samples: don't zero data when not neededDaniel Borkmann4-12/+12
2016-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller6-13/+34
2016-04-07samples/bpf: add tracepoint vs kprobe performance testsAlexei Starovoitov4-0/+244
2016-04-07samples/bpf: tracepoint exampleAlexei Starovoitov1-4/+22