GUF-Yocto-jethro-9.0-r7707-0
i.MX6
User Manual
Tool
Website
Description
valgrind
blktrace
www.cse.unsw.[...]blktrace.html
perf
powertop
Diagnose Power Consumption and Management
iperf
iftop
tcpdump
ltp
Test Cases from Linux Test Project
5.2.1 Installation
The Debug add-on is installed as described in
[
I
. The add-on does not start any programs
automatically.
Note: Installing multiple different versions at the same time on a system is not supported, i.e. if you want to install
a version different from the one you already may have installed on your device, you must deinstall the previous
version first.
5.2.2 User Applications
valgrind
Valgrind is a tool suite that provides complex instrumentation of a program. The valgrind quick start
guide is located at:
http://valgrind.org/docs/manual/QuickStart.html
The default instrumentation performs a memory check. As an example we inspect the
/bin/true
executable.
$ valgrind /bin/true
5.2.3 Kernel Tracing
blktrace
Blktrace is a block layer IO tracing mechanism. The blktrace user guide is located at:
https://www.cse.unsw.edu.au/ aaronc/iosched/doc/blktrace.html
As example, we trace the activity of the internal mass storage (to stop the trace, hit control-C).
$ blktrace -d /dev/mmcblk0 -o - | blkparse -i -
perf
Perf is a profiler tool for linux systems. The perf tutorial is located at:
https://perf.wiki.kernel.org/index.php/Tutorial
As example, we profile the kernel activity of reading from the zero device and writing to the null device.
$ perf stat -B dd if=/dev/zero of=/dev/null count=1000000
Perf also contains benchmarks to compare system performance.
$ perf bench all
powertop
Powertop is a tool to diagnose power consumption. The powertop user’s guide is located at:
https://01.org/sites/default/files/page/powertop_users_guide_201412.pdf
The tool presents an interactive user interface started with the following command (to stop the tool, hit ESC). To
change the presented data, use TAB.
$ powertop
34