In this section of the guide, we use the LMbench applications to demonstrate profiling with Streamline. These applications are easy to download and build with
-g. With these applications, Streamline can map the source code of the applications. In Profiling an example application, we will download an example application to profile, and learn how to insert markers in the code for Streamline to visualize.
Follow these steps:
- Download an example Linux application:
$ wgetThis generates executables in the
$ tar xvfz lmbench-3.0-a9.tgz
$ cd lmbench-3.0-a9/src
$ make debug
- Run the application, using these commands:
$ cd .. $ bin/armv7l-linux-gnu/bw_mem 512M rd
Enable the Streamline capture and run the test.
Stop the test to see the results.