Lines Matching defs:thread
41 #include "../thread.h"
45 #include "../thread-stack.h"
407 if (thread__resolve_callchain(al->thread, &callchain_cursor, evsel,
464 struct thread *thread)
502 thread__find_map_fb(thread, sample->cpumode,
508 thread__find_map_fb(thread, sample->cpumode,
562 struct thread *thread)
585 thread__find_symbol_fb(thread, sample->cpumode,
591 thread__find_symbol_fb(thread, sample->cpumode,
774 _PyUnicode_FromString(thread__comm_str(al->thread)));
786 brstack = python_process_brstack(sample, al->thread);
789 brstacksym = python_process_brstacksym(sample, al->thread);
812 const char *comm = thread__comm_str(al->thread);
1015 static int python_export_thread(struct db_export *dbe, struct thread *thread,
1023 tuple_set_d64(t, 0, thread->db_id);
1026 tuple_set_s32(t, 3, thread->pid_);
1027 tuple_set_s32(t, 4, thread->tid);
1037 struct thread *thread)
1046 tuple_set_d64(t, 2, thread->db_id);
1058 struct comm *comm, struct thread *thread)
1067 tuple_set_d64(t, 2, thread->db_id);
1152 tuple_set_d64(t, 3, es->al->thread->db_id);
1241 tuple_set_d64(t, 1, cr->thread->db_id);
1377 process_stat(struct evsel *counter, int cpu, int thread, u64 tstamp,
1398 PyTuple_SetItem(t, n++, _PyLong_FromLong(thread));
1418 int cpu, thread;
1426 for (thread = 0; thread < threads->nr; thread++) {
1429 perf_thread_map__pid(threads, thread), tstamp,
1430 perf_counts(counter->counts, cpu, thread));
1569 SET_TABLE_HANDLER(thread);