Lines Matching defs:thread
10 #include "util/thread.h"
940 struct thread *thread;
951 thread = machine__findnew_thread(machine, -1, sample->pid);
952 if (thread == NULL)
958 ret = thread__resolve_callchain(thread, cursor, evsel, sample,
961 thread__put(thread);
966 thread__put(thread);
996 struct thread *thread;
1001 thread = machine__findnew_thread(machine, -1, sample->pid);
1002 if (thread == NULL)
1007 ret = thread__resolve_callchain(thread, cursor, evsel, sample,
1009 thread__put(thread);
1286 /* TODO: handlers for CPU oriented, thread oriented */
1398 struct thread *t;
1400 /* st->addr contains tid of thread */
1435 struct thread *t;
1534 struct thread *thread = machine__findnew_thread(machine, sample->pid,
1537 if (thread == NULL) {
1548 thread__put(thread);
1729 struct thread *t;
1780 struct thread *t;
2016 pr_err("Cannot use thread and addr mode together\n");
2051 pr_err("Cannot use cgroup and thread mode together\n");
2581 "dump thread list in perf.data"),
2596 "show per-thread lock stats"),
2607 "show per-thread lock stats"),
2616 "Trace on existing thread id (exclusive to --pid)"),