Source level profiling
To see the application source code in Streamline, the files must be on the host machine where Streamline is running. To do this, follow these steps:
- Copy the
lmbench-3.0-a9
directory from the Raspberry Pi to the host machine usingscp
. Again, substitute the IP address of the Pi in the following command:$ scp -r pi@192.168.68.121:~/lmbench-3.0-a9 .
The Code tab in Streamline will not be able to find the source code. This is because the path on the target is different from the path on the host.
- Use Click here to locate source and navigate to the file that is being referenced, in this case
bw_mem.c
. The following screenshot shows the missing source code and how to fix it:
When the source code is found, the window looks like what you can see in the following screenshot: