add ktap.vim for ktap syntax highlight

This file is based on stap syntax vim file initially.

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
add sample script: samples/userspace/pthread.kp

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
add KTAP-CFLAGS into .gitignore

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
install ktap.vim syntax file in `make install`

Also move all vim related file into vim/ directory

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
add sample script samples/basic/memcpy_memset.kp

This script is for histgram memcpy/memset size output,
to get know which size is operated most frequently.

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
pass event filter correctly

Pass the event filter string "filter", not "/filter/"

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
add test for event filter parse

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
Add .gnu_debuglink symbol lookup support.

Signed-off-by: Grzegorz Miłoś <grzegorz.milos@gmail.com>
rename KTAP_TXXX to KTAP_TYPE_XXX

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
change "local" declaration to "var"

disable local function, all function will be
locally by default.

declare local scope variable:
	var i = 1

Bytecode generate:
	./ktap -b -e 'var i = 1'
	sizecode: 2
	00000001        LOADK           i <- 1
	00800023        RETURN

declare global scope variable:
	i = 1

Bytecode generate:
	./ktap -b -e 'i = 1'
	sizecode: 2
	80404008        SETTABUP        global{i} <- 1
	00800023        RETURN

TODO: variable must be declared with "var".

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
update ktap.vim

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
update README and tuorial

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
Add tags + etags + ctags to the Makefile.

Signed-off-by: Grzegorz Miłoś <grzegorz.milos@gmail.com>