aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2021-06-03Merge tag 'vfio-v5.13-rc5' of git://github.com/awilliam/linux-vfioLinus Torvalds1-4/+9
2021-05-24samples: vfio-mdev: fix error handing in mdpy_fb_probe()Wei Yongjun1-4/+9
2021-05-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-1/+1
2021-05-08Merge tag 'kbuild-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds12-16/+18
2021-05-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+0
2021-05-07treewide: remove editor modelines and cruftMasahiro Yamada1-2/+0
2021-05-07samples/bpf: Consider frame size in tx_only of xdpsock sampleMagnus Karlsson1-1/+1
2021-05-06Merge tag 'vfio-v5.13-rc1pt2' of git://github.com/awilliam/linux-vfioLinus Torvalds2-4/+1
2021-05-06Merge tag 'riscv-for-linus-5.13-mw0' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+8
2021-05-04vfio/mdev: remove unnecessary NULL check in mbochs_create()Dan Carpenter2-4/+1
2021-05-01Merge tag 'landlock_v34' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds5-0/+260
2021-05-02.gitignore: prefix local generated files with a slashMasahiro Yamada12-16/+18
2021-04-30samples/vfio-mdev/mdpy: use remap_vmalloc_rangeChristoph Hellwig1-3/+1
2021-04-30kfifo: fix ternary sign extension bugsDan Carpenter3-6/+18
2021-04-29Merge tag 'net-next-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds16-116/+127
2021-04-26samples/kprobes: Add riscv supportJisheng Zhang1-0/+8
2021-04-22samples/landlock: Add a sandbox manager exampleMickaël Salaün5-0/+260
2021-04-19samples/bpf: Fix broken tracex1 due to kprobe argument changeYaqi Chen1-2/+2
2021-04-12vfio/mdev: Correct the function signatures for the mdev_type_attributesJason Gunthorpe3-30/+38
2021-04-12vfio/mdev: Remove kobj from mdev_parent_ops->create()Jason Gunthorpe3-3/+3
2021-04-07vfio/mbochs: Use mdev_get_type_group_id()Jason Gunthorpe1-14/+7
2021-04-07vfio/mdpy: Use mdev_get_type_group_id()Jason Gunthorpe1-16/+6
2021-04-07vfio/mtty: Use mdev_get_type_group_id()Jason Gunthorpe1-43/+7
2021-04-07vfio/mdev: Fix missing static's on MDEV_TYPE_ATTR'sJason Gunthorpe2-10/+10
2021-03-30samples: bpf: Do not unload prog within xdpsockMaciej Fijalkowski1-41/+14
2021-03-25bpf: Remove unused headersLu Wei2-2/+0
2021-03-25Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+1
2021-03-15samples: bpf: Fix a spelling typo in do_hbm_test.shMasanari Iida1-1/+1
2021-03-14samples: pktgen: new append modeIgor Russkikh9-50/+101
2021-03-14samples: pktgen: allow to specify delay parameter via new optIgor Russkikh10-21/+10
2021-03-09Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-0/+2
2021-03-04samples, bpf: Add missing munmap in xdpsockMaciej Fijalkowski1-0/+2
2021-02-26treewide: Miguel has movedMiguel Ojeda1-1/+1
2021-02-24Merge tag 'char-misc-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-0/+166
2021-02-23Merge tag 'keys-misc-20210126' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-2/+2
2021-02-22Merge tag 'docs-5.12' of git://git.lwn.net/linuxLinus Torvalds1-1/+8
2021-02-09sample/acrn: Introduce a sample of HSM ioctl interface usageShuo Liu4-0/+166
2021-02-02samples: bpf: Remove unneeded semicolonYang Li1-1/+1
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-23samples/bpf: Add xdp program on egress for xdp_redirect_mapHangbin Liu2-25/+147
2021-01-23bpf, docs: Update build procedure for manually compiling LLVM and ClangTiezhu Yang2-9/+15
2021-01-21watch_queue: Drop references to /dev/watch_queueGabriel Krisman Bertazi2-2/+2
2021-01-20samples/bpf: Add BPF_ATOMIC_OP macro for BPF samplesBjörn Töpel1-4/+20
2021-01-18samples/kprobes: Add ARM supportMarc Koderer1-0/+8
2021-01-14bpf: Rename BPF_XADD and prepare to encode other atomics in .immBrendan Jackman4-9/+10
2021-01-11samples/kprobes: Remove misleading commentMarc Koderer1-1/+0
2020-12-16Merge tag 'arm-soc-drivers-5.11' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2020-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid...Linus Torvalds1-1/+1
2020-12-16Merge branch 'for-5.11/elecom' into for-linusJiri Kosina43-2853/+2149
2020-12-10samples/bpf: Fix possible hang in xdpsock with multiple threadsMagnus Karlsson1-0/+2
2020-12-09Merge tag 'qcom-drivers-for-5.11' of git://git.kernel.org/pub/scm/linux/kerne...Arnd Bergmann1-2/+2
2020-12-04Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski43-1070/+739
2020-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-0/+4
2020-12-03samples/bpf: Fix spelling mistake "recieving" -> "receiving"Colin Ian King1-1/+1
2020-12-03samples/bpf: Sample application for eBPF load and socket creation splitMariusz Dudek4-6/+337
2020-12-02bpf: samples: Do not touch RLIMIT_MEMLOCKRoman Gushchin27-133/+0
2020-12-01Merge tag 'trace-v5.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-0/+4
2020-11-30samples/ftrace: Mark my_tramp[12]? globalSami Tolvanen3-0/+4
2020-12-01samples/bpf: Add option to set the busy-poll budgetBjörn Töpel1-0/+5
2020-12-01samples/bpf: Add busy-poll support to xdpsockBjörn Töpel1-7/+33
2020-12-01samples/bpf: Use recvfrom() in xdpsock/l2fwdBjörn Töpel1-14/+12
2020-12-01samples/bpf: Use recvfrom() in xdpsock/rxdropBjörn Töpel1-4/+4
2020-11-27HID: hidraw: Add additional hidraw input/output report ioctls.Dean Camera1-1/+1
2020-11-26samples: bpf: Remove bpf_load loader completelyDaniel T. Lee4-731/+5
2020-11-26samples: bpf: Fix lwt_len_hist reusing previous BPF mapDaniel T. Lee2-0/+2
2020-11-26samples: bpf: Refactor test_overhead program with libbpfDaniel T. Lee2-24/+60
2020-11-26samples: bpf: Refactor ibumad program with libbpfDaniel T. Lee3-31/+68
2020-11-26samples: bpf: Refactor task_fd_query program with libbpfDaniel T. Lee2-28/+75
2020-11-26samples: bpf: Refactor test_cgrp2_sock2 program with libbpfDaniel T. Lee3-22/+62
2020-11-26samples: bpf: Refactor hbm program with libbpfDaniel T. Lee5-72/+78
2020-11-24samples: qmi: Constify static qmi opsRikard Falkeborn1-2/+2
2020-11-17samples/bpf: Increment Tx stats at sendingMagnus Karlsson1-3/+3
2020-11-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski2-180/+0
2020-11-10samples/bpf: Remove unused test_ipip.shHangbin Liu1-179/+0
2020-11-10samples/bpf: Remove duplicate include in hbmMenglong Dong1-1/+0
2020-11-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfJakub Kicinski5-5/+5
2020-10-28misc: mic: remove the MIC driversSudeep Dutt7-2376/+0
2020-10-27samples/bpf: Set rlimit for memlock to infinity in all samplesToke Høiland-Jørgensen5-5/+5
2020-10-22bpf, libbpf: Guard bpf inline asm from bpf_tail_call_staticDaniel Borkmann1-4/+4
2020-10-15Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds33-476/+2148
2020-10-15Merge tag 'configfs-5.10' of git://git.infradead.org/users/hch/configfsLinus Torvalds1-40/+19
2020-10-15Merge tag 'drm-next-2020-10-15' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-1/+2
2020-10-15Merge tag 'char-misc-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-12/+913
2020-10-14Merge tag 'kernel-clone-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-5/+5
2020-10-13mm,kmemleak-test.c: move kmemleak-test.c to samples dirHui Su3-0/+103
2020-10-12Merge tag 'docs-5.10' of git://git.lwn.net/linuxLinus Torvalds2-2/+2
2020-10-11samples: bpf: Refactor XDP kern program maps with BTF-defined mapDaniel T. Lee3-39/+36
2020-10-11samples: bpf: Replace attach_tracepoint() to attach() in xdp_redirect_cpuDaniel T. Lee2-82/+73
2020-10-11samples: bpf: Refactor xdp_monitor with libbpfDaniel T. Lee2-40/+121
2020-10-07samples: configfs: prefer pr_err() over bare printk(KERN_ERRBartosz Golaszewski1-3/+2
2020-10-07samples: configfs: don't use spaces before tabsBartosz Golaszewski1-1/+1
2020-10-07samples: configfs: consolidate local variables of the same typeBartosz Golaszewski1-2/+1
2020-10-07samples: configfs: don't reinitialize variables which are already zeroedBartosz Golaszewski1-2/+0
2020-10-07samples: configfs: replace simple_strtoul() with kstrtoint()Bartosz Golaszewski1-20/+9
2020-10-07samples: configfs: fix alignment in item structBartosz Golaszewski1-1/+1
2020-10-07samples: configfs: drop unnecessary ternary operatorsBartosz Golaszewski1-5/+5
2020-10-07samples: configfs: remove redundant newlinesBartosz Golaszewski1-6/+0
2020-10-06samples: bpf: Driver interrupt statistics in xdpsockCiara Loftus1-1/+119
2020-10-06samples: bpf: Count syscalls in xdpsockCiara Loftus1-10/+103
2020-10-06samples: bpf: Split xdpsock stats into new structCiara Loftus1-54/+69
2020-10-06samples/bpf: Fix a compilation error with fallthrough markingYonghong Song1-1/+2
2020-10-06samples/bpf: Change Makefile to cope with latest llvmYonghong Song1-1/+10
2020-10-02misc: vop: add round_up(x,4) for vring_size to avoid kernel panicSherry Sun1-2/+2
2020-10-02samples: mpssd: fix the build errors when enable DEBUG in mpssd.cSherry Sun1-10/+10
2020-09-30bpf, selftests: Use bpf_tail_call_static where appropriateDaniel Borkmann1-9/+11
2020-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller7-19/+37
2020-09-22nitro_enclaves: Add sample for ioctl interface usageAndra Paraschiv3-0/+901
2020-09-19samples/bpf: Fix test_map_in_map on s390Ilya Leoshkevich1-4/+3
2020-09-17Merge branch 'for-5.10-drm-sg-fix' of https://github.com/mszyprow/linux into ...Dave Airlie1-1/+2
2020-09-14samples/bpf: Add quiet option to xdpsockMagnus Karlsson1-5/+14
2020-09-14samples/bpf: Fix possible deadlock in xdpsockMagnus Karlsson1-0/+1
2020-09-14samples/bpf: Fix one packet sending in xdpsockMagnus Karlsson1-0/+8
2020-09-10docs: trace: fix the location of kprobes.rstMauro Carvalho Chehab2-2/+2
2020-09-10samples: vfio-mdev/mbochs: fix common struct sg_table related issuesMarek Szyprowski1-1/+2
2020-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2020-09-04samples, bpf: Add xsk_fwd test file to .gitignoreDaniel T. Lee1-0/+1
2020-09-04samples, bpf: Replace bpf_program__title() with bpf_program__section_name()Daniel T. Lee4-10/+10
2020-08-31samples/bpf: Fix to xdpsock to avoid recycling framesWeqaar Janjua1-5/+5
2020-08-31samples/bpf: Optimize l2fwd performance in xdpsockMagnus Karlsson1-8/+14
2020-08-31samples/bpf: Add new sample xsk_fwd.cCristian Dumitrescu2-0/+1088
2020-08-24samples: bpf: Refactor tracepoint tracing programs with libbpfDaniel T. Lee7-93/+192
2020-08-24samples: bpf: Refactor kprobe tracing programs with libbpfDaniel T. Lee11-118/+272
2020-08-24samples: bpf: Cleanup bpf_load.o from MakefileDaniel T. Lee1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-20tracing: switch to kernel_clone()Christian Brauner1-2/+2
2020-08-20kprobes: switch to kernel_clone()Christian Brauner1-3/+3
2020-08-18samples: bpf: Fix broken bpf programs due to removed symbolDaniel T. Lee3-3/+3
2020-08-09Merge tag 'kbuild-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds12-27/+12
2020-08-10kbuild: introduce hostprogs-always-y and userprogs-always-yMasahiro Yamada12-27/+12
2020-08-07Merge tag 'pci-v5.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds14-246/+620
2020-08-04Merge tag 'docs-5.9' of git://git.lwn.net/linuxLinus Torvalds2-2/+2
2020-07-21samples/bpf, selftests/bpf: Use bpf_probe_read_kernelIlya Leoshkevich4-8/+24
2020-07-16samples/bpf: xdp_redirect_cpu: Load a eBPF program on cpumapLorenzo Bianconi2-22/+178
2020-07-16samples/bpf: xdp_redirect_cpu_user: Do not update bpf maps in option loopLorenzo Bianconi1-9/+27
2020-07-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller8-208/+392
2020-07-13samples: bpf: Add an option for printing extra statistics in xdpsockCiara Loftus1-2/+85
2020-07-10bpf: Fix fds_example SIGSEGV errorWenbo Zhang1-1/+2
2020-07-09PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.hHuacai Chen1-1/+1
2020-07-08samples: bpf: Refactor BPF map performance test with libbpfDaniel T. Lee2-147/+196
2020-07-08samples: bpf: Refactor BPF map in map test with libbpfDaniel T. Lee3-49/+91
2020-07-08samples: bpf: Fix bpf programs with kprobe/sys_connect eventDaniel T. Lee3-9/+18
2020-07-03samples/vfs: avoid warning in statx overrideKees Cook1-0/+2
2020-06-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds3-21/+7
2020-06-21Merge tag 'kbuild-fixes-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-7/+5
2020-06-22samples: watch_queue: build sample program for target architectureMasahiro Yamada2-7/+5
2020-06-20Merge tag 'trace-v5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-6/+18
2020-06-19docs: move remaining stuff under Documentation/*.txt to Documentation/stagingMauro Carvalho Chehab2-2/+2
2020-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller3-21/+7
2020-06-16sample-trace-array: Remove trace_array 'sample-instance'Kefeng Wang1-1/+5
2020-06-16sample-trace-array: Fix sleeping function called from invalid contextKefeng Wang1-5/+13
2020-06-16bpf, xdp, samples: Fix null pointer dereference in *_user codeGaurav Singh3-21/+7
2020-06-15samples: mei: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-1/+1
2020-06-13binderfs: add gitignore for generated sample programLinus Torvalds1-0/+1
2020-06-13Merge tag 'kbuild-v5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ma...Linus Torvalds4-8/+6
2020-06-13watch_queue: add gitignore for generated sample programLinus Torvalds1-0/+1
2020-06-13Merge tag 'notifications-20200601' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds4-0/+201
2020-06-11samples: binderfs: really compile this sample and fix build issuesMasahiro Yamada4-8/+6
2020-06-06Merge tag 'kbuild-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds14-116/+59
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds26-222/+479
2020-06-01Merge branch 'from-miklos' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-1/+1
2020-06-01Merge tag 'docs-5.8' of git://git.lwn.net/linuxLinus Torvalds2-2/+6
2020-06-01Merge tag 'objtool-core-2020-06-01' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds3-0/+8
2020-06-01Merge tag 'core-kprobes-2020-06-01' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-2/+6
2020-05-20samples/ftrace: Fix asm function ELF annotationsJosh Poimboeuf3-0/+8
2020-05-19samples, bpf: Refactor kprobe, tail call kern progs map definitionDaniel T. Lee8-91/+93
2020-05-19samples, bpf: Add tracex7 test file to .gitignoreDaniel T. Lee1-0/+1
2020-05-19samples, bpf: Refactor tail call user progs with libbpfDaniel T. Lee3-31/+103
2020-05-19samples, bpf: Refactor kprobe tracing user progs with libbpfDaniel T. Lee9-64/+252
2020-05-19samples, bpf: Refactor pointer error check with libbpfDaniel T. Lee3-15/+6
2020-05-19pipe: Add notification lossage handlingDavid Howells1-0/+3
2020-05-19pipe: Allow buffers to be marked read-whole-or-error for notificationsDavid Howells1-1/+1
2020-05-19Add sample notification programDavid Howells4-0/+197
2020-05-17samples: watchdog: use 'userprogs' syntaxMasahiro Yamada3-8/+6
2020-05-17samples: timers: use 'userprogs' syntaxMasahiro Yamada3-14/+8
2020-05-17samples: auxdisplay: use 'userprogs' syntaxMasahiro Yamada3-9/+7
2020-05-17samples: mei: build sample program for target architectureMasahiro Yamada2-6/+4
2020-05-17samples: pidfd: build sample program for target architectureMasahiro Yamada2-5/+5
2020-05-17samples: vfs: build sample programs for target architectureMasahiro Yamada2-9/+4
2020-05-17samples: connector: build sample program for target architectureMasahiro Yamada1-9/+3
2020-05-17samples: hidraw: build sample program for target architectureMasahiro Yamada2-7/+4
2020-05-17samples: uhid: build sample program for target architectureMasahiro Yamada4-6/+12
2020-05-17samples: uhid: fix warnings in uhid-exampleSam Ravnborg1-2/+2
2020-05-17samples: seccomp: build sample programs for target architectureMasahiro Yamada2-40/+4
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller2-3/+1
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-2/+0
2020-05-14samples/bpf: xdp_redirect_cpu: Set MAX_CPUS according to NR_CPUSLorenzo Bianconi2-14/+17
2020-05-14samples: bpf: Fix build errorMatteo Croce1-2/+0
2020-05-14uapi: deprecate STATX_ALLMiklos Szeredi1-1/+1
2020-05-13samples/bpf: Remove compiler warningsYonghong Song3-6/+6
2020-05-12samples/kprobes: Add __kprobes and NOKPROBE_SYMBOL() for handlers.Masami Hiramatsu2-2/+6
2020-05-12Revert "objtool: Skip samples subdirectory"Masahiro Yamada1-1/+0
2020-05-07tracing: Fix doc mistakes in trace sampleWei Yang1-1/+1
2020-05-05samples: fix binderfs sampleArnd Bergmann2-2/+6
2020-04-30docs: networking: convert pktgen.txt to ReSTMauro Carvalho Chehab1-1/+1
2020-04-21vmalloc: fix remap_vmalloc_range() bounds checksJann Horn1-1/+1
2020-04-07samples/hw_breakpoint: drop use of kallsyms_lookup_name()Will Deacon1-2/+7
2020-04-07samples/hw_breakpoint: drop HW_BREAKPOINT_R when reporting writesWill Deacon1-1/+1
2020-04-03Merge tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds11-0/+11