September 2016
Intermediate to advanced
989 pages
24h 10m
English
The tools we have seen so far all use statistical sampling. You often want to know more about the ordering of events so that you can see them and relate them to each other. Function tracing involves instrumenting the code with trace points which capture information about the event, and may include some or all of the following:
It is more intrusive than statistical profiling and it can generate a large amount of data. The latter can be mitigated by applying filters when the sample is captured, and later on when viewing the trace.
I will cover two trace tools here: the kernel function tracers, Ftrace and LTTng.
Read now
Unlock full access