-h Print usage message.
-p PID Trace only this process.
-t TID Trace only this thread.
-i INTERVAL Print the summary at the specified interval (in seconds).
-d DURATION Total duration of trace (in seconds).
-T TOP Print only this many entries. Default: 10.
-x Trace only failed hcalls (i.e., the return value from the hcall was < 0).
-e ERRNO Trace only hcalls that failed with that error (e.g. -e EPERM or -e 1).
-m Display times in milliseconds. Default: microseconds.
-P Summarize by process and not by hcall.
-l List the hcalls recognized by the tool (hard-coded list). Hcalls beyond this list will still be displayed, as "[unknown: nnn]" where nnn is the hcall number.
--hcall HCALL Trace this hcall only (use option -l to get all recognized hcalls).
Summarize all hcalls by hcall: # ppchcalls
Summarize all hcalls by process: # ppchcalls -P
Summarize only failed hcalls: # ppchcalls -x
Summarize only hcalls that failed with EPERM: # ppchcalls -e EPERM
Trace PID 181 only: # ppchcalls -p 181
Summarize hcalls counts and latencies: # ppchcalls -L
PID Process ID
COMM Process name
HCALL Hcall name, or "[unknown: nnn]" for hcalls that aren't recognized
COUNT The number of events
MIN The minimum elapsed time (in us or ms)
MAX The maximum elapsed time (in us or ms)
AVG The average elapsed time (in us or ms)
Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.