- 论坛徽章:
- 0
|
http://netsplit.com/2011/03/07/tracing-on-linux/
So you know about tracepoints, and you’ve almost certainly heard about Trace Events, but what’s the difference? Well firstly trace events are actually built on tracepoints, you can think of them as a higher level API – and that’s why I covered tracepoints first. Secondly trace events are usable from userspace! we don’t need to write kernel modules to be able to hook into them, but obviously we can only read data this way.
自问自答,基本上我的理解tracepoint是可以debug用,trace_event是可以结合ftrace profile用 |
|