aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2019-08-08auxdisplay: Fix a typo in cfag12864b-example.cMasanari Iida1-1/+1
2019-07-25treewide: remove SPDX "WITH Linux-syscall-note" from kernel-space headers againMasahiro Yamada1-1/+1
2019-07-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2019-07-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-1/+1
2019-07-17Merge tag 'vfio-v5.3-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds2-26/+24
2019-07-15samples/bpf: build with -D__TARGET_ARCH_$(SRCARCH)Ilya Leoshkevich1-1/+1
2019-07-15docs: driver-api: add a series of orphaned documentsMauro Carvalho Chehab1-1/+1
2019-07-15docs: connector: convert to ReST and rename to connector.rstMauro Carvalho Chehab1-1/+1
2019-07-12Merge tag 'kbuild-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds2-5/+13
2019-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds47-648/+705
2019-07-09Merge tag 'media/v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds1-0/+1
2019-07-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-07-08Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2019-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller13-60/+377
2019-07-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-1/+1
2019-07-03samples/bpf: fix tcp_bpf.readme detach commandStanislav Fomichev1-1/+1
2019-07-03samples/bpf: add sample program that periodically dumps TCP statsStanislav Fomichev2-0/+69
2019-07-03bpf: Add support for fq's EDT to HBMbrakmo5-19/+231
2019-07-02sample/mdev/mbochs: remove set but not used variable 'mdev_state'YueHaibing1-3/+0
2019-07-02vfio-mdev/samples: make some symbols staticKefeng Wang1-23/+24
2019-07-01samples: pktgen: allow to specify destination portDaniel T. Lee10-2/+95
2019-07-01samples: pktgen: add some helper functions for port parsingDaniel T. Lee1-0/+34
2019-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+6
2019-06-27xsk: Change the default frame size to 4096 and allow controlling itMaxim Mikityanskiy1-16/+28
2019-06-26samples: bpf: make the use of xdp samples consistentDaniel T. Lee4-12/+42
2019-06-24samples: bpf: Remove bpf_debug macro in favor of bpf_printkMichal Rostecki1-12/+6
2019-06-24Merge tag 'v5.2-rc6' into sched/core, to refresh the branchIngo Molnar8-20/+9
2019-06-24samples/bpf: xdp_redirect, correctly get dummy program idPrashant Bhole1-1/+1
2019-06-24samples: make pidfd-metadata fail gracefully on older kernelsDmitry V. Levin1-2/+6
2019-06-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller6-18/+7
2019-06-21Merge tag 'spdx-5.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds6-18/+7
2019-06-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller16-31/+34
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505Thomas Gleixner1-1/+2
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-5/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465Thomas Gleixner4-12/+4
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller10-89/+10
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds2-2/+2
2019-06-18samples: bpf: refactor header include pathDaniel T. Lee15-20/+20
2019-06-18samples: bpf: remove unnecessary include options in MakefileDaniel T. Lee1-9/+0
2019-06-17Merge tag 'v5.2-rc5' into sched/core, to pick up fixesIngo Molnar9-87/+12
2019-06-15kbuild: add CONFIG_HEADERS_INSTALL and loosen the dependency of samplesMasahiro Yamada2-5/+13
2019-06-15samples/bpf: fix include path in MakefilePrashant Bhole1-1/+1
2019-06-11Merge tag 'v5.2-rc4' into media/masterMauro Carvalho Chehab33-225/+36
2019-06-10samples: bpf: don't run probes at the local make stageJakub Kicinski1-0/+3
2019-06-08Merge tag 'spdx-5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds8-87/+8
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller2-2/+2
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller25-138/+28
2019-06-06samples: bpf: print a warning about headers_installJakub Kicinski1-0/+9
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 295Thomas Gleixner2-18/+2
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 290Thomas Gleixner5-60/+5
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282Thomas Gleixner1-9/+1
2019-06-05samples: fix pidfd-metadata compilationGuenter Roeck1-0/+4
2019-06-04bpf: hbm: fix spelling mistake "notifcations" -> "notificiations"Colin Ian King1-1/+1
2019-06-03sched/core: Provide a pointer to the valid CPU maskSebastian Andrzej Siewior1-1/+1
2019-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller18-559/+169
2019-05-31bpf: Add more stats to HBMbrakmo4-10/+117
2019-05-31bpf: Add cn support to hbm_out_kern.cbrakmo4-12/+45
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206Thomas Gleixner20-80/+20
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner3-43/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 145Thomas Gleixner1-15/+1
2019-05-28media: v4l2-pci-skeleton.c: fix doc warningHans Verkuil1-0/+1
2019-05-28selftests/bpf: convert test_cgrp2_attach2 example into kselftestRoman Gushchin2-461/+0
2019-05-28samples/bpf: fix a couple of style issues in bpf_loadDaniel T. Lee1-4/+4
2019-05-24samples: bpf: add ibumad sample to .gitignoreMatteo Croce1-0/+1
2019-05-24samples: bpf: Do not define bpf_printk macroMichal Rostecki10-72/+2
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36Thomas Gleixner2-10/+2
2019-05-21samples, bpf: suppress compiler warningMatteo Croce1-1/+1
2019-05-21samples, bpf: fix to change the buffer size for read()Chang-Hsien Tsai1-1/+1
2019-05-21treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13Thomas Gleixner7-91/+7
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner17-0/+17
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner4-0/+4
2019-05-18samples: guard sub-directories with CONFIG optionsMasahiro Yamada3-6/+22
2019-05-14Add gitignore file for samples/vfs/ generated filesLinus Torvalds1-0/+2
2019-05-10samples: add .gitignore for pidfd-metadataChristian Brauner1-0/+1
2019-05-09Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds3-0/+269
2019-05-08Merge tag 'kbuild-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds3-6/+5
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds6-1/+24
2019-05-07Merge branch 'work.mount-syscalls' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds5-7/+153
2019-05-07Merge tag 'driver-core-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+2
2019-05-07samples: show race-free pidfd metadata accessChristian Brauner3-1/+119
2019-05-03samples: kobject: allow CONFIG_SAMPLE_KOBJECT to become yMasahiro Yamada1-2/+1
2019-05-03samples: seccomp: turn CONFIG_SAMPLE_SECCOMP into a bool optionMasahiro Yamada2-3/+3
2019-05-03kbuild: move samples/ to KBUILD_VMLINUX_OBJSMasahiro Yamada1-1/+1
2019-04-25samples: bpf: add hbm sample to .gitignoreDaniel T. Lee1-0/+1
2019-04-25samples/kobject: Replace foo_ktype's default_attrs field with groupsKimberly Brown1-1/+2
2019-04-05samples/bpf: fix build with new clangAlexei Starovoitov1-0/+1
2019-04-04samples, selftests/bpf: add NULL check for ksym_searchDaniel T. Lee4-1/+21
2019-03-27BPF: Add sample code for new ib_umad tracepointIra Weiny3-0/+269
2019-03-21samples: bpf: add xdp_sample_pkts to .gitignoreDaniel T. Lee1-0/+1
2019-03-20vfs: Add a sample program for the new mount APIDavid Howells5-7/+153
2019-03-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-2/+2
2019-03-09Merge tag 'media/v5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds1-4/+4
2019-03-09Merge tag 'docs-5.1' of git://git.lwn.net/linuxLinus Torvalds4-1/+92
2019-03-08Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/liv...Linus Torvalds5-59/+14
2019-03-07samples/mic/mpssd/mpssd.h: remove duplicate headerBrajeswar Ghosh1-3/+0
2019-03-07bpf: hbm: fix spelling mistake "deault" -> "default"Colin Ian King1-2/+2
2019-03-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds39-971/+2216
2019-03-05Merge branch 'for-5.0/upstream-fixes' into for-linusJiri Kosina3-9/+10
2019-03-04Merge tag 'vfio-v5.1-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds3-16/+17
2019-03-02bpf: HBM test scriptbrakmo1-0/+436
2019-03-02bpf: User program for testing HBMbrakmo2-0/+444
2019-03-02bpf: Sample HBM BPF program to limit egress bwbrakmo4-0/+327
2019-03-02samples/bpf: silence compiler warning for xdpsock_user.cYonghong Song1-3/+3
2019-03-01samples: bpf: use libbpf where easyJakub Kicinski4-25/+35
2019-03-01samples: bpf: remove load_sock_ops in favour of bpftoolJakub Kicinski12-114/+16
2019-03-01samples: bpf: force IPv4 in pingJakub Kicinski5-5/+5
2019-02-27samples: bpf: fix: broken sample regarding removed functionDaniel T. Lee3-3/+3
2019-02-25samples/bpf: convert xdpsock to use libbpf for AF_XDP accessMagnus Karlsson4-648/+261
2019-02-22samples/bpf: Fix dummy program unloading for xdp_redirect samplesToke Høiland-Jørgensen2-2/+2
2019-02-18Merge tag 'v5.0-rc7' into patchworkMauro Carvalho Chehab7-10/+28
2019-02-12samples/vfio-mdev/mtty: expand minor range when registering chrdev regionChengguang Xu1-4/+5
2019-02-12samples/vfio-mdev/mdpy: expand minor range when registering chrdev regionChengguang Xu1-4/+4
2019-02-12samples/vfio-mdev/mbochs: expand minor range when registering chrdev regionChengguang Xu1-4/+4
2019-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-02-05vfio-mdev: Switch to use new generic UUID APIAndy Shevchenko1-4/+4
2019-02-01samples/bpf: Check the prog id before exitingMaciej Fijalkowski10-48/+308
2019-02-01samples/bpf: Add a "force" flag to XDP samplesMaciej Fijalkowski10-40/+119
2019-02-01samples/bpf: Extend RLIMIT_MEMLOCK for xdp_{sample_pkts, router_ipv4}Maciej Fijalkowski2-0/+14
2019-02-01samples/bpf: Convert XDP samples to libbpf usageMaciej Fijalkowski6-103/+253
2019-02-01samples/bpf: xdp_redirect_cpu have not need for read_trace_pipeJesper Dangaard Brouer1-10/+0
2019-01-30samples: mei: use /dev/mei0 instead of /dev/meiTomas Winkler1-1/+1
2019-01-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+20
2019-01-26selftests: bpf: functional and min/max reasoning unit tests for JMP32Jiong Wang1-0/+20
2019-01-25media: v4l2-pci-skeleton.c: fix outdated irq codeHans Verkuil1-4/+4
2019-01-25livepatch: samples: non static warnings fixNicholas Mc Guire3-9/+10
2019-01-15samples/bpf: workaround clang asm goto compilation errorsYonghong Song2-0/+17
2019-01-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds3-9/+9
2019-01-14samples: add binderfs sample programChristian Brauner4-1/+92
2019-01-11livepatch: Simplify API by removing registration stepPetr Mladek4-50/+4
2019-01-10samples: bpf: user proper argument indexIoana Ciornei1-1/+1
2019-01-08samples/seccomp: Fix 32-bit buildTycho Andersen1-0/+1
2019-01-07selftests/bpf: fix incorrect users of create_and_get_cgroupStanislav Fomichev2-8/+8
2019-01-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid...Linus Torvalds1-1/+1
2019-01-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds2-0/+9
2019-01-02Merge branch 'next-seccomp' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-1/+382
2018-12-29Merge tag 'kbuild-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds2-4/+2
2018-12-28Merge tag 'vfio-v4.21-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-13/+13
2018-12-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds3-23/+51
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-12-18livepatch: check kzalloc return valuesNicholas Mc Guire2-0/+9
2018-12-17vfio-mdev/samples: Use u8 instead of char for handle functionsNathan Chancellor1-13/+13
2018-12-11samples: add an example of seccomp user trapTycho Andersen3-1/+382
2018-12-03samples: bpf: fix: seg fault with NULL pointer argDaniel T. Lee1-1/+3
2018-12-03media: v4l2-pci-skeleton: replace vb2_buffer with vb2_v4l2_bufferMichael Tretter1-5/+6
2018-12-01kbuild: announce removal of SUBDIRS if usedMasahiro Yamada1-1/+1
2018-11-30samples: bpf: get ifindex from ifnameMatteo Croce1-2/+7
2018-11-30samples: bpf: improve xdp1 exampleMatteo Croce1-10/+8
2018-11-23samples: bpf: fix: error handling regarding kprobe_eventsDaniel T. Lee1-9/+24
2018-11-21HID: samples/hidraw: fix typo in printed messageJonathan Davies1-1/+1
2018-11-20tools/bpf: do not use pahole if clang/llvm can generate BTF sectionsYonghong Song1-0/+8
2018-11-07bpf_load: add map name to load_maps error messageShannon Nelson1-2/+2
2018-10-31Merge tag 'vfio-v4.20-rc1.v2' of git://github.com/awilliam/linux-vfioLinus Torvalds1-19/+117
2018-10-26Merge tag 'char-misc-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2018-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2018-10-11vfio: add edid support to mbochs sample driverGerd Hoffmann1-19/+117
2018-10-11samples: disable CONFIG_SAMPLES for UMLMasahiro Yamada1-0/+1
2018-10-04bpf, tracex3_user: erase "ARRAY_SIZE" redefinedBo YU1-2/+0
2018-10-02mei: samples: fix a signedness bug in amt_host_if_call()Dan Carpenter1-1/+1
2018-10-01samples/bpf: extend test_cgrp2_attach2 test to use per-cpu cgroup storageRoman Gushchin1-1/+18
2018-09-21samples/bpf: fix compilation failurePrashant Bhole3-11/+12
2018-09-18samples/bpf: fix a compilation failureYonghong Song1-2/+2
2018-09-18samples/bpf: remove duplicated includesYueHaibing3-3/+0
2018-09-01samples/bpf: xdpsock, minor fixesPrashant Bhole2-3/+2
2018-09-01bpf: add TCP_SAVE_SYN/TCP_SAVED_SYN sample programNikita V. Shirokov2-0/+88
2018-08-29samples/bpf: add -c/--copy -z/--zero-copy flags to xdpsockBjörn Töpel1-1/+11
2018-08-16samples/bpf: all XDP samples should unload xdp/bpf prog on SIGTERMJesper Dangaard Brouer2-2/+4
2018-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds13-34/+590
2018-08-15Merge tag 'kbuild-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds2-14/+14
2018-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller3-2/+160
2018-08-11Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-3/+3
2018-08-10samples/bpf: xdp_redirect_cpu load balance like SuricataJesper Dangaard Brouer2-2/+105
2018-08-10samples/bpf: add Paul Hsieh's (LGPL 2.1) hash function SuperFastHashJesper Dangaard Brouer1-0/+55
2018-08-09samples/bpf: xdp_redirect_cpu adjustment to reproduce teardown race easierJesper Dangaard Brouer2-3/+3
2018-08-03samples/bpf: extend test_cgrp2_attach2 test to use cgroup storageRoman Gushchin1-1/+20
2018-07-27samples: bpf: convert xdpsock_user.c to libbpfJakub Kicinski2-10/+30
2018-07-27samples: bpf: convert xdp_fwd_user.c to libbpfJakub Kicinski2-12/+24
2018-07-27samples/bpf: Add BTF build flags to MakefileTaeung Song1-1/+16
2018-07-27samples/bpf: xdpsock: order memory on AArch64Brian Brooks1-0/+5
2018-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2-1/+4
2018-07-20Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linuxDavid S. Miller7-28/+104
2018-07-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds6-16/+93
2018-07-18kbuild: Rename HOST_LOADLIBES to KBUILD_HOSTLDLIBSLaura Abbott2-9/+9
2018-07-18kbuild: Rename HOSTCFLAGS to KBUILD_HOSTCFLAGSLaura Abbott1-5/+5
2018-07-16samples/bpf: test_cgrp2_sock2: fix an off by oneDan Carpenter1-1/+1
2018-07-16samples: bpf: ensure that we don't load over MAX_PROGS programsDan Carpenter1-0/+3
2018-07-14samples/bpf: xdp_redirect_cpu handle parsing of double VLAN tagged packetsJesper Dangaard Brouer1-1/+10
2018-07-11sample: vfio-mdev: avoid deadlock in mdev_access()Alexey Khoroshilov1-1/+3
2018-07-10samples/bpf: Fix tc and ip paths in xdp2skb_meta.shTaeung Song1-3/+3
2018-07-06Merge tag 'vfio-v4.18-rc4' of git://github.com/awilliam/linux-vfioLinus Torvalds1-11/+8
2018-07-05samples/bpf: add .gitignore fileTaeung Song1-0/+49
2018-07-05samples/bpf: Check the error of write() and read()Taeung Song1-4/+15
2018-07-05samples/bpf: Check the result of system()Taeung Song1-3/+24
2018-07-05samples/bpf: add missing <linux/if_vlan.h>Taeung Song1-5/+1
2018-07-04sample/vfio-mdev: Change return type to vm_fault_tSouptick Joarder1-2/+2
2018-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller5-6/+321
2018-07-02samples/bpf: deal with EBUSY return code from sendmsg in xdpsock sampleMagnus Karlsson1-1/+1
2018-06-29bpf: Change bpf_fib_lookup to return lookup statusDavid Ahern1-4/+4
2018-06-28samples/bpf: xdp_rxq_info action XDP_TX must adjust MAC-addrsJesper Dangaard Brouer2-1/+36
2018-06-28samples/bpf: extend xdp_rxq_info to read packet payloadJesper Dangaard Brouer2-6/+47