aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
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-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
2020-03-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds7-105/+163
2020-03-25.gitignore: add SPDX License IdentifierMasahiro Yamada11-0/+11
2020-03-23samples, bpf: Refactor perf_event user program with libbpf bpf_linkDaniel T. Lee3-82/+159
2020-03-23samples, bpf: Move read_trace_pipe to trace_helpersDaniel T. Lee5-23/+4
2020-02-24media: rename VFL_TYPE_GRABBER to _VIDEOHans Verkuil1-1/+1
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