aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2024-12-06Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds1-6/+7
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-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
2024-10-22samples/landlock: Fix port parsing in sandboxerMatthieu Buffet1-2/+30
2024-10-15rust: treewide: switch to the kernel `Vec` typeDanilo Krummrich1-2/+2
2024-10-11samples/bpf: remove obsolete tracing related testsDaniel T. Lee10-564/+0
2024-10-11samples/bpf: remove obsolete cgroup related testsDaniel T. Lee7-693/+0
2024-10-11selftests/bpf: migrate cgroup sock create test for prohibiting socketsDaniel T. Lee4-248/+0
2024-10-11selftests/bpf: migrate cgroup sock create test for setting iface/mark/prioDaniel T. Lee3-435/+0
2024-10-10samples/bpf: Fix a resource leakZhu Jun1-1/+3
2024-10-09samples/bpf: Remove unused variablesZhu Jun1-2/+0
2024-10-07bpf: syscall_nrs: Disable no previous prototype warnningJason Xing1-0/+5
2024-10-07bpf: Fix the xdp_adjust_tail sample prog issueYuan Chen1-0/+1
2024-10-07rust: start using the `#[expect(...)]` attributeMiguel Ojeda1-1/+1
2024-10-07rust: replace `clippy::dbg_macro` with `disallowed_macros`Miguel Ojeda1-0/+1
2024-09-27[tree-wide] finally take no_llseek outAl Viro1-2/+0
2024-09-24Merge tag 'landlock-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-4/+69
2024-09-21Merge tag 'bpf-next-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds4-292/+7
2024-09-16samples/landlock: Add support for signal scopingTahera Fahimi1-5/+14
2024-09-16samples/landlock: Add support for abstract UNIX socket scopingTahera Fahimi1-4/+60
2024-09-04samples/bpf: Remove sample tracex2Rong Tao3-289/+0
2024-09-01kmemleak-test: add percpu leakPavel Tikhomirov1-0/+2
2024-08-27samples/bpf: tracex4: Fix failed to create kretprobe 'kmem_cache_alloc_node+0x0'Rong Tao1-2/+2
2024-08-15samples/bpf: Fix compilation errors with cf-protection optionJiangshan Yi1-1/+5
2024-08-12treewide: remove unnecessary <linux/version.h> inclusionMasahiro Yamada1-1/+0
2024-07-25Merge tag 'driver-core-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-4/+4
2024-07-21Merge tag 'mm-nonmm-stable-2024-07-21-15-07' of git://git.kernel.org/pub/scm/...Linus Torvalds4-0/+4
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+1
2024-07-19Merge tag 'char-misc-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2024-07-19Merge tag 'vfio-v6.11-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds4-1/+4
2024-07-18Merge tag 'probes-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds3-0/+3
2024-07-17Merge tag 'for-linus-2024071601' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds7-108/+57
2024-07-17vfio-mdev: add missing MODULE_DESCRIPTION() macrosJeff Johnson4-1/+4
2024-07-10samples: configfs: add missing MODULE_DESCRIPTION() macroJeff Johnson1-0/+1
2024-07-05HID: samples: fix the 2 struct_ops definitionsBenjamin Tissoires2-8/+8
2024-07-03kmemleak-test: add missing MODULE_DESCRIPTION() macroJeff Johnson1-0/+1
2024-06-28kfifo: add missing MODULE_DESCRIPTION() macrosJeff Johnson4-0/+4
2024-06-14HID: samples: convert the 2 HID-BPF samples into struct_opsBenjamin Tissoires7-108/+57
2024-06-12samples: kprobes: add missing MODULE_DESCRIPTION() macrosJeff Johnson2-0/+2
2024-06-12fprobe: add missing MODULE_DESCRIPTION() macroJeff Johnson1-0/+1
2024-06-07Merge tag 'platform-remove-void-step-b' of https://git.kernel.org/pub/scm/lin...Greg Kroah-Hartman1-4/+2
2024-06-04samples/kobject: add missing MODULE_DESCRIPTION() macrosJeff Johnson2-0/+2
2024-05-28Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-2/+1
2024-05-27samples: qmi: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2024-05-22tracing/treewide: Remove second parameter of __assign_str()Steven Rostedt (Google)1-9/+10
2024-05-22Merge tag 'char-misc-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2024-05-21bpf: Remove unused variable "prev_state"Ying Zhang1-2/+1
2024-05-19Merge tag 'mm-nonmm-stable-2024-05-19-11-56' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+2
2024-05-18Merge tag 'kbuild-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds2-2/+2
2024-05-18Merge tag 'landlock-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+13
2024-05-14Merge tag 'net-next-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-1/+1
2024-05-13samples/landlock: Add support for LANDLOCK_ACCESS_FS_IOCTL_DEVGünther Noack1-3/+10
2024-05-13samples/landlock: Fix incorrect free in populate_ruleset_netIvanov Mikhail1-2/+3
2024-05-10kbuild: use $(src) instead of $(srctree)/$(src) for source directoryMasahiro Yamada2-2/+2
2024-05-08kfifo: don't use "proxy" headersAndy Shevchenko1-1/+2
2024-05-04virt: acrn: Fix typosThorsten Blum1-2/+2
2024-04-29samples/bpf: Add valid info for VMLINUX_BTFTao Chen1-1/+1
2024-04-16rust: sync: update `Arc` and `UniqueArc` to take allocation flagsWedson Almeida Filho1-2/+2
2024-04-16rust: alloc: update `VecExt` to take allocation flagsWedson Almeida Filho1-3/+3
2024-03-18Merge tag 'trace-v6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds1-7/+11
2024-03-18tracing: Remove second parameter to __assign_rel_str()Steven Rostedt (Google)1-1/+1
2024-03-18tracing: Add __string_len() exampleSteven Rostedt (Google)1-2/+5
2024-03-18tracing: Remove __assign_str_len()Steven Rostedt (Google)1-4/+5
2024-03-15Merge tag 'vfio-v6.9-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds2-20/+16
2024-03-14Merge tag 'landlock-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+8
2024-03-12Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-2/+2
2024-03-12Merge tag 'seccomp-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+6
2024-03-08samples/landlock: Don't error out if a file path cannot be openedMickaël Salaün1-5/+8
2024-03-05vfio/mbochs: make mbochs_class constantRicardo B. Marliere1-10/+8
2024-03-05vfio/mdpy: make mdpy_class constantRicardo B. Marliere1-10/+8
2024-03-02Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski2-2/+2
2024-02-29bpf: Replace bpf_lpm_trie_key 0-length array with flexible arrayKees Cook2-2/+2
2024-02-12samples: user-trap: fix strict-aliasing warningArnd Bergmann1-2/+6
2024-02-09work around gcc bugs with 'asm goto' with outputsLinus Torvalds1-4/+4
2024-01-24samples/cgroup: add .gitignore file for generated samplesLinus Torvalds1-0/+3
2024-01-20Merge tag 'riscv-for-linus-6.8-mw4' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds5-0/+153
2024-01-18Merge tag 'trace-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-1/+1
2024-01-17samples: ftrace: Add RISC-V support for SAMPLE_FTRACE_DIRECT[_MULTI]Song Shuai5-0/+153
2024-01-12Merge tag 'media/v6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds1-3/+4
2024-01-11Merge tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+2
2024-01-10Merge tag 'hardening-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-6/+6
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds5-0/+425
2023-12-20samples/bpf: Use %lu format specifier for unsigned long valuesColin Ian King1-2/+2
2023-12-18tracing: Allow creating instances with specified system eventsSteven Rostedt (Google)1-1/+1
2023-12-13media: videobuf2: core: Rename min_buffers_needed field in vb2_queueBenjamin Gaignard1-1/+1
2023-12-10samples/cgroup: introduce memcg memory.events listenerDmitry Rokosov2-1/+331
2023-12-10samples: introduce new samples subdir for cgroupDmitry Rokosov4-0/+95
2023-11-30samples: Replace strlcpy() with strscpy()Kees Cook2-6/+6
2023-11-28eventfd: simplify eventfd_signal()Christian Brauner1-2/+2
2023-11-23media: sample: v4l: Stop direct calls to queue num_buffers fieldBenjamin Gaignard1-2/+3
2023-11-03Merge tag 'landlock-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-15/+100
2023-11-01Merge tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-1/+1
2023-11-01Merge tag 'vfio-v6.7-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds3-75/+758
2023-10-26samples/landlock: Support TCP restrictionsKonstantin Meskhidze1-15/+100
2023-10-26samples/bpf: Allow building with custom bpftoolViktor Malik1-2/+3
2023-10-26samples/bpf: Fix passing LDFLAGS to libbpfViktor Malik1-1/+1
2023-10-26samples/bpf: Allow building with custom CFLAGS/LDFLAGSViktor Malik1-1/+4
2023-10-24vfio/mtty: Enable migration supportAlex Williamson1-0/+590
2023-10-24vfio/mtty: Overhaul mtty interrupt handlingAlex Williamson1-73/+166
2023-10-23samples: bpf: Fix syscall_tp openat argumentDenys Zagorui1-2/+13
2023-10-10samples: kprobes: Fixes a typoAtul Kumar Pant1-1/+1
2023-09-28vfio: use __aligned_u64 in struct vfio_device_gfx_plane_infoStefan Hajnoczi2-2/+2
2023-09-28samples/bpf: Add -fsanitize=bounds to userspace programsRuowen Qin1-0/+3
2023-09-21samples/bpf: syscall_tp_user: Fix array out-of-bound accessJinghao Jia1-3/+20
2023-09-21samples/bpf: syscall_tp_user: Rename num_progs into nr_testsJinghao Jia1-12/+12
2023-09-08selftests/bpf: trace_helpers.c: Optimize kallsyms cacheRong Tao1-0/+4
2023-08-30Merge tag 'vfio-v6.6-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds3-0/+3
2023-08-30Merge tag 'drm-next-2023-08-30' of git://anongit.freedesktop.org/drm/drmLinus Torvalds2-7/+2
2023-08-29Merge tag 'modules-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+4
2023-08-29Merge tag 'net-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds44-3720/+145
2023-08-24samples/bpf: Add note to README about the XDP utilities moved to xdp-toolsToke Høiland-Jørgensen1-0/+6
2023-08-24samples/bpf: Cleanup .gitignoreToke Høiland-Jørgensen1-12/+0
2023-08-24samples/bpf: Remove the xdp_sample_pkts utilityToke Høiland-Jørgensen3-256/+0
2023-08-24samples/bpf: Remove the xdp1 and xdp2 utilitiesToke Høiland-Jørgensen4-398/+0
2023-08-24samples/bpf: Remove the xdp_rxq_info utilityToke Høiland-Jørgensen3-757/+0
2023-08-24samples/bpf: Remove the xdp_redirect* utilitiesToke Høiland-Jørgensen9-1981/+1
2023-08-24samples/bpf: Remove the xdp_monitor utilityToke Høiland-Jørgensen3-133/+1
2023-08-21samples: ftrace: Replace bti assembly with hint for older compilerGONG, Ruiqi5-7/+7
2023-08-21samples/bpf: simplify spintest with kprobe.multiDaniel T. Lee2-29/+10
2023-08-21samples/bpf: refactor syscall tracing programs using BPF_KSYSCALL macroDaniel T. Lee1-7/+3
2023-08-21samples/bpf: fix broken map lookup probeDaniel T. Lee1-2/+15
2023-08-21samples/bpf: fix bio latency check with tracepointDaniel T. Lee1-12/+24
2023-08-21samples/bpf: make tracing programs to be more CO-RE centricDaniel T. Lee4-40/+20
2023-08-21samples/bpf: fix symbol mismatch by compiler optimizationDaniel T. Lee2-2/+3
2023-08-21samples/bpf: unify bpf program suffix to .bpf with tracing programsDaniel T. Lee17-17/+17
2023-08-21samples/bpf: convert to vmlinux.h with tracing programsDaniel T. Lee10-62/+25
2023-08-21samples/bpf: fix warning with ignored-attributesDaniel T. Lee1-1/+1
2023-08-04vfio-dev/mdpy-fb: Use fbdev I/O helpersThomas Zimmermann2-6/+2
2023-07-26samples/hw_breakpoint: mark sample_hbp as staticChen Jiahao1-1/+1
2023-07-25samples/hw_breakpoint: fix building without module unloadingArnd Bergmann1-0/+2
2023-07-25vfio-iommufd: Add detach_ioas support for emulated VFIO devicesYi Liu3-0/+3
2023-07-24samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'Rong Tao1-1/+1
2023-07-24vfio-mdev: Remove flag FBINFO_DEFAULT from fbdev sample driverThomas Zimmermann1-1/+0
2023-07-18samples/bpf: README: Update build dependencies requiredAnh Tuan Phan1-5/+9
2023-07-13Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski5-8/+12
2023-07-11samples/bpf: syscall_tp: Aarch64 no open syscallRong Tao1-0/+4
2023-07-10arm64: ftrace: Add direct call trampoline samples supportFlorent Revest5-0/+149
2023-07-10samples: ftrace: Save required argument registers in sample trampolinesFlorent Revest1-6/+8
2023-07-05Merge tag 'net-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds9-6/+37
2023-07-03Merge tag 'char-misc-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds5-0/+139
2023-07-03samples: pktgen: fix append mode failed issueJ.J. Martzki9-6/+37
2023-06-30Merge tag 'probes-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-2/+4
2023-06-29bpf: Replace deprecated -target with --target= for ClangFangrui Song4-8/+8
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds3-3/+3
2023-06-19samples: pfsm: add CC_CAN_LINK dependencyArnd Bergmann1-0/+1
2023-06-15samples: Add userspace example for TI TPS6594 PFSMJulien Panis5-0/+138
2023-06-09kmemleak-test: drop __init to get better backtraceJim Cromie1-1/+1
2023-06-06fprobe: Pass return address to the handlersMasami Hiramatsu (Google)1-2/+4
2023-05-31samples/bpf: xdp1 and xdp2 reduce XDPBUFSIZE to 60Jesper Dangaard Brouer2-2/+2
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2023-05-16Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+1
2023-05-16samples/bpf: Drop unnecessary fallthroughAndrii Nakryiko1-1/+0
2023-05-05samples/bpf: Fix buffer overflow in tcp_baserttPengcheng Yang1-1/+1
2023-05-04Merge tag 'loongarch-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds5-0/+150
2023-05-01LoongArch: ftrace: Add direct call trampoline samples supportYouling Tang5-0/+150
2023-04-30Merge tag 'rust-6.4' of https://github.com/Rust-for-Linux/linuxLinus Torvalds1-0/+26
2023-04-28Merge tag 'trace-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds2-39/+13
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-2/+9
2023-04-27Merge tag 'char-misc-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+2
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-3/+3
2023-04-27Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-0/+9
2023-04-26Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds9-15/+23
2023-04-20virt: acrn: Replace obsolete memalign() with posix_memalign()Deming Wang1-3/+2
2023-04-18kmemleak-test: fix kmemleak_test.c build logicHao Ge3-2/+9
2023-04-13samples/bpf: sampleip: Replace PAGE_OFFSET with _text addressRong Tao1-2/+9
2023-04-13Daniel Borkmann says:Jakub Kicinski8-13/+14
2023-04-13samples/bpf: Fix fout leak in hbm's run_bpf_progHao Zeng1-0/+1
2023-04-10samples: rust: print: Add sample code for Arc printingBoqun Feng1-0/+26
2023-03-31vfio/mdev: Uses the vfio emulated iommufd ops set in the mdev sample driversYi Liu3-0/+9
2023-03-29tracing/user_events: Use write ABI in exampleBeau Belgrave1-37/+8
2023-03-28fprobe: Skip exit_handler if entry_handler returns !0Masami Hiramatsu (Google)1-2/+3
2023-03-28fprobe: Pass entry_data to handlersMasami Hiramatsu (Google)1-2/+4
2023-03-21ftrace: Rename _ftrace_direct_multi APIs to _ftrace_direct APIsFlorent Revest6-17/+17
2023-03-21ftrace: Replace uses of _ftrace_direct APIs with _ftrace_direct_multiFlorent Revest3-14/+22
2023-03-21ftrace: Let unregister_ftrace_direct_multi() call ftrace_free_filter()Florent Revest2-4/+2
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman3-3/+3
2023-03-13bpf: use canonical ftrace pathRoss Zwisler8-13/+13