staging: ktap: add to the kernel tree
authorJovi Zhangwei <jovi.zhangwei@gmail.com>
Wed, 9 Oct 2013 14:47:51 +0000 (07:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 17:58:32 +0000 (10:58 -0700)
commitc63a164271f81220ff4966d41218a9101f3d0ec4
treec6e8ac15275fd0bb602bc25297e8eaa040b51443
parent67aa4acbc97f6a55b328e4e2305ef19cbe949d85
staging: ktap: add to the kernel tree

This patch introduces ktap to staging tree.

ktap is a new script-based dynamic tracing tool for Linux,
it uses a scripting language and lets users trace the
Linux kernel dynamically. ktap is designed to give
operational insights with interoperability that allow
users to tune, troubleshoot and extend kernel and application.
It's similar with Linux Systemtap and Solaris Dtrace.

ktap have different design principles from Linux mainstream
dynamic tracing language in that it's based on bytecode,
so it doesn't depend upon GCC, doesn't require compiling
kernel module for each script, safe to use in production
environment, fulfilling the embedded ecosystem's tracing needs.

See ktap tutorial for more information:
    http://www.ktap.org/doc/tutorial.html

The merit of putting this software in staging tree is
to make it more possible to get feedback from users
and thus polish the code.

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
80 files changed:
MAINTAINERS
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/ktap/Kconfig [new file with mode: 0644]
drivers/staging/ktap/Makefile [new file with mode: 0644]
drivers/staging/ktap/README.md [new file with mode: 0644]
drivers/staging/ktap/doc/tutorial.md [new file with mode: 0644]
drivers/staging/ktap/include/ktap.h [new file with mode: 0644]
drivers/staging/ktap/include/ktap_opcodes.h [new file with mode: 0644]
drivers/staging/ktap/include/ktap_types.h [new file with mode: 0644]
drivers/staging/ktap/interpreter/ktap.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/library/ansilib.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/library/baselib.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/library/kdebug.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/library/timer.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/loader.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/object.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/opcode.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/strfmt.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/table.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/transport.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/tstring.c [new file with mode: 0644]
drivers/staging/ktap/interpreter/vm.c [new file with mode: 0644]
drivers/staging/ktap/scripts/basic/backtrace.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/basic/event_trigger.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/basic/event_trigger_ftrace.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/basic/ftrace.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/basic/function_time.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/basic/kretprobe.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/game/tetris.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/helloworld.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/interrupt/hardirq_time.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/interrupt/softirq_time.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/io/kprobes-do-sys-open.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/io/traceio.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/mem/kmalloc-top.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/mem/kmem.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/profiling/function_profiler.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/profiling/stack_profile.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/schedule/sched_transition.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/schedule/schedtimes.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/syscalls/errinfo.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/syscalls/sctop.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/syscalls/syscalls.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/syscalls/syscalls_count.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/syscalls/syscalls_count_by_proc.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/tracepoints/eventcount.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/tracepoints/eventcount_by_proc.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/tracepoints/tracepoints.kp [new file with mode: 0644]
drivers/staging/ktap/scripts/userspace/uprobes-malloc.kp [new file with mode: 0644]
drivers/staging/ktap/test/aggr_table.kp [new file with mode: 0644]
drivers/staging/ktap/test/ansi.kp [new file with mode: 0644]
drivers/staging/ktap/test/arg.kp [new file with mode: 0644]
drivers/staging/ktap/test/arith.kp [new file with mode: 0644]
drivers/staging/ktap/test/bench/sembench.c [new file with mode: 0644]
drivers/staging/ktap/test/bench/test.sh [new file with mode: 0644]
drivers/staging/ktap/test/concat.kp [new file with mode: 0644]
drivers/staging/ktap/test/count.kp [new file with mode: 0644]
drivers/staging/ktap/test/fibonacci.kp [new file with mode: 0644]
drivers/staging/ktap/test/function.kp [new file with mode: 0644]
drivers/staging/ktap/test/if.kp [new file with mode: 0644]
drivers/staging/ktap/test/kprobe.kp [new file with mode: 0644]
drivers/staging/ktap/test/kretprobe.kp [new file with mode: 0644]
drivers/staging/ktap/test/len.kp [new file with mode: 0644]
drivers/staging/ktap/test/looping.kp [new file with mode: 0644]
drivers/staging/ktap/test/pairs.kp [new file with mode: 0644]
drivers/staging/ktap/test/run_test.sh [new file with mode: 0644]
drivers/staging/ktap/test/table.kp [new file with mode: 0644]
drivers/staging/ktap/test/timer.kp [new file with mode: 0644]
drivers/staging/ktap/test/tracepoint.kp [new file with mode: 0644]
drivers/staging/ktap/test/zerodivide.kp [new file with mode: 0644]
drivers/staging/ktap/userspace/code.c [new file with mode: 0644]
drivers/staging/ktap/userspace/dump.c [new file with mode: 0644]
drivers/staging/ktap/userspace/eventdef.c [new file with mode: 0644]
drivers/staging/ktap/userspace/ktapc.h [new file with mode: 0644]
drivers/staging/ktap/userspace/ktapio.c [new file with mode: 0644]
drivers/staging/ktap/userspace/lex.c [new file with mode: 0644]
drivers/staging/ktap/userspace/main.c [new file with mode: 0644]
drivers/staging/ktap/userspace/parser.c [new file with mode: 0644]
drivers/staging/ktap/userspace/util.c [new file with mode: 0644]