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>
Merge branch 'master' into android-4.4-integration

* master:
  Add tags + etags + ctags to the Makefile.
  update README and tuorial
  update ktap.vim
  change "local" declaration to "var"
  rename KTAP_TXXX to KTAP_TYPE_XXX
  Add .gnu_debuglink symbol lookup support.
  add test for event filter parse
  pass event filter correctly
  add sample script samples/basic/memcpy_memset.kp
  install ktap.vim syntax file in `make install`
  add KTAP-CFLAGS into .gitignore
  add sample script: samples/userspace/pthread.kp
  add ktap.vim for ktap syntax highlight