Add the lockstat command: displays a summary of kernel locking eventsrecorded over the lifetime of a called program.