aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2022-10-04vfio/mdev: add mdev available instance checking to the coreJason Gunthorpe1-18/+4
2022-10-04vfio/mdev: consolidate all the description sysfs into the core codeChristoph Hellwig2-18/+4
2022-10-04vfio/mdev: consolidate all the available_instance sysfs into the core codeChristoph Hellwig3-26/+9
2022-10-04vfio/mdev: consolidate all the name sysfs into the core codeChristoph Hellwig3-46/+13
2022-10-04vfio/mdev: consolidate all the device_api sysfs into the core codeJason Gunthorpe3-25/+3
2022-10-04vfio/mdev: simplify mdev_type handlingChristoph Hellwig3-95/+72
2022-10-04vfio/mdev: embedd struct mdev_parent in the parent data structureChristoph Hellwig3-6/+10
2022-10-04vfio/mdev: make mdev.h standalone includableChristoph Hellwig3-4/+0
2022-09-30samples/bpf: Fix typo in xdp_router_ipv4 sampleDeming Wang1-1/+1
2022-09-29samples/landlock: Print hints about ABI versionsMickaël Salaün1-8/+29
2022-09-29tracing/user_events: Use bits vs bytes for enabled status page dataBeau Belgrave1-7/+18
2022-09-28samples: add first Rust examplesMiguel Ojeda10-0/+108
2022-09-21vfio/mbochs: Use the new device life cycle helpersYi Liu1-27/+46
2022-09-21vfio/mtty: Use the new device life cycle helpersYi Liu1-28/+39
2022-09-21vfio/mdpy: Use the new device life cycle helpersYi Liu1-34/+47
2022-09-20samples/bpf: Replace blk_account_io_done() with __blk_account_io_done()Rong Tao3-3/+3
2022-09-05samples/bpf: Reduce syscall overhead in map_perf_test.Alexei Starovoitov2-17/+29
2022-08-29soc: qcom: qmi: use const for struct qmi_elem_infoJeff Johnson1-5/+5
2022-08-05Merge tag 'trace-v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds2-6/+40
2022-08-04Merge tag 'spdx-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-13/+1
2022-07-24tracing: Add example and documentation for new __vstring() macroSteven Rostedt (Google)2-6/+40
2022-07-22Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski9-14/+29
2022-07-15samples: bpf: Fix cross-compiling error by using bootstrap bpftoolPu Lehui1-6/+4
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-7/+5
2022-07-13samples: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZELinkui Xiao6-6/+12
2022-07-12Merge tag 'trace-v5.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-7/+5
2022-07-12samples: Use KSYM_NAME_LEN for kprobesTiezhu Yang2-6/+4
2022-07-12fprobe/samples: Make sample_probe staticsunliming1-1/+1
2022-07-11samples/bpf: Fix xdp_redirect_map egress devmap progJesper Dangaard Brouer2-2/+13
2022-07-09Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski9-3353/+17
2022-07-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+7
2022-07-05bpf, samples: Remove AF_XDP samplesMagnus Karlsson6-3346/+0
2022-06-24fprobe, samples: Add module parameter descriptionsMasami Hiramatsu (Google)1-0/+7
2022-06-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+25
2022-06-21samples/bpf: fixup some tools to be able to support xdp multibufferAndy Gospodarek3-7/+17
2022-06-17fprobe, samples: Add use_trace option and show hit/missed counterMasami Hiramatsu (Google)1-4/+25
2022-06-15samples/bpf: Check detach prog exist or not in xdp_fwdZhengchao Shao1-6/+49
2022-06-10treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_168.RULE (p...Thomas Gleixner1-13/+1
2022-06-02sample: bpf: xdp_router_ipv4: Allow the kernel to send arp requestsLorenzo Bianconi1-0/+9
2022-05-25Merge tag 'drm-next-2022-05-25' of git://anongit.freedesktop.org/drm/drmLinus Torvalds3-50/+7
2022-05-25Merge tag 'net-next-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds34-497/+419
2022-05-24Merge tag 'landlock-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-51/+81
2022-05-23Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski2-11/+20
2022-05-23samples/landlock: Add support for file reparentingMickaël Salaün1-13/+27
2022-05-23samples/landlock: Format with clang-formatMickaël Salaün1-44/+52
2022-05-23samples/landlock: Add clang-format exceptionsMickaël Salaün1-0/+8
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2022-05-12sched/tracing: Append prev_state to tp args insteadDelyan Kratunov1-3/+3
2022-05-09samples: bpf: Don't fail for a missing VMLINUX_BTF when VMLINUX_H is providedJerome Marchand1-5/+4
2022-04-27samples/bpf: Detach xdp prog when program exits unexpectedly in xdp_rxq_info_...Zhengchao Shao1-6/+16
2022-04-21vfio/mdev: Remove mdev_parent_opsJason Gunthorpe3-21/+6
2022-04-21vfio/mdev: Remove mdev_parent_ops dev_attr_groupsJason Gunthorpe1-29/+1
2022-04-20samples/bpf: Reduce the sampling interval in xdp1_userZhengchao Shao1-1/+1
2022-04-10samples/bpf: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCKYafang Shao31-42/+7
2022-04-08samples, bpf: Move routes monitor in xdp_router_ipv4 in a dedicated threadLorenzo Bianconi2-33/+55
2022-04-04samples: bpf: Fix linking xdp_router_ipv4 after migrationAlexander Lobakin1-0/+1
2022-04-04sample: bpf: syscall_tp_user: Print result of verify_mapSong Chen1-0/+3
2022-04-03samples: bpf: Convert xdp_router_ipv4 to XDP samples helperLorenzo Bianconi4-459/+381
2022-03-29Merge tag 'dma-mapping-5.18' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-1/+1
2022-03-28Merge tag 'livepatching-for-5.18' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-2/+2
2022-03-28Merge tag 'driver-core-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-4/+4
2022-03-27Merge tag 'landlock-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2022-03-27Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds5-4/+22
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds21-94/+252
2022-03-23Merge tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds7-1/+262
2022-03-23livepatch: Reorder to use before freeing a pointerTom Rix2-2/+2
2022-03-18samples/kobject: Use sysfs_emit instead of sprintfNguyen Dinh Phi2-4/+4
2022-03-17fprobe: Add sample program for fprobeMasami Hiramatsu4-0/+131
2022-03-15samples/bpf, xdpsock: Fix race when running for fix duration of timeNiklas Söderlund1-3/+3
2022-03-15x86/ibt,ftrace: Add ENDBR to samples/ftracePeter Zijlstra5-4/+22
2022-03-11tracing: Add TRACE_CUSTOM_EVENT() macroSteven Rostedt (Google)3-236/+120
2022-03-11tracing: Add sample code for custom trace eventsSteven Rostedt (Google)4-1/+281
2022-02-25media: v4l2-pci-skeleton: Remove usage of the deprecated "pci-dma-compat.h" APIChristophe JAILLET1-1/+1
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+7
2022-02-10user_events: Add sample code for typical usageBeau Belgrave2-0/+96
2022-02-10samples/seccomp: Adjust sample to also provide kill optionKees Cook1-2/+7
2022-02-04samples/landlock: Fix path_list memory leakTom Rix1-0/+1
2022-02-03samples/bpf: Get rid of bpf_prog_load_xattr() useAndrii Nakryiko6-35/+63
2022-02-01samples/bpf: Update cpumap/devmap sec_nameLorenzo Bianconi3-6/+6
2022-01-25samples/bpf: use preferred getters/setters instead of deprecated onesAndrii Nakryiko4-4/+4
2022-01-24Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski11-46/+45
2022-01-20samples/bpf: adapt samples/bpf to bpf_xdp_xxx() APIsAndrii Nakryiko11-41/+40
2022-01-20Merge branch 'akpm' (patches from Andrew)Linus Torvalds3-9/+11
2022-01-20samples/bpf/test_overhead_kprobe_kern: replace bpf_probe_read_kernel with bpf...Yafang Shao3-9/+11
2022-01-16Merge tag 'trace-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds2-1/+37
2022-01-14Merge tag 'char-misc-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-0/+87
2022-01-13tracing: Fix mismatched comment in __string_lenGeliang Tang1-1/+1
2022-01-12samples/bpf: Stop using bpf_map__def() APIChristy Lee1-5/+5
2022-01-12Merge tag 'x86_core_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds3-4/+4
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-21Merge tag 'coresight-next-v5.17' of gitolite.kernel.org:pub/scm/linux/kernel/...Greg Kroah-Hartman4-0/+87
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-08x86: Prepare inline-asm for straight-line-speculationPeter Zijlstra3-4/+4
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-06samples/trace_event: Add '__rel_loc' using sample eventMasami Hiramatsu2-0/+36
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-26coresight: syscfg: Example CoreSight configuration loadable moduleMike Leach4-0/+87
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