Profile a simple parent/child applications, where the parent waits for the a child process to complete a task. There are two applications: this one, "signal_parent" busy waits for the child to complete and the other application "signal_parent.opt" blocks and waits for a signal from the child.
Running this application will cause profile data to be stored.
Now run a report to notice how much time is spent in signal_parent.
To run from the command line:
root@am335x-evm:/boot# opcontrol --reset
root@am335x-evm:/boot# opcontrol --start
root@am335x-evm:/boot# runOpBusyWait // Run any application that you want to profile here
root@am335x-evm:/boot# opcontrol --stop