Lines Matching defs:thread
10 #include "util/thread.h"
937 struct thread *thread;
948 thread = machine__findnew_thread(machine, -1, sample->pid);
949 if (thread == NULL)
955 ret = thread__resolve_callchain(thread, cursor, evsel, sample,
958 thread__put(thread);
963 thread__put(thread);
993 struct thread *thread;
998 thread = machine__findnew_thread(machine, -1, sample->pid);
999 if (thread == NULL)
1004 ret = thread__resolve_callchain(thread, cursor, evsel, sample,
1006 thread__put(thread);
1282 /* TODO: handlers for CPU oriented, thread oriented */
1394 struct thread *t;
1396 /* st->addr contains tid of thread */
1431 struct thread *t;
1530 struct thread *thread = machine__findnew_thread(machine, sample->pid,
1533 if (thread == NULL) {
1544 thread__put(thread);
1716 struct thread *t;
1764 struct thread *t;
1997 pr_err("Cannot use thread and addr mode together\n");
2486 "dump thread list in perf.data"),
2501 "show per-thread lock stats"),
2512 "show per-thread lock stats"),
2521 "Trace on existing thread id (exclusive to --pid)"),