write kernel symbol memory address into kprobe_events

This patch also allow probe all available functions in
/proc/kallsyms.
	./ktap -e 'trace probe:* {}'

Note above oneliner will softlockup system at present,
the reason still under investigate, probably caused by
kprobe issue, not ktap, because below shell script
also lockup system.

TRACE_DIR=/sys/kernel/debug/tracing/

echo "Disable tracing to remove tracing overhead"
echo 0 > $TRACE_DIR/tracing_on

echo > $TRACE_DIR/kprobe_events
echo "Setup events on all functions"
grep -iw t /proc/kallsyms | awk 'BEGIN{i=0};{print("p:"$3"_"i, "0x"$1); i++}' | \
while read l; do echo $l >> $TRACE_DIR/kprobe_events || echo "Failed: $l" ; done

So use that script at you own risk, at least for now.

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>
add sample script: kprobe_all_kernel_functions.kp

This script will lockup system.

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