aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
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
2023-03-01Merge tag 'loongarch-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds1-0/+8
2023-02-25Merge tag 'vfio-v6.3-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds2-8/+111
2023-02-25samples/kprobes: Add LoongArch supportTiezhu Yang1-0/+8
2023-02-24Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2023-02-23Merge tag 'trace-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds10-7/+268
2023-02-22Merge tag 'drm-next-2023-02-23' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-8/+0
2023-02-22Merge tag 'for-linus-2023022201' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds10-0/+1013
2023-02-22Merge branch 'for-6.3/hid-bpf' into for-linusBenjamin Tissoires10-0/+1013
2023-02-18tracing: Always use canonical ftrace pathRoss Zwisler1-2/+2
2023-02-16samples/bpf: Use bpf_{btf,link,map,prog}_get_info_by_fd()Ilya Leoshkevich8-10/+10
2023-02-10Daniel Borkmann says:Jakub Kicinski1-0/+14
2023-02-08samples/bpf: Add openat2() enter/exit tracepoint to syscall_tp sampleRong Tao1-0/+14
2023-02-08samples/kobject: make kobj_type structure constantThomas Weißschuh1-1/+1
2023-02-07samples: ftrace: Make some global variables staticTom Rix1-12/+12
2023-02-07ftrace: sample: avoid open-coded 64-bit divisionArnd Bergmann1-1/+1
2023-02-07samples: ftrace: Include the nospec-branch.h only for x86Song Shuai5-5/+5
2023-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-0/+2
2023-01-31Merge v6.2-rc6 into drm-nextDaniel Vetter2-0/+2
2023-01-30samples: fix the prompt about SAMPLE_VFIO_MDEV_MBOCHSye xingchen1-1/+1
2023-01-30vfio-mdev: add back CONFIG_VFIO dependencyArnd Bergmann1-0/+3
2023-01-25ftrace: Add sample with custom opsMark Rutland4-0/+261
2023-01-24Merge tag 'drm-misc-next-2023-01-19' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter1-8/+0
2023-01-24ftrace: Export ftrace_free_filter() to modulesMark Rutland2-0/+2
2023-01-23vfio-mdev: move the mtty usage documentationChristoph Hellwig1-0/+100
2023-01-23vfio-mdev: turn VFIO_MDEV into a selectable symbolChristoph Hellwig1-3/+3
2023-01-23vfio-mdev: allow building the samples into the kernelChristoph Hellwig1-8/+8
2023-01-15samples/bpf: change _kern suffix to .bpf with BPF test programsDaniel T. Lee13-14/+14
2023-01-15samples/bpf: use vmlinux.h instead of implicit headers in BPF test programDaniel T. Lee8-29/+12
2023-01-15samples/bpf: replace BPF programs header with net_shared.hDaniel T. Lee4-10/+15
2023-01-15samples/bpf: split common macros to net_shared.hDaniel T. Lee2-21/+27
2023-01-15samples/bpf: replace legacy map with the BTF-defined mapDaniel T. Lee2-35/+14
2023-01-15samples/bpf: replace broken overhead microbenchmark with fib_table_lookupDaniel T. Lee4-18/+40
2023-01-15samples/bpf: fix broken cgroup socket testingDaniel T. Lee1-6/+6
2023-01-15samples/bpf: fix broken lightweight tunnel testingDaniel T. Lee2-22/+25
2023-01-15samples/bpf: refactor BPF functionality testing scriptsDaniel T. Lee5-15/+22
2023-01-15samples/bpf: ensure ipv6 is enabled before running testsDaniel T. Lee3-1/+8
2023-01-13vfio-mdev/mdpy-fb: Do not set struct fb_info.aperturesThomas Zimmermann1-8/+0
2023-01-04Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski16-90/+58
2022-12-29samples/bpf: Use BPF_KSYSCALL macro in syscall tracing programsDaniel T. Lee3-23/+19
2022-12-29samples/bpf: Fix tracex2 by using BPF_KSYSCALL macroDaniel T. Lee1-3/+3
2022-12-29samples/bpf: Change _kern suffix to .bpf with syscall tracing programDaniel T. Lee12-10/+11
2022-12-29samples/bpf: Use vmlinux.h instead of implicit headers in syscall tracing pro...Daniel T. Lee5-14/+7
2022-12-29samples/bpf: Use kyscall instead of kprobe in syscall tracing programDaniel T. Lee7-31/+12
2022-12-19samples/bpf: fix uninitialized warning with test_current_task_under_cgroupDaniel T. Lee1-2/+4
2022-12-19samples/bpf: replace meaningless counter with tracex4Daniel T. Lee1-2/+2
2022-12-19samples/bpf: remove unused function with test_lru_distDaniel T. Lee1-5/+0
2022-12-16Merge tag 'char-misc-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+0
2022-12-15Merge tag 'trace-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds2-9/+27
2022-12-15Merge tag 'vfio-v6.2-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds4-13/+19
2022-12-14Merge tag 'x86_core_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds5-0/+12
2022-12-14tracing: Fix cpumask() example typoSteven Rostedt (Google)1-1/+1
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds11-66/+79
2022-12-13Merge tag 'landlock-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-4/+25
2022-12-12samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()Shang XiaoJing1-1/+7
2022-12-05vfio/ap/ccw/samples: Fix device_register() unwind pathAlex Williamson3-9/+12
2022-12-04rust: macros: take string literals in `module!`Gary Guo2-8/+8
2022-12-01rust: samples: add `rust_print` exampleMiguel Ojeda3-0/+65
2022-11-28Daniel Borkmann says:Jakub Kicinski2-2/+2
2022-11-25samples/bpf: Fix wrong allocation size in xdp_router_ipv4_userRong Tao1-1/+1
2022-11-23tracing: Add __cpumask to denote a trace event field that is a cpumask_tSteven Rostedt (Google)2-9/+27
2022-11-23virt: acrn: Mark the uuid field as unusedAndy Shevchenko1-3/+0
2022-11-22samples: pktgen: Use "grep -E" instead of "egrep"Tiezhu Yang1-1/+1
2022-11-21samples/hid: Fix spelling mistake "wihout" -> "without"Colin Ian King1-2/+2
2022-11-18bpf, samples: Use "grep -E" instead of "egrep"Tiezhu Yang1-1/+1
2022-11-15samples/hid: add Surface Dial exampleBenjamin Tissoires5-1/+368
2022-11-15samples/hid: add new hid BPF exampleBenjamin Tissoires8-0/+646
2022-11-10vfio: Remove vfio_free_deviceEric Farman3-3/+0
2022-11-07samples/bpf: Fix sockex3 error: Missing BPF prog typeRong Tao2-55/+63
2022-11-07samples/landlock: Document best-effort approach for LANDLOCK_ACCESS_FS_REFERGünther Noack1-1/+16
2022-11-04samples/bpf: Fix tracex2 error: No such file or directoryRong Tao2-3/+4
2022-11-01samples/bpf: Fix typo in READMEKang Minchul1-1/+1
2022-10-19samples/bpf: Fix typos in READMEDaniel Müller1-2/+2
2022-10-19samples/bpf: Fix double word in commentsShaomin Deng1-1/+1
2022-10-19samples/bpf: Fix MAC address swapping in xdp2_kernGerhard Engleder1-0/+4
2022-10-19samples/bpf: Fix map iteration in xdp1_userGerhard Engleder1-1/+1
2022-10-19samples/landlock: Extend sample tool to support LANDLOCK_ACCESS_FS_TRUNCATEGünther Noack1-3/+9
2022-10-17x86/ftrace: Make it call depth tracking awarePeter Zijlstra5-0/+12
2022-10-12Merge tag 'vfio-v6.1-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds3-297/+217
2022-10-10Merge tag 'trace-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-7/+18
2022-10-06Merge tag 'arm-drivers-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+5
2022-10-04Merge tag 'net-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds6-21/+33
2022-10-04Merge tag 'landlock-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-8/+29