aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
10 dayssamples: work around glibc redefining some of our defines wrongLinus Torvalds2-0/+12
2025-10-04Merge tag 'char-misc-6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-4/+94
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds4-16/+23
2025-10-02Merge tag 'media/v6.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds1-5/+5
2025-10-02Merge tag 'drm-next-2025-10-01' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds2-10/+27
2025-10-02Merge tag 'for-6.18/block-20250929' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2025-10-01Merge tag 'driver-core-6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds8-17/+321
2025-09-30Merge tag 'rust-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds2-2/+2
2025-09-25USB: disable rust bindings from the build for nowGreg Kroah-Hartman1-1/+1
2025-09-24samples: rust: add a USB driver sampleDaniel Almeida3-0/+59
2025-09-21samples/damon/mtier: use damon_initialized()SeongJae Park1-4/+7
2025-09-21samples/damon/prcl: use damon_initialized()SeongJae Park1-4/+7
2025-09-21samples/damon/wsse: use damon_initialized()SeongJae Park1-6/+9
2025-09-21samples/cgroup: rm unused MEMCG_EVENTS macrozhang jiao1-2/+0
2025-09-17Merge tag 'mm-hotfixes-stable-2025-09-17-21-10' of git://git.kernel.org/pub/s...Linus Torvalds3-0/+9
2025-09-17Merge tag 'drm-rust-next-2025-09-16' of https://gitlab.freedesktop.org/drm/ru...Dave Airlie2-10/+27
2025-09-16rust: configfs: use `core::ffi::CStr` method namesTamir Duberstein1-1/+1
2025-09-15Merge 6.17-rc6 into driver-core-nextGreg Kroah-Hartman1-1/+1
2025-09-13samples/damon/mtier: avoid starting DAMON before initializationSeongJae Park1-0/+3
2025-09-13samples/damon/prcl: avoid starting DAMON before initializationSeongJae Park1-0/+3
2025-09-13samples/damon/wsse: avoid starting DAMON before initializationSeongJae Park1-0/+3
2025-09-12Merge tag 'pin-init-v6.18' of https://github.com/Rust-for-Linux/linux into dr...Danilo Krummrich1-1/+1
2025-09-11rust: pin-init: add references to previously initialized fieldsBenno Lossin1-1/+1
2025-09-10samples: rust: Add scoped debugfs sample driverMatthew Maurer3-0/+146
2025-09-10samples: rust: Add debugfs sample driverMatthew Maurer3-0/+163
2025-09-06Merge patch series "Rust support for `struct iov_iter`"Greg Kroah-Hartman1-2/+34
2025-09-06samples: rust_misc_device: Expand the sample to support read()ing from userspaceLee Jones1-2/+34
2025-09-05ftrace/samples: Fix function size computationVladimir Riabchun1-1/+1
2025-09-04samples: rust: dma: add sample code for SGTableDanilo Krummrich1-9/+26
2025-09-02rust: configfs: re-export `configfs_attrs` from `configfs` moduleAndreas Hindborg1-1/+1
2025-09-01rust: pci: use pci::Vendor instead of bindings::PCI_VENDOR_ID_*John Hubbard3-16/+11
2025-08-19rust: miscdevice: update ARef import to sync::arefShankari Anand1-2/+1
2025-08-15rust: dma: Update ARef and AlwaysRefCounted imports from sync::arefShankari Anand1-1/+1
2025-08-15rust: driver-core: Update ARef and AlwaysRefCounted imports from sync::arefShankari Anand2-2/+2
2025-08-13media: v4l2-pci-skeleton: Rename second ioctl handlers argument to 'void *priv'Laurent Pinchart1-5/+5
2025-08-03Merge tag 'mm-nonmm-stable-2025-08-03-12-47' of git://git.kernel.org/pub/scm/...Linus Torvalds2-12/+78
2025-08-03Merge tag 'rust-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds4-3/+5
2025-08-02samples: Kconfig: fix spelling mistake "instancess" -> "instances"Colin Ian King1-1/+1
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-43/+141
2025-07-31Merge tag 'fsnotify_for_v6.17-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+7
2025-07-30Merge tag 'drm-next-2025-07-30' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds1-13/+15
2025-07-29Merge tag 'driver-core-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds6-20/+182
2025-07-29Merge tag 'char-misc-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2025-07-28Merge tag 'landlock-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+4
2025-07-28samples: fix building fs-monitor on musl systemsBrahmajit Das1-0/+7
2025-07-21rust: use `kernel::{fmt,prelude::fmt!}`Tamir Duberstein1-1/+1
2025-07-19samples: enhance hung_task detector test with read-write semaphore supportZi Li2-11/+77
2025-07-19mm/damon/vaddr: put pid in cleanup_target()SeongJae Park2-4/+0
2025-07-19samples/damon/wsse: use damon_call() repeat mode instead of damon_callbackSeongJae Park1-3/+13
2025-07-19samples/damon/prcl: use damon_call() repeat mode instead of damon_callbackSeongJae Park1-4/+14
2025-07-19samples/damon: support automatic node address detectionYunjeong Mun1-3/+34
2025-07-19samples/damon: change enable parameters to enabledHonggyu Kim3-33/+33
2025-07-19samples/damon/mtier: rename to have damon_sample_ prefixSeongJae Park1-0/+5
2025-07-19samples/damon/prcl: rename to have damon_sample_ prefixSeongJae Park1-0/+5
2025-07-19samples/damon/wsse: rename to have damon_sample_ prefixSeongJae Park1-0/+5
2025-07-19rust: samples: dma: set DMA maskDanilo Krummrich1-1/+13
2025-07-16samples: mei: Fix building on musl libcBrahmajit Das1-1/+1
2025-07-16samples/kobject: make attribute_group constMeng Shao Liu1-1/+1
2025-07-16samples/kobject: fix path commentMeng Shao Liu2-3/+3
2025-07-15Merge tag 'alloc-next-v6.17-2025-07-15' of https://github.com/Rust-for-Linux/...Miguel Ojeda1-13/+15
2025-07-14rust: uaccess: use newtype for user pointersAlice Ryhl1-0/+2
2025-07-13samples/damon/mtier: support boot time enable setupSeongJae Park1-0/+10
2025-07-13samples/damon/prcl: fix boot time enable crashSeongJae Park1-0/+10
2025-07-13samples/damon/wsse: fix boot time enable handlingSeongJae Park1-1/+11
2025-07-13samples/damon/mtier: add parameters for node0 memory usageYunjeong Mun1-1/+7
2025-07-09samples/damon: fix damon sample mtier for start failureHonggyu Kim1-2/+6
2025-07-09samples/damon: fix damon sample wsse for start failureHonggyu Kim1-2/+6
2025-07-09samples/damon: fix damon sample prcl for start failureHonggyu Kim1-2/+6
2025-07-09samples: rust: pci: reset pci-testdev in unbind()Danilo Krummrich1-1/+10
2025-07-05rust: auxiliary: remove unnecessary importTamir Duberstein1-2/+1
2025-07-01samples/landlock: Fix building on musl libcBrahmajit Das1-1/+4
2025-06-28rust: devres: get rid of Devres' inner ArcDanilo Krummrich1-9/+10
2025-06-26samples: rust: add ACPI match table example to platform driverIgor Korotin1-1/+69
2025-06-25samples: rust: platform: conditionally call Self::properties_parse()Danilo Krummrich1-1/+3
2025-06-25samples: rust: platform: don't call as_ref() repeatedlyDanilo Krummrich1-3/+5
2025-06-25samples: rust: platform: Add property child and reference args examplesRemo Senekowitsch1-1/+12
2025-06-24rust: macros: remove `module!`'s deprecated `author` keyGuilherme Giacomo Simoes2-2/+2
2025-06-23rust: dma: convert the read/write macros to return ResultAbdiel Janulgue1-13/+15
2025-06-13samples: rust: platform: Add property read examplesRemo Senekowitsch1-1/+59
2025-05-31Merge tag 'mm-nonmm-stable-2025-05-31-15-28' of git://git.kernel.org/pub/scm/...Linus Torvalds4-71/+103
2025-05-31Merge tag 'mm-stable-2025-05-31-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds5-1/+194
2025-05-29Merge tag 'tsm-for-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/dev...Linus Torvalds4-0/+145
2025-05-28Merge tag 'net-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-1/+0
2025-05-28Merge tag 'drm-next-2025-05-28' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds4-3/+135
2025-05-26Merge tag 'configfs-for-v6.16' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-0/+204
2025-05-21Merge tag 'nova-next-v6.16-2025-05-20' of https://gitlab.freedesktop.org/drm/...Dave Airlie4-3/+135
2025-05-15samples: rust: select AUXILIARY_BUS instead of depending on itAlexandre Courbot1-1/+1
2025-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-05-12samples/damon: implement a DAMON module for memory tieringSeongJae Park4-0/+193
2025-05-12sample/tsm-mr: Fix missing static for sample_reportCedric Xing1-1/+1
2025-05-12tracing: samples: Initialize trace_array_printk() with the correct functionSteven Rostedt1-1/+1
2025-05-12rust: configfs: add a sample demonstrating configfs usageAndreas Hindborg3-0/+204
2025-05-11samples: extend hung_task detector test with semaphore supportZi Li4-71/+103
2025-05-11samples/damon/prcl: fix a comment typoEnze Li1-1/+1
2025-05-08tsm-mr: Add tsm-mr sample codeCedric Xing4-0/+145
2025-05-04samples: rust: pci: take advantage of Devres::access()Danilo Krummrich1-6/+6
2025-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-04-25samples/bpf: Fix compilation failure for samples/bpf on LoongArch FedoraHaoran Jiang1-1/+1
2025-04-22samples: rust: convert PCI rust sample driver to use try_access_with()Alexandre Courbot1-6/+5
2025-04-19samples: rust: add Rust auxiliary driver sampleDanilo Krummrich3-0/+133
2025-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski6-0/+6
2025-04-11net: Retire DCCP socket.Kuniyuki Iwashima1-1/+0
2025-04-11samples/livepatch: add module descriptionsArnd Bergmann6-0/+6
2025-04-05treewide: Switch/rename to timer_delete[_sync]()Thomas Gleixner2-2/+2
2025-04-03Merge tag 'trace-v6.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tr...Linus Torvalds1-2/+6
2025-04-02tracing: Verify event formats that have "%*p.."Steven Rostedt1-2/+6
2025-04-01Merge tag 'char-misc-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-90/+91
2025-04-01Merge tag 'driver-core-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds4-19/+22
2025-04-01Merge tag 'mm-nonmm-stable-2025-03-30-18-23' of git://git.kernel.org/pub/scm/...Linus Torvalds4-0/+78
2025-04-01Merge tag 'mm-stable-2025-03-30-16-52' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-20/+20
2025-03-30Merge tag 'rust-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds9-6/+115
2025-03-30Merge tag 'bpf-next-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds1-1/+1
2025-03-28Merge tag 'landlock-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+34
2025-03-26samples/landlock: Enable users to log sandbox denialsMickaël Salaün1-3/+34
2025-03-24Merge tag 'hardening-v6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+0
2025-03-24Merge tag 'vfs-6.15-rc1.mount' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-7/+42
2025-03-21samples: add hung_task detector mutex blocking sampleMasami Hiramatsu (Google)4-0/+78
2025-03-20samples: rust: add Rust dma test sample driverAbdiel Janulgue3-0/+109
2025-03-17samples: rust_misc_device: fix markup in top-level docsAlice Ryhl1-90/+91
2025-03-17samples/damon: a typo in the kconfig - samepleSeongjun Kim1-2/+2
2025-03-17rust: platform: fix unrestricted &mut platform::DeviceDanilo Krummrich1-4/+7
2025-03-17rust: pci: fix unrestricted &mut pci::DeviceDanilo Krummrich1-4/+4
2025-03-16samples: kmemleak: print the raw pointers for debugging purposesCatalin Marinas1-18/+18
2025-03-10rust: module: introduce `authors` keyGuilherme Giacomo Simoes6-6/+6
2025-03-07samples/check-exec: Fix script nameMickaël Salaün1-0/+0
2025-02-27rust/faux: Add missing parent argument to Registration::new()Lyude Paul1-1/+1
2025-02-25samples/vfs: fix printf format string for size_tArnd Bergmann1-2/+2
2025-02-22rust: io: rename `io::Io` accessorsFiona Behrens1-6/+6
2025-02-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf bpf-6.14-rc4Alexei Starovoitov4-6/+47
2025-02-16Merge tag 'driver-core-6.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-0/+40
2025-02-13rust/kernel: Add faux device bindingsLyude Paul3-0/+40
2025-02-12samples/vfs: add STATMOUNT_MNT_{G,U}IDMAPChristian Brauner2-3/+37
2025-02-12samples/vfs: check whether flag was raisedChristian Brauner1-4/+5
2025-02-10Merge tag 'hid-for-linus-2025021001' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-6/+7
2025-02-05samples/bpf: Fix broken vmlinux path for VMLINUX_BTFJinghao Jia1-1/+1
2025-02-04samples/hid: fix broken vmlinux path for VMLINUX_BTFJinghao Jia1-1/+1
2025-02-04samples/hid: remove unnecessary -I flags from libbpf EXTRA_CFLAGSJinghao Jia1-5/+6
2025-01-31Merge tag 'AT_EXECVE_CHECK-v6.14-rc1-fix1' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-2/+9
2025-01-28Merge tag 'driver-core-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds5-0/+431
2025-01-27selftests: Handle old glibc without execveat(2)Mickaël Salaün1-2/+9
2025-01-26Merge tag 'mm-stable-2025-01-26-14-59' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds6-0/+290
2025-01-26Merge tag 'mm-nonmm-stable-2025-01-24-23-16' of git://git.kernel.org/pub/scm/...Linus Torvalds3-14/+7
2025-01-23Merge tag 'bpf-next-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds2-2/+1
2025-01-22Merge tag 'AT_EXECVE_CHECK-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds10-0/+339
2025-01-22Merge tag 'landlock-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+7
2025-01-21Merge tag 'rust-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds1-1/+19
2025-01-21Merge tag 'ftrace-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds1-2/+2
2025-01-20Merge tag 'vfs-6.14-rc1.mount.v2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds5-1/+668
2025-01-20samples/vfs: fix build warningsChristian Brauner1-11/+12
2025-01-20samples/vfs: use shared headerChristian Brauner3-93/+249
2025-01-13samples/damon/prcl: implement schemes setupSeongJae Park1-0/+20
2025-01-13samples/damon: introduce a skeleton of a smaple DAMON module for proactive re...SeongJae Park4-0/+131
2025-01-13samples/damon/wsse: implement working set size estimation and loggingSeongJae Park1-0/+18
2025-01-13samples/damon/wsse: start and stop DAMON as the user requestsSeongJae Park1-1/+34
2025-01-13samples: add a skeleton of a sample DAMON module for working set size estimationSeongJae Park5-0/+88
2025-01-13rust: use derive(CoercePointee) on rustc >= 1.84.0Xiangfei Ding1-0/+18
2025-01-12livepatch: convert timeouts to secs_to_jiffies()Easwar Hariharan3-14/+7
2025-01-10samples/landlock: Fix possible NULL dereference in parse_path()Zichen Xie1-0/+7
2025-01-10samples/vfs/mountinfo: Use __u64 instead of uint64_tGeert Uytterhoeven1-18/+17
2025-01-09samples: add test-list-all-mountsChristian Brauner3-1/+237
2025-01-09samples: add a mountinfo program to demonstrate statmount()/listmount()Jeff Layton3-1/+276
2024-12-26fprobe: Use ftrace_regs in fprobe exit handlerMasami Hiramatsu (Google)1-1/+1
2024-12-26fprobe: Use ftrace_regs in fprobe entry handlerMasami Hiramatsu (Google)1-1/+1
2024-12-20samples: rust: add Rust platform sample driverDanilo Krummrich3-0/+60
2024-12-20samples: rust: add Rust PCI sample driverDanilo Krummrich3-0/+122
2024-12-18samples/check-exec: Add an enlighten "inc" interpreter and 28 testsMickaël Salaün8-1/+232
2024-12-18samples/check-exec: Add set-execMickaël Salaün5-0/+108
2024-12-16rust: finish using custom FFI integer typesMiguel Ojeda1-1/+1
2024-12-16samples: rust_misc_device: Provide an example C program to exercise functiona...Lee Jones1-0/+90
2024-12-16samples: rust_misc_device: Demonstrate additional get/set value functionalityLee Jones1-14/+75
2024-12-16samples: rust: Provide example using the new Rust MiscDevice abstractionLee Jones3-0/+98
2024-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfAlexei Starovoitov2-7/+8
2024-12-06Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds1-6/+7
2024-12-05samples/bpf: Pass TPROGS_USER_CFLAGS to libbpf makefileEduard Zingerman1-1/+1
2024-12-03samples/bpf: Remove unnecessary -I flags from libbpf EXTRA_CFLAGSEduard Zingerman1-6/+7
2024-12-02module: Convert symbol namespace to string literalPeter Zijlstra1-1/+1
2024-12-02samples/bpf: Remove unused variableZhu Jun1-1/+0
2024-12-01Get rid of 'remove_new' relic from platform driver structLinus Torvalds1-1/+1
2024-11-30Merge tag 'tty-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-0/+1
2024-11-26Merge tag 'rust-6.13' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2-2/+3
2024-11-25Merge tag 'mm-nonmm-stable-2024-11-24-02-05' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+2
2024-11-25Merge tag 'trace-rust-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-0/+29
2024-11-23Merge tag 'powerpc-6.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds5-5/+412
2024-11-21Merge tag 'bpf-next-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds25-1945/+7
2024-11-20Merge tag 'media/v6.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds1-5/+1
2024-11-19Merge tag 'ras_core_for_v6.13' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+6
2024-11-14Merge tag 'net-6.12-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+1
2024-11-13samples: pktgen: correct dev to DEVWei Fang1-1/+1
2024-11-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfAlexei Starovoitov1-43/+69
2024-11-13samples/bpf: Remove unused variable in xdp2skb_meta_kern.cZhu Jun1-1/+1
2024-11-13samples/bpf: Remove unused variables in tc_l2_redirect_kern.cZhu Jun1-4/+0
2024-11-12samples: rust: fix `rust_print` build making it a combined moduleMiguel Ojeda2-1/+3
2024-11-05perf/hw_breakpoint: use ERR_PTR_PCPU(), IS_ERR_PCPU() and PTR_ERR_PCPU() macrosUros Bizjak1-2/+2
2024-11-04rust: samples: add tracepoint to Rust sampleAlice Ryhl3-1/+28
2024-10-31samples/ftrace: Add support for ftrace direct samples on powerpcNaveen N Rao5-5/+412
2024-10-30tracing: Add __print_dynamic_array() helperSteven Rostedt1-1/+6
2024-10-28media: samples: v4l2-pci-skeleton.c: drop vb2_ops_wait_prepare/finishHans Verkuil1-5/+1
2024-10-23kfifo: don't include dma-mapping.h in kfifo.hChristoph Hellwig1-0/+1
2024-10-22samples/landlock: Clarify option parsing behaviourMatthieu Buffet1-15/+16
2024-10-22samples/landlock: Refactor help messageMatthieu Buffet1-41/+38