aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2017-11-18kbuild: remove all dummy assignments to obj-Masahiro Yamada6-18/+0
2017-11-15Merge tag 'media/v4.15-1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+4
2017-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds35-493/+2958
2017-11-15Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds8-3/+932
2017-11-15Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+5
2017-11-14Merge tag 'vfio-v4.15-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-1/+1
2017-11-14Merge tag 'configfs-for-4.15' of git://git.infradead.org/users/hch/configfsLinus Torvalds1-4/+4
2017-11-14Merge tag 'staging-4.15-rc1' into v4l_for_linusMauro Carvalho Chehab2-4/+12
2017-11-14xdp: sample: Missing curly braces in read_route()Dan Carpenter1-2/+3
2017-11-13Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-68/+1
2017-11-13Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2017-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-0/+8
2017-11-13Merge tag 'docs-4.15' of git://git.lwn.net/linuxLinus Torvalds1-3/+3
2017-11-11bpf: Revert bpf_overrid_function() helper changes.David S. Miller4-63/+0
2017-11-11bpf: Fix tcp_clamp_kern.c sample programLawrence Brakmo1-11/+13
2017-11-11bpf: Fix tcp_iw_kern.c sample programLawrence Brakmo1-6/+8
2017-11-11bpf: Fix tcp_cong_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11bpf: Fix tcp_bufs_kern.c sample programLawrence Brakmo1-6/+8
2017-11-11bpf: Fix tcp_rwnd_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11bpf: Fix tcp_synrto_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11samples/bpf: add a test for bpf_override_returnJosef Bacik4-0/+63
2017-11-08bpf: Rename tcp_bbf.readme to tcp_bpf.readmeLawrence Brakmo1-0/+0
2017-11-08xdp: Sample xdp program implementing ip forwardChristina Jacob3-0/+849
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar59-1/+59
2017-11-07Merge branch 'linus' into perf/core, to fix conflictsIngo Molnar59-1/+59
2017-11-05bpf: move cgroup_helpers from samples/bpf/ to tools/testing/selftesting/bpf/Roman Gushchin3-197/+3
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller55-0/+55
2017-11-02Merge tag 'spdx_identifiers-4.14-rc8' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds58-0/+58
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman58-0/+58
2017-11-02samples/pktgen: remove remaining old pktgen sample scriptsJesper Dangaard Brouer3-192/+0
2017-11-02samples/pktgen: update sample03, no need for clones when burstingJesper Dangaard Brouer1-1/+1
2017-11-02samples/pktgen: add script pktgen_sample06_numa_awared_queue_irq_affinity.shRobert Hoo1-0/+97
2017-11-02samples/pktgen: Add some helper functionsRobert Hoo1-0/+43
2017-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-10-29samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp_redirect_mapTushar Dave1-0/+7
2017-10-29samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1Tushar Dave1-0/+8
2017-10-27Fix tracing sample code warning.Linus Torvalds1-1/+1
2017-10-27Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-1/+1
2017-10-25locking/atomics, samples/mic/mpssd/mpssd.c: Convert ACCESS_ONCE() to READ_ONC...Mark Rutland1-3/+3
2017-10-25bpf: add a test case to test single tp multiple bpf attachmentYonghong Song1-13/+53
2017-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-4/+12
2017-10-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2017-10-22bpf: create samples/bpf/tcp_bpf.readmeLawrence Brakmo1-0/+26
2017-10-22bpf: sample BPF_SOCKET_OPS_BASE_RTT programLawrence Brakmo2-0/+79
2017-10-20bpf: avoid preempt enable/disable in sockmap using tcp_skb_cb regionJohn Fastabend1-1/+1
2017-10-20kprobes: Remove the jprobes sample codeMasami Hiramatsu2-68/+1
2017-10-19samples: Convert timers to use timer_setup()Kees Cook1-3/+3
2017-10-19configfs: make config_item_type constBhumika Goyal1-4/+4
2017-10-19livepatch: add (un)patch callbacksJoe Lawrence4-0/+362
2017-10-18samples/bpf: add cpumap sample program xdp_redirect_cpuJesper Dangaard Brouer3-0/+1310
2017-10-18Merge tag 'trace-v4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+11
2017-10-17tracing/samples: Fix creation and deletion of simple_thread_fn creationSteven Rostedt (VMware)1-3/+11
2017-10-16bpf: Add -target to clang switch while cross compiling.Abhijit Ayarekar1-2/+3
2017-10-12tracing: Fix doc mistakes in trace sampleJeremy Linton1-5/+5
2017-10-07bpf: add a test case for helper bpf_perf_prog_read_valueYonghong Song2-5/+18
2017-10-07bpf: add a test case for helper bpf_perf_event_read_valueYonghong Song2-1/+38
2017-10-06samples/bpf: xdp_monitor increase memory rlimitJesper Dangaard Brouer1-2/+9
2017-10-06samples/bpf: xdp_monitor also record xdp_exception tracepointJesper Dangaard Brouer2-25/+121
2017-10-06samples/bpf: xdp_monitor first 8 bytes are not accessible by bpfJesper Dangaard Brouer1-13/+9
2017-10-04samples/bpf: use bpf_prog_query() interfaceAlexei Starovoitov1-0/+36
2017-10-04samples/bpf: add multi-prog cgroup test caseAlexei Starovoitov2-7/+185
2017-10-04[media] media: v4l2-pci-skeleton: Fix error handling path in 'skeleton_probe()'Christophe JAILLET1-2/+4
2017-10-02vfio-mdev/samples: make mdev_fops const and staticBhumika Goyal1-1/+1
2017-10-01samples/bpf: fix warnings in xdp_monitor_userStephen Hemminger1-2/+2
2017-09-29bpf: libbpf: Provide basic API support to specify BPF obj nameMartin KaFai Lau2-0/+3
2017-09-28samples/kprobes: Add s390 case in kprobe example moduleJohannes Thumshirn1-0/+8
2017-09-21samples/bpf: Add documentation on cross compilationJoel Fernandes1-0/+10
2017-09-21samples/bpf: Fix pt_regs issues when cross-compilingJoel Fernandes1-1/+1
2017-09-21samples/bpf: Enable cross compiler supportJoel Fernandes1-0/+5
2017-09-21samples/bpf: Use getppid instead of getpgrp for array map stressJoel Fernandes2-2/+2
2017-09-14livepatch: introduce shadow variable APIJoe Lawrence5-3/+570
2017-09-07Merge tag 'media/v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc...Linus Torvalds1-1/+1
2017-09-01bpf: Add lru_hash_lookup performance testMartin KaFai Lau2-9/+112
2017-09-01samples/bpf: Update cgroup socket examples to use uid gid helperDavid Ahern2-1/+16
2017-09-01samples/bpf: Update cgrp2 socket testsDavid Ahern1-38/+124
2017-09-01samples/bpf: Add option to dump socket settingsDavid Ahern1-2/+73
2017-09-01samples/bpf: Add detach option to test_cgrp2_sockDavid Ahern1-15/+35
2017-09-01samples/bpf: Update sock test to allow setting mark and priorityDavid Ahern2-17/+119
2017-08-31samples/bpf: Fix compilation issue in redirect dummy programTariq Toukan2-2/+2
2017-08-29samples/bpf: xdp_monitor tool based on tracepointsJesper Dangaard Brouer3-0/+387
2017-08-29samples/bpf: xdp_redirect load XDP dummy prog on TX deviceJesper Dangaard Brouer4-15/+50
2017-08-28samples/bpf: extend test_tunnel_bpf.sh with ERSPANWilliam Tu2-1/+91
2017-08-28bpf: convert sockmap field attach_bpf_fd2 to typeJohn Fastabend2-6/+12
2017-08-20media: v4l2-pci-skeleton: constify vb2_ops structuresJulia Lawall1-1/+1
2017-08-19bpf: Allow numa selection in INNER_LRU_HASH_PREALLOC test of map_perf_testMartin KaFai Lau4-11/+25
2017-08-16bpf: sockmap sample programJohn Fastabend4-2/+480
2017-08-07bpf: add a test case for syscalls/sys_{enter|exit}_* tracepointsYonghong Song3-0/+137
2017-08-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-2/+3
2017-07-31samples/bpf: fix bpf tunnel cleanupWilliam Tu2-2/+3
2017-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+4
2017-07-17samples/bpf: add option for native and skb mode for redirect appsAndy Gospodarek2-18/+82
2017-07-17xdp: bpf redirect with map sample programJohn Fastabend3-0/+192
2017-07-17xdp: sample program for new bpf_redirect helperJohn Fastabend3-0/+187
2017-07-13Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+4
2017-07-12kfifo: clean up example to not use page_linkLogan Gunthorpe1-4/+4
2017-07-11samples/bpf: fix a build issueYonghong Song2-198/+1
2017-07-05bpf: fix return in load_bpf_fileLawrence Brakmo1-2/+6
2017-07-01bpf: Sample bpf program to set sndcwnd clampLawrence Brakmo2-0/+103
2017-07-01bpf: Sample BPF program to set initial cwndLawrence Brakmo2-0/+89
2017-07-01bpf: Sample BPF program to set congestion controlLawrence Brakmo2-0/+84
2017-07-01bpf: Sample BPF program to set buffer sizesLawrence Brakmo2-0/+87
2017-07-01bpf: Add setsockopt helper function to bpfLawrence Brakmo1-0/+3
2017-07-01bpf: Sample bpf program to set initial windowLawrence Brakmo2-0/+70
2017-07-01bpf: Sample bpf program to set SYN/SYN-ACK RTOsLawrence Brakmo2-0/+70
2017-07-01bpf: program to load and attach sock_ops BPF progsLawrence Brakmo2-0/+100
2017-07-01bpf: BPF support for sock_opsLawrence Brakmo1-3/+10
2017-06-29bpf: Add test for syscall on fd array/htab lookupMartin KaFai Lau2-1/+31
2017-06-22samples/bpf: fix a build problemYonghong Song1-1/+1
2017-06-16pktgen: Specify the index of first threadTariq Toukan8-18/+27
2017-06-16pktgen: Specify num packets per threadTariq Toukan9-8/+15
2017-06-14samples/bpf: Fix tracex5 to work with MIPS syscalls.David Daney3-3/+33
2017-06-14bpf: Add MIPS support to samples/bpf.David Daney1-0/+13
2017-06-04samples/bpf: add tests for more perf event typesTeng Qin4-56/+228
2017-05-31samples/bpf: bpf_load.c order of prog_fd[] should correspond with ELF orderJesper Dangaard Brouer1-14/+5
2017-05-11samples/bpf: run cleanup routines when receiving SIGTERMAndy Gospodarek7-1/+9
2017-05-11xdp: add flag to enforce driver modeDaniel Borkmann2-3/+12
2017-05-04Merge tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+0
2017-05-03samples/bpf: export map_data[] for more info on mapsJesper Dangaard Brouer1-1/+7
2017-05-03samples/bpf: load_bpf.c make callback fixup more flexibleJesper Dangaard Brouer3-18/+23
2017-05-03samples/bpf: make bpf_load.c code compatible with ELF maps section changesJesper Dangaard Brouer1-69/+155
2017-05-03samples/bpf: adjust rlimit RLIMIT_MEMLOCK for traceex2, tracex3 and tracex4Jesper Dangaard Brouer3-0/+22
2017-05-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+17
2017-05-02bpf, samples: fix build warning in cookie_uid_helper_exampleDaniel Borkmann1-3/+3
2017-05-01samples/bpf: fix XDP_FLAGS_SKB_MODE detach for xdp_tx_iptunnelJesper Dangaard Brouer1-2/+2
2017-05-01samples/bpf: fix SKB_MODE flag to be a 32-bit unsigned intJesper Dangaard Brouer4-10/+11
2017-04-30samples/bpf: bpf_load.c detect and abort if ELF maps section size is wrongJesper Dangaard Brouer1-9/+31
2017-04-27samples/bpf: Add support for SKB_MODE to xdp1 and xdp_tx_iptunnelDavid Ahern4-16/+58
2017-04-26mei: drop the TODO from samplesTomas Winkler1-2/+0
2017-04-24samples/bpf: check before defining offsetofAlexander Alemayhu1-1/+3
2017-04-24samples/bpf: add static to function with no prototypeAlexander Alemayhu1-1/+1
2017-04-24samples/bpf: add -Wno-unknown-warning-option to clangAlexander Alemayhu1-0/+1
2017-04-22bpf: Add sparc support to tools and samples.David S. Miller1-0/+19
2017-04-17bpf: lru: Add map-in-map LRU exampleMartin KaFai Lau2-3/+93
2017-04-17bpf: Allow bpf sample programs (*_user.c) to change bpf_map_defMartin KaFai Lau3-74/+201
2017-04-17bpf: lru: Refactor LRU map tests in map_perf_testMartin KaFai Lau2-29/+67
2017-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+8
2017-04-08Sample program using SO_COOKIEChenbo Feng2-23/+127
2017-04-03statx: Include a mask for stx_attributes in struct statxDavid Howells1-4/+8
2017-03-23A Sample of using socket cookie and uid for traffic monitoringChenbo Feng4-0/+244
2017-03-22bpf: Add tests for map-in-mapMartin KaFai Lau5-5/+311
2017-03-16samples/bpf: add map_lookup microbenchmarkAlexei Starovoitov2-0/+65
2017-03-08livepatch: allow removal of a disabled patchJosh Poimboeuf1-1/+0
2017-03-08livepatch: change to a per-task consistency modelJosh Poimboeuf1-0/+17
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds4-1/+271
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells4-1/+271
2017-03-02sched/core: Remove the tsk_cpus_allowed() wrapperIngo Molnar1-1/+1
2017-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds2-0/+79
2017-02-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-53/+72
2017-02-20Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-0/+8
2017-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller4-7/+67
2017-02-13samples/bpf: Reset global variablesMickaël Salaün1-0/+5
2017-02-13samples/bpf: Ignore already processed ELF sectionsMickaël Salaün1-0/+2
2017-02-13samples/bpf: Add missing headerMickaël Salaün1-0/+1
2017-02-12bpf: introduce BPF_F_ALLOW_OVERRIDE flagAlexei Starovoitov4-7/+67
2017-01-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-0/+2
2017-01-23samples/bpf: add lpm-trie benchmarkDavid Herrmann2-0/+79
2017-01-20bpf: fix samples xdp_tx_iptunnel and tc_l2_redirect with fake KBUILD_MODNAMEJesper Dangaard Brouer2-0/+2
2017-01-15Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds2-2/+1
2017-01-11vfio-mdev: remove some dead codeDan Carpenter1-3/+0
2017-01-11vfio-mdev: buffer overflow in ioctl()Dan Carpenter1-2/+5
2017-01-11vfio-mdev: return -EFAULT if copy_to_user() failsDan Carpenter1-3/+12
2017-01-09samples/seccomp: fix 64-bit comparison macrosMathias Svensson1-53/+72
2017-01-05Merge tag 'perf-urgent-for-mingo-4.10-20170104' of git://git.kernel.org/pub/s...Ingo Molnar2-2/+1
2017-01-04vfio-mdev: fix some error codes in the sample codeDan Carpenter1-1/+3
2016-12-30vfio-mdev: Make mdev_device private and abstract interfacesAlex Williamson1-11/+13
2016-12-30vfio-mdev: Make mdev_parent privateAlex Williamson1-1/+1
2016-12-30vfio-mdev: de-polute the namespace, rename parent_device & parent_opsAlex Williamson1-1/+1
2016-12-30vfio-mdev: Fix mtty sample driver buildingAlex Williamson3-14/+10
2016-12-28samples/bpf trace_output_user: Remove duplicate sys/ioctl.h includeArnaldo Carvalho de Melo1-1/+0
2016-12-27samples/bpf sock_example: Avoid getting ethhdr from two includesArnaldo Carvalho de Melo1-1/+1
2016-12-23Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds33-334/+216
2016-12-20samples/bpf: Move open_raw_sock to separate headerJoe Stringer8-6/+7
2016-12-20samples/bpf: Remove perf_event_open() declarationJoe Stringer8-18/+15
2016-12-20samples/bpf: Be consistent with bpf_load_program bpf_insn parameterArnaldo Carvalho de Melo1-1/+1
2016-12-20tools lib bpf: Add bpf_prog_{attach,detach}Joe Stringer2-24/+0
2016-12-20samples/bpf: Switch over to libbpfJoe Stringer10-168/+52
2016-12-20samples/bpf: Make perf_event_read() staticArnaldo Carvalho de Melo1-1/+1
2016-12-17Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds2-3/+3
2016-12-15Merge tag 'trace-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds2-2/+3
2016-12-15samples/bpf: Make samples more libbpf-centricJoe Stringer30-109/+133
2016-12-14Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds3-23/+26
2016-12-13Merge tag 'vfio-v4.10-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds2-0/+1516
2016-12-11make use of make variable CURDIR instead of calling pwdUwe Kleine-König2-3/+3
2016-12-09tracing: Have the reg function allow to failSteven Rostedt (Red Hat)2-2/+3
2016-12-08bpf: xdp: Add XDP example for head adjustmentMartin KaFai Lau8-93/+630
2016-12-03samples, bpf: Add automated test for cgroup filter attachmentsSargun Dhillon2-0/+134
2016-12-03samples, bpf: Refactor test_current_task_under_cgroup - separate out helpersSargun Dhillon4-85/+218
2016-12-03samples/bpf: silence compiler warningsAlexei Starovoitov1-0/+2
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-3/+3
2016-12-02samples/bpf: add userspace example for prohibiting socketsDavid Ahern4-0/+195
2016-12-02samples/bpf: Update bpf loader for cgroup section namesDavid Ahern2-3/+12
2016-12-02samples: bpf: add userspace example for modifying sk_bound_dev_ifDavid Ahern3-0/+132
2016-12-02bpf: Add tests and samples for LWT-BPFThomas Graf7-0/+855
2016-11-30samples/bpf: fix include pathAlexei Starovoitov1-1/+1
2016-11-30samples: bpf: Refactor test_cgrp2_attach -- use getopt, and add modeSargun Dhillon1-30/+50
2016-11-28bpf/samples: Fix PT_REGS_IP on s390x and use itMichael Holzheu3-3/+3
2016-11-27bpf: fix multiple issues in selftest suite and samplesDaniel Borkmann5-5/+15
2016-11-25samples: bpf: add userspace example for attaching eBPF programs to cgroupsDaniel Mack4-0/+173
2016-11-24samples/bpf: fix bpf loaderAlexei Starovoitov1-0/+4
2016-11-24samples/bpf: fix sockex2 exampleAlexei Starovoitov2-2/+2