teawater / kgtp

KGTP is a comprehensive dynamic tracer for analysing Linux kernel and application (including Android) problems on production systems in real time.
http://teawater.github.io/kgtp/
85 stars 36 forks source link

Tstart got fail after trace the syscal from user to kernel #12

Open teawater opened 11 years ago

teawater commented 11 years ago

After trace the syscal from user to kernel, if in tfind mode and it is a user space trace. tstart will got fail.

After this fail, KGTP's status is not right.

teawater commented 10 years ago

The issue is because the tracepoint is for the Linux kernel but inferior set to the user space program. So need add doc to: https://code.google.com/p/kgtp/wiki/HOWTOCN#在tracepoint收集用户层程序的栈信息(可用来做backt https://code.google.com/p/kgtp/wiki/HOWTO#collect_stack_(for_backtrace)_of_user_space_program_in_tracepoin