January 2018
Intermediate to advanced
456 pages
12h 49m
English
To use blktrace and blkparse, you can add them to the target image by adding them specifically to your conf/local.conf file as in the following:
IMAGE_INSTALL_append = " blktrace"
Alternatively, you can also use the tools-profile image feature, or an -sdk image.
You will also need to configure the Linux kernel with CONFIG_FTRACE and CONFIG_BLK_DEV_IO_TRACE to be able to trace block I/O actions.
When profiling a block device, it is important to minimize the effect of the tracing on the results; for example, not storing the tracing data on the block device being profiled.
There are several ways to achieve this:
Read now
Unlock full access