aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2023-09-23samples/hw_breakpoint: fix building without module unloadingArnd Bergmann1-0/+2
2023-09-23samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'Rong Tao1-1/+1
2023-09-19samples/bpf: fix broken map lookup probeDaniel T. Lee1-2/+15
2023-07-23samples: ftrace: Save required argument registers in sample trampolinesFlorent Revest1-6/+8
2023-07-23samples/bpf: Fix buffer overflow in tcp_baserttPengcheng Yang1-1/+1
2023-05-24samples/bpf: Fix fout leak in hbm's run_bpf_progHao Zeng1-0/+1
2022-12-31samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()Shang XiaoJing1-1/+7
2022-06-09samples/landlock: Format with clang-formatMickaël Salaün1-44/+52
2022-06-09samples/landlock: Add clang-format exceptionsMickaël Salaün1-0/+8
2022-06-09samples: bpf: Don't fail for a missing VMLINUX_BTF when VMLINUX_H is providedJerome Marchand1-5/+4
2022-05-15x86: Prepare inline-asm for straight-line-speculationPeter Zijlstra3-4/+4
2022-04-08samples/bpf, xdpsock: Fix race when running for fix duration of timeNiklas Söderlund1-2/+3
2022-04-08samples/landlock: Fix path_list memory leakTom Rix1-0/+1
2022-01-27samples: bpf: Fix 'unknown warning group' build warning on ClangAlexander Lobakin1-0/+2
2022-01-27samples: bpf: Fix xdp_sample_user.o linking with ClangAlexander Lobakin1-1/+6
2022-01-27samples/bpf: Clean up samples/bpf build failesAndrii Nakryiko4-21/+12
2022-01-27samples/bpf: Install libbpf headers when buildingQuentin Monnet1-10/+30
2022-01-11ftrace/samples: Add missing prototypes direct functionsJiri Olsa3-0/+8
2021-11-25samples/bpf: Fix incorrect use of strlen in xdp_redirect_cpuKumar Kartikeya Dwivedi1-3/+2
2021-11-25samples/bpf: Fix summary per-sec stats in xdp_sample_userAlexander Lobakin1-13/+15
2021-11-18samples/kretprobes: Fix return value if register_kretprobe() failedTiezhu Yang1-1/+1
2021-11-18samples/bpf: Fix application of sizeof to pointerDavid Yang1-4/+2
2021-09-29samples/bpf: Relicense bpf_insn.h as GPL-2.0-only OR BSD-2-ClauseLuca Boccassi1-1/+1
2021-09-28samples: bpf: Fix vmlinux.h generation for XDP samplesKumar Kartikeya Dwivedi2-14/+8
2021-09-07Merge tag 'kgdb-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/da...Linus Torvalds1-11/+9
2021-09-02Merge tag 'vfio-v5.15-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds3-70/+50
2021-09-01Merge tag 'char-misc-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-21/+30
2021-08-31Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds37-2906/+3460
2021-08-30Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski22-2846/+3341
2021-08-26samples: bpf: Fix uninitialized variable in xdp_redirect_cpuKumar Kartikeya Dwivedi1-2/+3
2021-08-25samples: pktgen: add trap SIGINT for printing execution resultJuhee Kang5-27/+62
2021-08-25samples: pktgen: fix to print when terminated normallyJuhee Kang1-2/+4
2021-08-24samples: bpf: Convert xdp_redirect_map_multi to XDP samples helperKumar Kartikeya Dwivedi4-220/+153
2021-08-24samples: bpf: Convert xdp_redirect_map_multi_kern.o to XDP samples helperKumar Kartikeya Dwivedi2-31/+26
2021-08-24samples: bpf: Convert xdp_redirect_map to XDP samples helperKumar Kartikeya Dwivedi2-229/+161
2021-08-24samples: bpf: Convert xdp_redirect_map_kern.o to XDP samples helperKumar Kartikeya Dwivedi2-70/+25
2021-08-24samples: bpf: Convert xdp_redirect_cpu to XDP samples helperKumar Kartikeya Dwivedi2-767/+343
2021-08-24samples: bpf: Convert xdp_redirect_cpu_kern.o to XDP samples helperKumar Kartikeya Dwivedi2-293/+105
2021-08-24samples: bpf: Convert xdp_redirect to XDP samples helperKumar Kartikeya Dwivedi2-159/+116
2021-08-24samples: bpf: Convert xdp_redirect_kern.o to XDP samples helperKumar Kartikeya Dwivedi3-92/+52
2021-08-24samples: bpf: Convert xdp_monitor to XDP samples helperKumar Kartikeya Dwivedi3-735/+83
2021-08-24samples: bpf: Convert xdp_monitor_kern.o to XDP samples helperKumar Kartikeya Dwivedi3-258/+49
2021-08-24samples: bpf: Add vmlinux.h generation supportKumar Kartikeya Dwivedi1-0/+25
2021-08-24samples: bpf: Add devmap_xmit tracepoint statistics supportKumar Kartikeya Dwivedi2-3/+331
2021-08-24samples: bpf: Add BPF support for devmap_xmit tracepointKumar Kartikeya Dwivedi1-0/+71
2021-08-24samples: bpf: Add cpumap tracepoint statistics supportKumar Kartikeya Dwivedi2-1/+224
2021-08-24samples: bpf: Add BPF support for cpumap tracepointsKumar Kartikeya Dwivedi1-1/+57
2021-08-24samples: bpf: Add xdp_exception tracepoint statistics supportKumar Kartikeya Dwivedi2-0/+116
2021-08-24samples: bpf: Add BPF support for xdp_exception tracepointKumar Kartikeya Dwivedi1-0/+27
2021-08-24samples: bpf: Add redirect tracepoint statistics supportKumar Kartikeya Dwivedi2-0/+215
2021-08-24samples: bpf: Add BPF support for redirect tracepointKumar Kartikeya Dwivedi2-0/+253
2021-08-24samples: bpf: Add basic infrastructure for XDP samplesKumar Kartikeya Dwivedi3-0/+915
2021-08-24samples: bpf: Fix a couple of warningsKumar Kartikeya Dwivedi2-4/+9
2021-08-17tracing: Add trace_event helper macros __string_len() and __assign_str_len()Steven Rostedt (VMware)1-0/+27
2021-08-16samples: pktgen: add missing IPv6 option to pktgen scriptsJuhee Kang2-10/+14
2021-08-16samples: pktgen: pass the environment variable of normal user to sudoJuhee Kang1-1/+1
2021-08-15samples/bpf: Define MAX_ENTRIES instead of a magic number in offwaketimeMuhammad Falak R Wani1-4/+5
2021-08-11vfio/mbochs: Fix close when multiple device FDs are openJason Gunthorpe1-2/+2
2021-08-11vfio/samples: Delete useless open/closeJason Gunthorpe3-30/+0
2021-08-11vfio: Introduce a vfio_uninit_group_dev() API callMax Gurtovoy3-21/+33
2021-08-11vfio/mbochs: Fix missing error unwind of mbochs_used_mbytesJason Gunthorpe1-9/+15
2021-08-11vfio/samples: Remove module get/putJason Gunthorpe2-8/+0
2021-08-10samples, bpf: Add an explict comment to handle nested vlan tagging.Muhammad Falak R Wani2-0/+4
2021-08-06samples/bpf: xdpsock: Remove forward declaration of ip_fast_csum()Niklas Söderlund1-3/+1
2021-08-06samples/bpf: xdpsock: Make the sample more useful outside the treeNiklas Söderlund1-9/+7
2021-08-05bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstringMatthew Cover1-1/+1
2021-08-01samples: mei: don't wait on read completion upon write.Alexander Usyskin1-21/+30
2021-07-27samples: bpf: Add the omitted xdp samples to .gitignoreJuhee Kang1-0/+2
2021-07-27samples: bpf: Fix tracex7 error raised on the missing argumentJuhee Kang2-0/+6
2021-07-27kdb: Rename members of struct kdbtab_tSumit Garg1-4/+4
2021-07-27kdb: Get rid of redundant kdb_register_flags()Sumit Garg1-11/+9
2021-07-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-6/+16
2021-07-14Merge tag 'net-5.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-0/+29
2021-07-07samples/bpf: xdp_redirect_cpu_user: Cpumap qsize set larger defaultJesper Dangaard Brouer1-6/+16
2021-07-05bpf, samples: Fix xdpsock with '-M' parameter missing unload processWang Hai1-0/+28
2021-07-05bpf, samples: Add -fno-asynchronous-unwind-tables to BPF Clang invocationToke Høiland-Jørgensen1-0/+1
2021-07-03Merge tag 'vfio-v5.14-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds4-266/+282
2021-06-30Merge tag 'net-next-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds16-7/+420
2021-06-28Merge tag 'docs-5.14' of git://git.lwn.net/linuxLinus Torvalds1-15/+16
2021-06-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+2
2021-06-28vfio/mtty: Enforce available_instancesAlex Williamson1-6/+16
2021-06-28Merge tag 'perf-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-15/+0
2021-06-28vfio/mtty: Delete mdev_devices_listJason Gunthorpe1-18/+6
2021-06-24vfio/mdpy: Fix memory leak of object mdev_state->vconfigColin Ian King1-0/+1
2021-06-21vfio/mbochs: Convert to use vfio_register_group_dev()Jason Gunthorpe1-72/+91
2021-06-21vfio/mdpy: Convert to use vfio_register_group_dev()Jason Gunthorpe1-71/+88
2021-06-21vfio/mtty: Convert to use vfio_register_group_dev()Jason Gunthorpe1-102/+83
2021-06-21vfio/mdev: Remove CONFIG_VFIO_MDEV_DEVICEJason Gunthorpe1-3/+3
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+9
2021-06-18samples/bpf: Fix the error return code of xdp_redirect's main()Wang Hai1-1/+1
2021-06-18samples/bpf: Fix Segmentation fault for xdp_redirect commandWang Hai1-1/+1
2021-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller7-3/+399
2021-06-16samples/bpf: Add missing option to xdp_sample_pkts usageWang Hai1-1/+2
2021-06-16samples/bpf: Add missing option to xdp_fwd usageWang Hai1-0/+2
2021-06-03Merge tag 'vfio-v5.13-rc5' of git://github.com/awilliam/linux-vfioLinus Torvalds1-4/+9
2021-06-01kprobes: Remove kprobe::fault_handlerPeter Zijlstra1-15/+0
2021-05-28samples: pktgen: add UDP tx checksum supportLorenzo Bianconi7-1/+18
2021-05-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-05-26sample/bpf: Add xdp_redirect_map_multi for redirect_map broadcast testHangbin Liu3-0/+393
2021-05-24samples: bpf: Ix kernel-doc syntax in file headerAditya Srivastava2-2/+2
2021-05-24samples: vfio-mdev: fix error handing in mdpy_fb_probe()Wei Yongjun1-4/+9
2021-05-20samples/kprobes: Fix typo in handler_post()Tiezhu Yang1-16/+17
2021-05-20samples/kprobes: Fix typo in handler_fault()Tiezhu Yang1-1/+1
2021-05-12samples, bpf: Suppress compiler warningHailong Liu1-1/+1
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