1N/AThe following is a demonstration of the dappprof command,
1N/AThis is the usage for version 0.60,
1N/A USAGE: dappprof [-cehoTU] [-u lib] { -p PID | command }
1N/A -p PID # examine this PID
1N/A -a # print all details
1N/A -c # print syscall counts
1N/A -e # print elapsed times (us)
1N/A -o # print on cpu times
1N/A -u lib # trace this library instead
1N/A -U # trace all libraries + user funcs
1N/A -b bufsize # dynamic variable buf size
1N/A dappprof df -h # run and examine "df -h"
1N/A dappprof -p 1871 # examine PID 1871
1N/A dappprof -ap 1871 # print all data
1N/AThe following shows running dappprof with the "banner hello" command.
1N/AElapsed and on-cpu times are printed (-eo), as well as counts (-c) and
1N/A # dappprof -eocT banner hello
1N/A ###### ##### # # # #
1N/A # # ###### ###### ###### ####
1N/AThe above output has analysed user functions (the default). It makes it
1N/Aeasy to identify which function is being called the most (COUNT), which
1N/Ais taking the most time (ELAPSED), and which is consuming the most CPU (CPU).
1N/AThese times are totals for all the functions called.