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.opt" blocks and waits for a signal from the child to complete and the other application "signal_parent" continually polls while waiting for the child to complete.
Running this application will cause profile data to be stored.
Run a report to see how much time is being spent running signal_parent.opt
To run from the command line:
root@am335x-evm:/boot# opcontrol --reset
root@am335x-evm:/boot# opcontrol --start
root@am335x-evm:/boot# runOpSignalParent // Run any application that you want to profile here
root@am335x-evm:/boot# opcontrol --stop