aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2020-02-09Merge tag 'kbuild-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ma...Linus Torvalds8-80/+73
2020-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-2/+2
2020-02-05samples: bpf: Allow for -ENETDOWN in xdpsockMaciej Fijalkowski1-1/+2
2020-02-05samples: bpf: Drop doubled variable declaration in xdpsockMaciej Fijalkowski1-1/+0
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan3-18/+15
2020-02-04kbuild: rename hostprogs-y/always to hostprogs/always-yMasahiro Yamada8-80/+73
2020-01-30Merge tag 'drm-next-2020-01-30' of git://anongit.freedesktop.org/drm/drmLinus Torvalds2-17/+1
2020-01-29Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+1
2020-01-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds83-175/+620
2020-01-27Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/liv...Linus Torvalds3-17/+30
2020-01-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller83-119/+116
2020-01-22objtool: Skip samples subdirectoryJosh Poimboeuf1-0/+1
2020-01-20samples/bpf: Use consistent include paths for libbpfToke Høiland-Jørgensen83-113/+112
2020-01-20samples/bpf: Don't try to remove user's homedir on cleanToke Høiland-Jørgensen1-1/+1
2020-01-20Backmerge v5.5-rc7 into drm-nextDave Airlie4-6/+21
2020-01-17livepatch: Handle allocation failure in the sample of shadow variable APIPetr Mladek1-6/+16
2020-01-17livepatch/samples/selftest: Use klp_shadow_alloc() API correctlyPetr Mladek1-3/+6
2020-01-17livepatch/sample: Use the right type for the leaking data pointerPetr Mladek3-10/+10
2020-01-16devmap: Adjust tracepoint for map-less queue flushJesper Dangaard Brouer1-5/+3
2020-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+2
2020-01-02samples/seccomp: Zero out members based on seccomp_notif_sizesSargun Dhillon1-2/+2
2019-12-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller12-56/+504
2019-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds2-4/+18
2019-12-21samples/trace_printk: Wait for IRQ work to finishSven Schnelle1-0/+1
2019-12-20samples/bpf: Xdp_redirect_cpu fix missing tracepoint attachJesper Dangaard Brouer1-4/+55
2019-12-20samples/bpf: xdpsock: Add option to specify transmit fill patternJay Jayatheerthan1-4/+9
2019-12-20samples/bpf: xdpsock: Add option to specify tx packet sizeJay Jayatheerthan1-11/+265
2019-12-20samples/bpf: xdpsock: Add option to specify number of packets to sendJay Jayatheerthan1-14/+59
2019-12-20samples/bpf: xdpsock: Add option to specify batch sizeJay Jayatheerthan1-23/+29
2019-12-20samples/bpf: xdpsock: Use common code to handle signal and main exitJay Jayatheerthan1-2/+7
2019-12-20samples/bpf: xdpsock: Add duration option to specify how long to runJay Jayatheerthan1-2/+35
2019-12-17Merge tag 'drm-misc-next-2019-12-16' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter2-17/+1
2019-12-16samples/bpf: Attach XDP programs in driver mode by defaultToke Høiland-Jørgensen11-12/+58
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-12-11samples: bpf: fix syscall_tp due to unused syscallDaniel T. Lee1-2/+16
2019-12-11samples: bpf: Replace symbol compare of trace_eventDaniel T. Lee1-2/+2
2019-12-10samples: vfio-mdev: constify fb opsJani Nikula1-1/+1
2019-12-04samples/bpf: Fix broken xdp_rxq_info due to map order assumptionsJesper Dangaard Brouer1-3/+3
2019-11-27Merge tag 'trace-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds8-0/+424
2019-11-27Merge tag 'char-misc-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-6/+14
2019-11-25sample/vfio-mdev/mbocs: Remove dma_buf_k(un)map supportDaniel Vetter1-16/+0
2019-11-22tracing: Sample module to demonstrate kernel access to Ftrace instances.Divya Indi5-0/+226
2019-11-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller21-228/+339
2019-11-15samples/bpf: Add missing option to xdpsock usageAndre Guedes1-0/+2
2019-11-15samples/bpf: Remove duplicate option from xdpsockAndre Guedes1-1/+0
2019-11-15ftrace/selftests: Fix spelling mistake "wakeing" -> "waking"Colin Ian King1-1/+1
2019-11-14ftrace/samples: Add a sample module that implements modify_ftrace_direct()Steven Rostedt (VMware)2-0/+89
2019-11-13ftrace: Add another example of register_ftrace_direct() use caseSteven Rostedt (VMware)2-0/+52
2019-11-13ftrace: Add sample module that uses register_ftrace_direct()Steven Rostedt (VMware)4-0/+57
2019-11-11samples/bpf: adjust Makefile and README.rstJesper Dangaard Brouer2-9/+7
2019-11-11Merge 5.4-rc7 into char-misc-nextGreg Kroah-Hartman1-0/+1
2019-11-10samples/bpf: Use Rx-only and Tx-only sockets in xdpsockMagnus Karlsson1-12/+29
2019-11-10samples/bpf: Add XDP_SHARED_UMEM support to xdpsockMagnus Karlsson4-42/+135
2019-11-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2019-11-08samples: bpf: update map definition to new syntax BTF-defined mapDaniel T. Lee12-178/+178
2019-11-08samples: bpf: Update outdated error messageDaniel T. Lee5-7/+7
2019-11-02bpf, samples: Use bpf_probe_read_user where appropriateDaniel Borkmann3-5/+5
2019-10-31samples/bpf: fix build by setting HAVE_ATTR_TEST to zeroBjörn Töpel1-0/+1
2019-10-27Merge 5.4-rc5 into char-misc-nextGreg Kroah-Hartman2-1/+13
2019-10-21samples: mei: use hostprogs kbuild constructsTomas Winkler3-6/+14
2019-10-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller2-1/+13
2019-10-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller25-123/+278
2019-10-12samples/bpf: Add preparation steps and sysroot info to readmeIvan Khoronzhuk1-5/+36
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: Add makefile.target for separate CC target buildIvan Khoronzhuk1-0/+75
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-10-08selftests/bpf: Split off tracing-only helpers into bpf_tracing.hAndrii Nakryiko13-0/+13
2019-10-08selftests/bpf: samples/bpf: Split off legacy stuff from bpf_helpers.hAndrii Nakryiko8-33/+37
2019-10-07samples: bpf: Add max_pckt_size option at xdp_adjust_tailDaniel T. Lee2-11/+25
2019-10-07samples/bpf: Trivial - fix spelling mistake in usageAnton Ivanov1-1/+1
2019-10-07samples: pktgen: allow to specify destination IP range (CIDR)Daniel T. Lee10-12/+55
2019-10-07samples: pktgen: add helper functions for IP(v4/v6) CIDR parsingDaniel T. Lee1-3/+134
2019-10-07samples: pktgen: fix proc_cmd command result check logicDaniel T. Lee1-6/+11
2019-10-07samples: pktgen: make variable consistent with optionDaniel T. Lee8-44/+44
2019-10-03samples/bpf: Add a workaround for asm_inlineKP Singh1-1/+12
2019-10-03samples/bpf: Fix build for task_fd_query_user.cBjörn Töpel1-0/+1
2019-09-22Merge tag 'rpmsg-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ander...Linus Torvalds1-4/+6
2019-09-20Merge tag 'vfio-v5.4-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-31/+8
2019-09-16samples/bpf: fix xdpsock l2fwd tx for unaligned modeCiara Loftus1-1/+1
2019-09-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller3-85/+177
2019-08-31samples/bpf: use hugepages in xdpsock appKevin Laatz1-5/+10
2019-08-31samples/bpf: add buffer recycling for unaligned chunks to xdpsockKevin Laatz1-10/+16
2019-08-31samples/bpf: add unaligned chunks mode support to xdpsockKevin Laatz1-3/+17
2019-08-26samples/rpmsg: Introduce a module parameter for message countSuman Anna1-2/+4
2019-08-26samples/rpmsg: Replace print_hex_dump() with print_hex_dump_debug()Suman Anna1-2/+2
2019-08-21samples: bpf: syscall_nrs: use mmap2 if definedIvan Khoronzhuk2-0/+19
2019-08-19vfio-mdev/mtty: Simplify interrupt generationParav Pandit1-31/+8
2019-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2019-08-17samples/bpf: add use of need_wakeup flag in xdpsockMagnus Karlsson1-72/+120
2019-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski4-94/+84
2019-08-09samples/bpf: xdp_fwd explain bpf_fib_lookup return codesJesper Dangaard Brouer1-2/+17
2019-08-09samples/bpf: make xdp_fwd more practically usable via devmap lookupJesper Dangaard Brouer2-17/+33
2019-08-09samples/bpf: xdp_fwd rename devmap name to be xdp_tx_portsJesper Dangaard Brouer2-3/+4
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-23samples/bpf: switch trace_output sample to perf_buffer APIAndrii Nakryiko1-29/+14
2019-07-23samples/bpf: convert xdp_sample_pkts_user to perf_buffer APIAndrii Nakryiko1-44/+17
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