Lines Matching full:klockstat
4 * Based on klockstat from BCC by Jiri Olsa and others
28 #include "klockstat.h"
29 #include "klockstat.skel.h"
69 const char *argp_program_version = "klockstat 0.2";
76 "Usage: klockstat [-hPRTv] [-p PID] [-t TID] [-c FUNC] [-L LOCK] [-n NR_LOCKS]\n"
80 " klockstat # trace system wide until ctrl-c\n"
81 " klockstat -d 5 # trace for 5 seconds\n"
82 " klockstat -i 5 # print stats every 5 seconds\n"
83 " klockstat -p 181 # trace process 181 only\n"
84 " klockstat -t 181 # trace thread 181 only\n"
85 " klockstat -c pipe_ # print only for lock callers with 'pipe_'\n"
87 " klockstat -L cgroup_mutex # trace the cgroup_mutex lock only (accepts addr too)\n"
88 " klockstat -S acq_count # sort lock acquired results by acquire count\n"
89 " klockstat -S hld_total # sort lock held results by total held time\n"
90 " klockstat -S acq_count,hld_total # combination of above\n"
91 " klockstat -n 3 # display top 3 locks/threads\n"
92 " klockstat -s 6 # display 6 stack entries per lock\n"
93 " klockstat -P # print stats per thread\n"