aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
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
2012-06-18HID: uhid: add example programDavid Herrmann2-0/+391
2012-04-19samples/seccomp: fix dependencies on arch macrosWill Drewry2-11/+19
2012-04-14Documentation: prctl/seccomp_filterWill Drewry7-1/+712
2012-02-08samples/rpmsg: add an rpmsg driver sampleOhad Ben-Cohen4-1/+110
2011-10-31samples: drop unused Kconfig symbolPaul Bolle1-6/+0
2011-07-01perf: Add context field to perf_eventAvi Kivity1-1/+1
2011-07-01perf: Remove the nmi parameter from the swevent and overflow interfacePeter Zijlstra1-1/+1
2011-05-23Merge branches 'doc', 'multitouch', 'upstream' and 'upstream-fixes' into for-...Jiri Kosina2-2/+2
2011-04-21HID: hid-example: fix some build issuesRandy Dunlap2-2/+4
2011-04-09HID: hidraw: fix samples miscompilationJiri Kosina1-0/+11
2011-03-31Fix common misspellingsLucas De Marchi2-2/+2
2011-03-22HID: Documentation for hidrawAlan Ott4-1/+182
2010-10-29kdb: Add kdb kernel module sampleJason Wessel4-1/+69
2010-10-22Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bklLinus Torvalds4-0/+4
2010-10-15llseek: automatically add .llseek fopArnd Bergmann4-0/+4
2010-10-01kfifo: fix scatterlist usageIra W. Snyder1-8/+9
2010-08-20kfifo: add explicit error checking in all the examplesAndrea Righi4-51/+144
2010-08-20kfifo: fix a memory leak in dma exampleAndrea Righi1-3/+1
2010-08-20kfifo: fix kernel BUG in dma exampleAndrea Righi1-0/+1
2010-08-20kfifo: add explicit error checking in byte stream exampleAndrea Righi1-6/+27
2010-08-20kfifo: add kfifo_skip() testcaseAndrea Righi1-0/+4
2010-08-11kfifo: add example files to the kernel sample directoryStefani Seibold7-1/+614
2010-08-05SAMPLES: kprobe_example: Make it print something on MIPS.David Daney1-0/+9
2010-05-14tracing: Let tracepoints have data passed to tracepoint callbacksSteven Rostedt3-12/+12
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-09Merge commit 'v2.6.34-rc1' into perf/urgentIngo Molnar2-5/+5
2010-03-07Driver core: Constify struct sysfs_ops in struct kobj_typeEmese Revfy1-1/+1
2010-03-07kset-example: Spelling fixes.Radu Voicilas1-2/+2
2010-03-07kobject-example: Spelling fixes.Radu Voicilas1-2/+2
2010-02-27percpu: Add __percpu sparse annotations to hw_breakpointTejun Heo1-3/+3
2009-12-11Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+5
2009-12-07Merge branch 'for-next' into for-linusJiri Kosina1-3/+0
2009-12-06hw-breakpoints: Use overflow handler instead of the event callbackFrederic Weisbecker1-2/+5
2009-11-27hw-breakpoints: Use struct perf_event_attr to define kernel breakpointsFrederic Weisbecker1-5/+5
2009-11-26hw-breakpoints: Simplify error handling in breakpoint creation requestsFrederic Weisbecker1-3/+0
2009-11-23hw-breakpoint: Attribute authorship of hw-breakpoint related filesK.Prasad1-0/+2
2009-11-10hw-breakpoints: Fix broken hw-breakpoint sample moduleFrederic Weisbecker1-19/+24
2009-11-09Kconfig: Remove useless and sometimes wrong commentsMichael Roth1-3/+0
2009-10-18Merge commit 'perf/core' into perf/hw-breakpointFrederic Weisbecker7-159/+4
2009-10-01const: constify remaining file_operationsAlexey Dobriyan1-1/+1
2009-09-18tracing: Remove markersChristoph Hellwig5-156/+1
2009-09-15debugfs: Change debuhgfs directory of trace-events-sample.hGeunSik Lim1-1/+1
2009-09-15Merge branch 'linus' into tracing/hw-breakpointsIngo Molnar1-0/+1
2009-09-07Merge branch 'tracing/core' into tracing/hw-breakpointsIngo Molnar2-24/+40
2009-08-16sparc64: cheaper asm/uaccess.h inclusionAlexey Dobriyan1-0/+1
2009-07-13tracing/events: Move TRACE_SYSTEM outside of include guardLi Zefan1-17/+20
2009-06-20Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-11/+24
2009-06-17Merge branch 'linus' into tracing/hw-breakpointsIngo Molnar3-326/+2
2009-06-16tracing: update sample event documentationSteven Rostedt2-11/+24
2009-06-15firmware: remove broken example filesGreg Kroah-Hartman2-325/+0
2009-06-15kobject: samples: make SAMPLE_KOBJECT module-onlyMichal Marek1-1/+2
2009-06-02hw-breakpoints: sample HW breakpoint over kernel data addressK.Prasad4-1/+92
2009-05-06tracing: update sample with TRACE_INCLUDE_FILESteven Rostedt1-1/+6
2009-05-06tracing: small trave_events sample Makefile cleanupChristoph Hellwig1-3/+1
2009-05-06tracing/events: make SAMPLE_TRACE_EVENTS default to nLi Zefan1-3/+2
2009-05-06tracing/events: don't say hi when loading the trace event sampleLi Zefan1-4/+0
2009-04-14tracing/events: add trace-events-sampleSteven Rostedt5-1/+196
2009-03-24tracing: Documentation / sample code fixes for tracepointsJody McIntyre1-12/+12
2009-03-10tracing: replace TP<var> with TP_<var>Steven Rostedt1-4/+4
2009-01-06samples: mark {static|__init|__exit} for {init|exit} functionsQinghuang Feng7-13/+13
2008-11-16tracepoints: add DECLARE_TRACE() and DEFINE_TRACE()Mathieu Desnoyers2-2/+5
2008-11-16tracepoints: samples, fix teardownMathieu Desnoyers2-0/+2
2008-10-14markers: probe example, fix teardownMathieu Desnoyers1-0/+1
2008-10-14tracing: tracepoints, samplesMathieu Desnoyers7-1/+176
2008-07-21kobject: should use kobject_put() in kset-exampleLi Zefan1-1/+1
2008-07-21Firmware: fix typo in example codeGreg Kroah-Hartman1-1/+1
2008-04-29samples: use non-racy method for /proc/marker-example creationDenis V. Lunev1-4/+2
2008-04-21Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juh...Linus Torvalds1-0/+1
2008-04-19firmware: clean up samples for coding style issuesGreg Kroah-Hartman2-38/+40
2008-04-19firmware: move firmware_class from Documentation/ to samples/Randy Dunlap2-0/+322
2008-03-04Kprobes: move kprobe examples to samples/Ananth N Mavinakayanahalli6-1/+282
2008-02-13Linux Kernel Markers: support multiple probesMathieu Desnoyers1-16/+9
2008-01-24kobject: add sample code for how to use ksets/ktypes/kobjectsGreg Kroah-Hartman2-1/+279
2008-01-24kobject: add sample code for how to use kobjects in a simple manner.Greg Kroah-Hartman4-1/+149
2007-11-14Linux Kernel Markers: fix samples to follow format string standardMathieu Desnoyers2-2/+3
2007-10-19Linux Kernel Markers - SamplesMathieu Desnoyers5-0/+164
2007-10-19markers: Add samples subdirMathieu Desnoyers1-0/+11