aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2016-10-14Merge tag 'linux-kselftest-4.9-rc1-update' of git://git.kernel.org/pub/scm/li...Linus Torvalds24-1/+3656
2016-10-10samples: move blackfin gptimers-example from DocumentationShuah Khan4-1/+99
2016-10-06Merge tag 'rpmsg-v4.9' of git://github.com/andersson/remoteprocLinus Torvalds1-9/+23
2016-09-29bpf: allow access into map value arraysJosef Bacik2-4/+247
2016-09-27bpf samples: update tracex5 sample to use __seccomp_filterNaveen N. Rao2-9/+10
2016-09-27bpf samples: fix compiler errors with sockex2 and sockex3Naveen N. Rao3-11/+11
2016-09-23samples: move auxdisplay example code from DocumentationShuah Khan3-0/+291
2016-09-23samples: move watchdog example code from DocumentationShuah Khan3-0/+33
2016-09-23samples: move timers example code from DocumentationShuah Khan3-0/+310
2016-09-23samples: move misc-devices/mei example code from DocumentationShuah Khan4-0/+491
2016-09-20bpf: add test cases for direct packet accessDaniel Borkmann1-3/+430
2016-09-20samples: move mic/mpssd example code from DocumentationShuah Khan7-0/+2432
2016-09-17samples/bpf: add comprehensive ipip, ipip6, ip6ip6 testAlexei Starovoitov2-0/+310
2016-09-17samples/bpf: extend test_tunnel_bpf.sh with IPIP testAlexei Starovoitov2-8/+106
2016-09-08rpmsg: Allow callback to return errorsBjorn Andersson1-2/+4
2016-09-08rpmsg: Clean up rpmsg device vs channel namingBjorn Andersson1-3/+3
2016-09-08rpmsg: rpmsg_send() operations takes rpmsg_endpointBjorn Andersson1-2/+2
2016-09-08bpf: fix range propagation on direct packet accessDaniel Borkmann1-0/+102
2016-09-02samples/bpf: add sampleip exampleBrendan Gregg3-0/+238
2016-09-02samples/bpf: add perf_event+bpf exampleAlexei Starovoitov5-1/+290
2016-08-19samples/bpf: Add tunnel set/get tests.William Tu4-0/+327
2016-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller5-31/+24
2016-08-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds3-5/+16
2016-08-12samples/bpf: add verifier tests for the helper access to the packetAaron Yue1-4/+110
2016-08-12bpf: fix bpf_skb_in_cgroup helper namingDaniel Borkmann2-3/+3
2016-08-12samples/bpf: Add test_current_task_under_cgroup testSargun Dhillon4-0/+195
2016-08-12samples/rpmsg: add support for multiple instancesAnna, Suman1-3/+15
2016-08-10samples/bpf: fix bpf_perf_event_output prototypeAdam Barth1-1/+3
2016-08-06samples/bpf: add bpf_map_update_elem() testsAlexei Starovoitov1-2/+13
2016-08-04samples/kretprobe: fix the wrong typeHuang Shijie1-2/+2
2016-08-04samples/kretprobe: convert the printk to pr_info/pr_errHuang Shijie1-7/+5
2016-08-04samples/jprobe: convert the printk to pr_info/pr_errHuang Shijie1-3/+3
2016-08-04samples/kprobe: convert the printk to pr_info/pr_errHuang Shijie1-17/+12
2016-07-29Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds2-1/+8
2016-07-28Merge tag 'trace-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds4-1/+70
2016-07-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds23-140/+1178
2016-07-27Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+9
2016-07-25samples/bpf: Add test/example of using bpf_probe_write_user bpf helperSargun Dhillon3-0/+134
2016-07-25bpf: Add bpf_probe_write_user BPF helper to be called in tracersSargun Dhillon1-0/+2
2016-07-20samples: Add an IPv6 '-6' option to the pktgen scriptsMartin KaFai Lau6-11/+26
2016-07-20bpf: make xdp sample variable names more meaningfulBrenden Blanco2-13/+13
2016-07-19bpf: add sample for xdp forwarding and rewriteBrenden Blanco2-0/+119
2016-07-19Add sample for adding simple drop program to linkBrenden Blanco4-0/+286
2016-07-19kprobes: Add arm64 case in kprobe example moduleSandeepa Prabhu1-0/+9
2016-07-14pktgen: remove sample script pktgen.conf-1-1-rdosJesper Dangaard Brouer1-64/+0
2016-07-14pktgen: add sample script pktgen_sample05_flow_per_thread.shJesper Dangaard Brouer1-0/+81
2016-07-14pktgen: add sample script pktgen_sample04_many_flows.shJesper Dangaard Brouer2-67/+93
2016-07-08[media] vb2: replace void *alloc_ctxs by struct device *alloc_devsHans Verkuil1-1/+1
2016-07-08[media] v4l2-pci-skeleton: set q->dev instead of allocating a contextHans Verkuil1-13/+2
2016-07-07samples/seccomp: Add standalone config optionOlof Johansson2-1/+8
2016-07-04net: samples: pktgen mode samples/tests for qdisc layerJohn Fastabend1-0/+66
2016-07-01cgroup: bpf: Add an example to do cgroup checking in BPFMartin KaFai Lau5-0/+367
2016-06-25samples/bpf: set max locked memory to ulimitedWilliam Tu2-0/+6
2016-06-20tracing: Add trace_printk sample codeSteven Rostedt (Red Hat)4-1/+70
2016-05-20samples/kprobes: print out the symbol name for the hooksHuang Shijie1-16/+16
2016-05-20samples/kprobes: add a new module parameterHuang Shijie1-1/+5
2016-05-20kprobes: add the "tls" argument for j_do_forkHuang Shijie1-1/+1
2016-05-19Merge tag 'docs-for-linus' of git://git.lwn.net/linuxLinus Torvalds6-1/+478
2016-05-18Merge tag 'rpmsg-v4.7' of git://github.com/andersson/remoteprocLinus Torvalds1-13/+1
2016-05-18Merge tag 'media/v4.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds3-1/+924
2016-05-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-0/+1
2016-05-09[media] samples: v4l: from Documentation to samples directoryArnd Bergmann3-1/+924
2016-05-06samples/bpf: add verifier testsAlexei Starovoitov1-0/+80
2016-05-06samples/bpf: add 'pointer to packet' testsAlexei Starovoitov5-0/+281
2016-05-06rpmsg: use module_rpmsg_driver in existing drivers and examplesAndrew F. Davis1-12/+1
2016-05-06rpmsg: drop owner assignment from rpmsg_driversAndrew F. Davis1-1/+0
2016-05-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+0
2016-04-29samples/bpf: like LLC also verify and allow redefining CLANG commandJesper Dangaard Brouer2-14/+17
2016-04-29samples/bpf: allow make to be run from samples/bpf/ directoryJesper Dangaard Brouer2-0/+11
2016-04-29samples/bpf: add a README file to get users startedJesper Dangaard Brouer1-0/+63
2016-04-29samples/bpf: Makefile verify LLVM compiler avail and bpf target is supportedJesper Dangaard Brouer1-0/+18
2016-04-29samples/bpf: add back functionality to redefine LLC commandJesper Dangaard Brouer1-1/+5
2016-04-28samples/bpf: fix trace_output exampleAlexei Starovoitov1-1/+0
2016-04-28samples: v4l: from Documentation to samples directoryArnd Bergmann3-1/+925
2016-04-28samples: connector: from Documentation to samples directoryArnd Bergmann6-1/+478
2016-04-14bpf, samples: add test cases for raw stackDaniel Borkmann1-0/+268
2016-04-14bpf, samples: don't zero data when not neededDaniel Borkmann4-12/+12
2016-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller6-13/+34
2016-04-07samples/bpf: add tracepoint vs kprobe performance testsAlexei Starovoitov4-0/+244
2016-04-07samples/bpf: tracepoint exampleAlexei Starovoitov1-4/+22
2016-04-07samples/bpf: add tracepoint support to bpf loaderAlexei Starovoitov1-5/+21
2016-04-06samples/bpf: Enable powerpc supportNaveen N. Rao4-4/+30
2016-04-06samples/bpf: Use llc in PATH, rather than a hardcoded valueNaveen N. Rao1-9/+3
2016-04-06samples/bpf: Fix build breakage with map_perf_test_user.cNaveen N. Rao1-0/+1
2016-04-01livepatch: reuse module loader code to write relocationsJessica Yu1-0/+1
2016-03-08samples/bpf: add map performance testAlexei Starovoitov3-0/+259
2016-03-08samples/bpf: stress test bpf_get_stackidAlexei Starovoitov1-0/+9
2016-03-08samples/bpf: add bpf map stress testAlexei Starovoitov3-0/+113
2016-03-08samples/bpf: test both pre-alloc and normal mapsAlexei Starovoitov1-1/+9
2016-03-08samples/bpf: add map_flags to bpf loaderAlexei Starovoitov8-15/+23
2016-03-08samples/bpf: move ksym_search() into libraryAlexei Starovoitov3-66/+69
2016-03-08samples/bpf: make map creation more verboseAlexei Starovoitov1-1/+4
2016-02-20samples/bpf: offwaketime exampleAlexei Starovoitov4-0/+322
2016-02-06samples/bpf: update tracex[23] examples to use per-cpu mapsAlexei Starovoitov4-13/+25
2016-02-06samples/bpf: unit test for BPF_MAP_TYPE_PERCPU_ARRAYtom.leiming@gmail.com1-0/+92
2016-02-06samples/bpf: unit test for BPF_MAP_TYPE_PERCPU_HASHMartin KaFai Lau1-0/+96
2015-11-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-2/+5
2015-11-16bpf: samples: exclude asm/sysreg.h for arm64Yang Shi1-2/+5
2015-11-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...Linus Torvalds4-1/+414
2015-11-06Merge tag 'trace-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-3/+3
2015-11-02bpf: add sample usages for persistent maps/progsDaniel Borkmann4-0/+208
2015-11-02Sample: Trace_event: Correct the commentsChunyan Zhang1-3/+3
2015-11-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+12
2015-10-27bpf: sample: define aarch64 specific registersYang Shi1-0/+12
2015-10-22samples: bpf: add bpf_perf_event_output exampleAlexei Starovoitov4-0/+236
2015-10-13configfs: remove old APIChristoph Hellwig4-1/+414
2015-10-12bpf: add unprivileged bpf testsAlexei Starovoitov2-10/+355
2015-10-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-12/+12
2015-10-01kprobes: use _do_fork() in samples to make them work againPetr Mladek3-12/+12
2015-09-17bpf: add bpf_redirect() helperAlexei Starovoitov2-1/+27
2015-08-12bpf: fix build warnings and add function read_trace_pipe()Kaixu Xia2-9/+14
2015-08-09samples/bpf: example of get selected PMU counter valueKaixu Xia4-0/+100
2015-07-27ebpf: Allow dereferences of PTR_TO_STACK registersAlex Gartrell1-0/+59
2015-07-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+5
2015-07-17tracing: Fix sample output of dynamic arraysSteven Rostedt (Red Hat)1-2/+5
2015-07-08samples: bpf: enable trace samples for s390xMichael Holzheu6-12/+37
2015-06-23bpf: BPF based latency tracingDaniel Wagner3-0/+206
2015-06-15bpf: introduce current->pid, tgid, uid, gid, comm accessorsAlexei Starovoitov3-14/+83
2015-06-07bpf: allow programs to write to certain skb fieldsAlexei Starovoitov2-26/+93
2015-06-07bpf: make programs see skb->data == L2 for ingress and egressAlexei Starovoitov1-4/+4
2015-05-22pktgen: add benchmark script pktgen_bench_xmit_mode_netif_receive.shJesper Dangaard Brouer1-0/+86
2015-05-22pktgen: add sample script pktgen_sample03_burst_single_flow.shJesper Dangaard Brouer1-0/+82
2015-05-22pktgen: add sample script pktgen_sample02_multiqueue.shJesper Dangaard Brouer3-139/+75
2015-05-22pktgen: add sample script pktgen_sample01_simple.shJesper Dangaard Brouer2-59/+71
2015-05-22pktgen: new pktgen helper functions for samples scriptsJesper Dangaard Brouer3-0/+261
2015-05-21samples/bpf: bpf_tail_call example for networkingAlexei Starovoitov4-0/+375
2015-05-21samples/bpf: bpf_tail_call example for tracingAlexei Starovoitov5-12/+172
2015-05-12samples/bpf: fix in-source build of samples with clangBrenden Blanco1-1/+1
2015-04-16bpf: fix two bugs in verification logic when accessing 'ctx' pointerAlexei Starovoitov1-0/+22
2015-04-16bpf: fix bpf helpers to use skb->mac_header relative offsetsAlexei Starovoitov1-10/+6
2015-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds17-19/+716
2015-04-14Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds16-12/+779
2015-04-14Merge tag 'trace-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-2/+82
2015-04-14Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds2-1/+7
2015-04-13Merge branches 'for-4.0/upstream-fixes', 'for-4.1/genius', 'for-4.1/huion-ucl...Jiri Kosina10-17/+510
2015-04-08tracing/samples: Update the trace-event-sample.h with TRACE_DEFINE_ENUM()Steven Rostedt (Red Hat)1-1/+63
2015-04-08tracing: Update trace-event-sample with TRACE_SYSTEM_VAR documentationSteven Rostedt (Red Hat)1-1/+19
2015-04-06tc: bpf: add checksum helpersAlexei Starovoitov3-0/+79
2015-04-02samples/bpf: Add kmem_alloc()/free() tracker toolAlexei Starovoitov3-0/+127
2015-04-02samples/bpf: Add IO latency analysis (iosnoop/heatmap) toolAlexei Starovoitov3-0/+243
2015-04-02samples/bpf: Add counting example for kfree_skb() function calls and the writ...Alexei Starovoitov3-0/+185
2015-04-02samples/bpf: Add simple non-portable kprobe filter exampleAlexei Starovoitov10-12/+224
2015-03-25samples/kobject: be explicit in the module licenseGreg Kroah-Hartman2-2/+2
2015-03-25samples/kobject: Use kstrtoint instead of sscanfRastislav Barlik2-6/+22
2015-03-17bpf: allow BPF programs access 'protocol' and 'vlan_tci' fieldsAlexei Starovoitov1-0/+9
2015-03-15samples: bpf: add skb->field examples and testsAlexei Starovoitov5-16/+101
2015-03-15HID: samples/hidraw: make it possible to select devicePavel Machek2-1/+7
2015-03-01ebpf: export BPF_PSEUDO_MAP_FD to uapiDaniel Borkmann1-1/+3
2015-03-01ebpf: remove kernel test stubsDaniel Borkmann1-2/+3
2015-02-23samples/pktgen: Show the results rather than just commenting where they areBen Hutchings8-16/+8
2015-02-23samples/pktgen: Trap SIGINTBen Hutchings8-0/+8
2015-02-23samples/pktgen: Use bash as interpreterBen Hutchings8-8/+8
2015-02-23samples/pktgen: Remove setting of obsolete max_before_softirq parameterBen Hutchings8-18/+0
2015-02-23samples/pktgen: Correct comments about the thread configBen Hutchings8-8/+9
2015-02-23samples/pktgen: Delete unused function pg()Ben Hutchings8-40/+0
2015-02-23samples/pktgen: Add sample scripts for pktgen facilityBen Hutchings8-0/+578
2015-02-17samples/seccomp: improve label helperKees Cook2-1/+9
2015-02-12Merge tag 'trace-v3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds2-14/+394
2015-02-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds4-1/+100
2015-02-09tracing: Add samples of DECLARE_EVENT_CLASS() and DEFINE_EVENT()Steven Rostedt (Red Hat)2-0/+88
2015-02-09tracing: Add TRACE_EVENT_FN exampleSteven Rostedt (Red Hat)2-0/+95
2015-02-09tracing: Add TRACE_EVENT_CONDITION sampleSteven Rostedt (Red Hat)2-0/+61
2015-02-09tracing: Update the TRACE_EVENT fields available in the sample codeSteven Rostedt (Red Hat)2-14/+150
2015-02-04livepatch: rename config to CONFIG_LIVEPATCHJosh Poimboeuf2-3/+3
2015-01-26samples: bpf: relax test_maps checkAlexei Starovoitov1-2/+2
2014-12-24livepatch: samples: fix usage example commentsJosh Poimboeuf1-1/+5
2014-12-22livepatch: samples: add sample live patching moduleSeth Jennings4-1/+96
2014-12-05samples: bpf: large eBPF program in CAlexei Starovoitov3-0/+263
2014-12-05samples: bpf: trivial eBPF program in CAlexei Starovoitov4-1/+89
2014-12-05samples: bpf: elf_bpf file loaderAlexei Starovoitov3-0/+267
2014-12-05samples: bpf: example of stateful socket filteringAlexei Starovoitov4-0/+144
2014-11-18bpf: remove test map scaffolding and user proper typesAlexei Starovoitov1-7/+7
2014-11-18bpf: add a testsuite for eBPF mapsAlexei Starovoitov4-3/+296
2014-10-30samples: bpf: add a verifier test and summary lineAlexei Starovoitov1-1/+45
2014-10-21bpf: fix bug in eBPF verifierAlexei Starovoitov1-0/+11
2014-10-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds4-0/+956
2014-10-01bpf: add tests to verifier testsuiteAlexei Starovoitov1-0/+130
2014-09-26bpf: mini eBPF library, test stubs and verifier testsuiteAlexei Starovoitov4-0/+826
2014-09-26kprobes: update jprobe_example.c for do_fork() changeMichael Ellerman1-5/+4
2014-07-01tracing: Change trace event sample to use strlcpy instead of strncpyZhao Hongjiang1-1/+1
2014-06-21tracing: Add __field_struct macro for TRACE_EVENT()Steven Rostedt1-1/+2
2014-05-14samples/kobject/: avoid world-writable sysfs files.Rusty Russell2-6/+8
2014-04-03samples/seccomp/Makefile: do not build tests if cross-compiling for MIPSMarkos Chandras1-4/+10
2013-12-03kobject: fix kset sample error pathBjorn Helgaas1-0/+1
2013-11-15kfifo API type safetyStefani Seibold3-5/+5
2013-09-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tileLinus Torvalds1-0/+9
2013-09-06Merge branches 'for-3.12/devm', 'for-3.12/i2c-hid', 'for-3.12/i2c-hid-dt', 'f...Jiri Kosina2-20/+104
2013-09-04HID: uhid: improve uhid example clientDavid Herrmann1-20/+103
2013-08-30tile: support kprobes on tilegxTony Lu1-0/+9
2013-08-20HID: samples/hidraw: add .gitignore filePaul Gortmaker1-0/+1
2013-03-27HID: hidraw: warn if userspace headers are outdatedJiri Kosina1-2/+1
2013-02-19Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds7-182/+1
2013-02-05samples/seccomp: be less stupid about cross compilingArnd Bergmann1-0/+2
2013-01-25tracing: Remove tracepoint sample codeSteven Rostedt7-182/+1
2013-01-03misc: remove __dev* attributes.Greg Kroah-Hartman1-2/+2
2012-09-12samples/seccomp: fix 31 bit build on s390Heiko Carstens1-8/+16
2012-08-17Merge tag 'v3.6-rc2' into nextJames Morris2-0/+391
2012-08-03samples/seccomp: fix endianness bug in LO_ARG defineHeiko Carstens1-5/+10
2012-07-24Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds2-0/+391
2012-06-29samples: seccomp: add .gitignore for untracked executablesChad Williamson1-0/+3