Home | History | Annotate | Download | only in latencytop

Lines Matching refs:tid

45 static struct latency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int tid, int fatal);
71 int pid, tid;
77 pid = tid = 0;
113 tid = atoi(argv[++i]);
121 if (tid && !pid) {
146 if (tid) {
147 e = read_thread_stats(e, erase, pid, tid, 1);
158 if (tid) {
159 printf("Latencies for thread %d in process %d:\n", tid, pid);
206 int tid;
221 tid = atoi(ent->d_name);
223 e = read_thread_stats(e, erase, pid, tid, 0);
231 static struct latency_entry *read_thread_stats(struct latency_entry *list, int erase, int pid, int tid, int fatal) {
236 sprintf(filename, THREAD_STATS_FILE_FORMAT, pid, tid);
420 fprintf(stderr, "Usage: %s [ -d delay ] [ -n iterations ] [ -p pid [ -t tid ] ] [ -h ]\n"
424 " -t tid Thread (within specified process) to monitor (default is all).\n"