Lines Matching defs:thread
45 #include "../thread.h"
49 #include "../thread-stack.h"
430 if (thread__resolve_callchain(al->thread, cursor, evsel,
508 struct thread *thread)
547 thread__find_map_fb(thread, sample->cpumode,
553 thread__find_map_fb(thread, sample->cpumode,
596 struct thread *thread)
620 thread__find_symbol_fb(thread, sample->cpumode,
626 thread__find_symbol_fb(thread, sample->cpumode,
882 _PyUnicode_FromString(thread__comm_str(al->thread)));
888 brstack = python_process_brstack(sample, al->thread);
891 brstacksym = python_process_brstacksym(sample, al->thread);
945 const char *comm = thread__comm_str(al->thread);
1170 static int python_export_thread(struct db_export *dbe, struct thread *thread,
1178 tuple_set_d64(t, 0, thread__db_id(thread));
1181 tuple_set_s32(t, 3, thread__pid(thread));
1182 tuple_set_s32(t, 4, thread__tid(thread));
1192 struct thread *thread)
1201 tuple_set_d64(t, 2, thread__db_id(thread));
1213 struct comm *comm, struct thread *thread)
1222 tuple_set_d64(t, 2, thread__db_id(thread));
1307 tuple_set_d64(t, 3, thread__db_id(es->al->thread));
1397 tuple_set_d64(t, 1, thread__db_id(cr->thread));
1648 process_stat(struct evsel *counter, struct perf_cpu cpu, int thread, u64 tstamp,
1669 PyTuple_SetItem(t, n++, _PyLong_FromLong(thread));
1689 int cpu, thread;
1691 for (thread = 0; thread < perf_thread_map__nr(threads); thread++) {
1694 perf_thread_map__pid(threads, thread), tstamp,
1695 perf_counts(counter->counts, cpu, thread));
1862 SET_TABLE_HANDLER(thread);