aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2022-01-10Merge tag '5.17-net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds22-109/+489
2022-01-05samples/bpf: xdpsock: Add timestamp for Tx-only operationOng Boon Leong1-9/+68
2022-01-05samples/bpf: xdpsock: Add time-out for cleaning TxOng Boon Leong1-2/+9
2022-01-05samples/bpf: xdpsock: Add sched policy and priority supportOng Boon Leong1-2/+59
2022-01-05samples/bpf: xdpsock: Add cyclic TX operation capabilityOng Boon Leong1-5/+80
2022-01-05samples/bpf: xdpsock: Add clockid selection supportOng Boon Leong1-2/+38
2022-01-05samples/bpf: xdpsock: Add Dest and Src MAC setting for Tx-only operationOng Boon Leong1-5/+30
2022-01-05samples/bpf: xdpsock: Add VLAN support for Tx-only operationOng Boon Leong1-15/+75
2022-01-05ftrace/samples: Add missing prototypes direct functionsJiri Olsa4-0/+11
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2-3/+20
2021-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-0/+153
2021-12-14samples/bpf: Stop using bpf_object__find_program_by_title API.Kui-Feng Lee2-3/+20
2021-12-10Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski20-84/+128
2021-12-09ftrace/samples: Add module to test multi direct modify interfaceJiri Olsa2-0/+153
2021-12-09samples/bpf: Remove unneeded variableMinghao Chi1-3/+1
2021-12-06samples: bpf: Fix 'unknown warning group' build warning on ClangAlexander Lobakin1-0/+2
2021-12-06samples: bpf: Fix xdp_sample_user.o linking with ClangAlexander Lobakin1-1/+6
2021-12-02samples/bpf: Get rid of deprecated libbpf API usesAndrii Nakryiko15-57/+108
2021-12-02samples/bpf: Clean up samples/bpf build failesAndrii Nakryiko4-21/+12
2021-12-01samples: bpf: Fix conflicting types in fds_exampleAlexander Lobakin1-7/+2
2021-11-20Merge tag 's390-5.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds4-3/+42
2021-11-18ftrace/samples: add s390 support for ftrace direct multi sampleHeiko Carstens1-0/+30
2021-11-18ftrace/samples: add missing Kconfig option for ftrace direct multi sampleHeiko Carstens3-3/+12
2021-11-15samples/bpf: Fix build error due to -isystem removalAlexander Lobakin1-2/+0
2021-11-12samples/bpf: Fix incorrect use of strlen in xdp_redirect_cpuKumar Kartikeya Dwivedi1-3/+2
2021-11-12samples/bpf: Fix summary per-sec stats in xdp_sample_userAlexander Lobakin1-13/+15
2021-11-07Add gitignore file for samples/fanotify/ subdirectoryLinus Torvalds1-0/+1
2021-11-06Merge tag 'fsnotify_for_v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds4-0/+157
2021-11-06Merge tag 's390-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds6-2/+109
2021-11-04Merge tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds5-22/+22
2021-11-03Merge tag 'vfio-v5.16-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds3-3/+3
2021-11-03Merge tag 'trace-v5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-0/+2
2021-11-02Merge tag 'net-next-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds7-34/+74
2021-11-01Merge tag 'trace-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds3-1/+54
2021-11-01Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski6-22/+47
2021-11-01ftrace/samples: Add missing prototype for my_direct_funcJiri Olsa1-0/+2
2021-11-01samples: remove duplicate include in fs-monitor.cZhang Mingyu1-1/+0
2021-11-01samples: Fix warning in fsnotify sampleJan Kara1-1/+2
2021-11-01samples: Make fs-monitor depend on libc and headersGabriel Krisman Bertazi1-1/+1
2021-10-27samples: Add fs error monitoring exampleGabriel Krisman Bertazi4-0/+157
2021-10-26samples/kretprobes: Fix return value if register_kretprobe() failedTiezhu Yang1-1/+1
2021-10-25samples: seccomp: Use __BYTE_ORDER__Ilya Leoshkevich1-4/+4
2021-10-25dma-buf: move dma-buf symbols into the DMA_BUF module namespaceGreg Kroah-Hartman1-0/+1
2021-10-21samples: bpf: Suppress readelf stderr when probing for BTF supportPu Lehui1-1/+2
2021-10-21ftrace/samples: Add multi direct interface test moduleJiri Olsa2-0/+53
2021-10-20samples/bpf: Fix application of sizeof to pointerDavid Yang1-4/+2
2021-10-19samples: add s390 support for ftrace direct call samplesHeiko Carstens3-0/+100
2021-10-19samples: add HAVE_SAMPLE_FTRACE_DIRECT config optionHeiko Carstens1-1/+4
2021-10-18Merge 5.15-rc6 into char-misc-nextGreg Kroah-Hartman3-15/+9
2021-10-13samples/kfifo: Rename read_lock/write_lockSebastian Andrzej Siewior3-18/+18
2021-10-08samples/bpf: Do not FORCE-recompile libbpfQuentin Monnet1-1/+1
2021-10-08samples/bpf: Install libbpf headers when buildingQuentin Monnet1-10/+30
2021-10-08samples/bpf: Update .gitignoreQuentin Monnet1-0/+4
2021-10-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-15/+9
2021-10-06selftests/bpf: Switch to new bpf_object__next_{map,program} APIsHengqi Chen2-2/+2
2021-10-06bpf: Use $(pound) instead of \# in MakefilesQuentin Monnet1-1/+3
2021-09-30vfio: simplify iommu group allocation for mediated devicesChristoph Hellwig3-3/+3
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-21samples: bpf: Convert ARP table network order fields into readable formatGokul Sivakumar1-3/+14
2021-09-21samples: bpf: Convert route table network order fields into readable formatGokul Sivakumar1-9/+13
2021-09-14nitro_enclaves: Add fixes for checkpatch blank line reportsAndra Paraschiv1-2/+1
2021-09-14nitro_enclaves: Add fixes for checkpatch spell check reportsAndra Paraschiv1-2/+2
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