Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 69) sorted by relevance

123

/tools/perf/util/
Dthread.h16 struct thread { struct
30 bool dead; /* if set thread has exited */ argument
35 struct thread_stack *ts; argument
45 struct thread *thread__new(pid_t pid, pid_t tid); argument
52 static inline void __thread__zput(struct thread **thread) in __thread__zput()
58 #define thread__zput(thread) __thread__zput(&thread) argument
60 static inline void thread__exited(struct thread *thread) in thread__exited()
67 static inline int thread__set_comm(struct thread *thread, const char *comm, in thread__set_comm()
97 static inline void *thread__priv(struct thread *thread) in thread__priv()
102 static inline void thread__set_priv(struct thread *thread, void *p) in thread__set_priv()
[all …]
Dthread.c15 int thread__init_map_groups(struct thread *thread, struct machine *machine) in thread__init_map_groups()
36 struct thread *thread = zalloc(sizeof(*thread)); in thread__new() local
67 void thread__delete(struct thread *thread) in thread__delete()
88 struct thread *thread__get(struct thread *thread) in thread__get()
95 void thread__put(struct thread *thread) in thread__put()
107 struct comm *thread__comm(const struct thread *thread) in thread__comm()
115 struct comm *thread__exec_comm(const struct thread *thread) in thread__exec_comm()
128 int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, in __thread__set_comm()
153 int thread__set_comm_from_proc(struct thread *thread) in thread__set_comm_from_proc()
170 const char *thread__comm_str(const struct thread *thread) in thread__comm_str()
[all …]
Dunwind-libunwind.c11 static void unwind__register_ops(struct thread *thread, in unwind__register_ops()
17 int unwind__prepare_access(struct thread *thread, struct map *map, in unwind__prepare_access()
64 void unwind__flush_access(struct thread *thread) in unwind__flush_access()
70 void unwind__finish_access(struct thread *thread) in unwind__finish_access()
77 struct thread *thread, in unwind__get_entries()
Dthread-stack.c91 static struct thread_stack *thread_stack__new(struct thread *thread, in thread_stack__new()
160 static int thread_stack__call_return(struct thread *thread, in thread_stack__call_return()
187 static int __thread_stack__flush(struct thread *thread, struct thread_stack *ts) in __thread_stack__flush()
210 int thread_stack__flush(struct thread *thread) in thread_stack__flush()
218 int thread_stack__event(struct thread *thread, u32 flags, u64 from_ip, in thread_stack__event()
266 void thread_stack__set_trace_nr(struct thread *thread, u64 trace_nr) in thread_stack__set_trace_nr()
278 void thread_stack__free(struct thread *thread) in thread_stack__free()
287 void thread_stack__sample(struct thread *thread, struct ip_callchain *chain, in thread_stack__sample()
356 static int thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, in thread_stack__pop_cp()
399 static int thread_stack__bottom(struct thread *thread, struct thread_stack *ts, in thread_stack__bottom()
[all …]
Dthread_map.h43 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid()
49 thread_map__set_pid(struct thread_map *map, int thread, pid_t pid) in thread_map__set_pid()
54 static inline char *thread_map__comm(struct thread_map *map, int thread) in thread_map__comm()
Dvdso.c138 struct thread *thread) in machine__thread_dso_type()
253 struct thread *thread, in __machine__findnew_vdso_compat()
287 struct thread *thread) in machine__find_vdso()
317 struct thread *thread) in machine__findnew_vdso()
Dmachine.c56 struct thread *thread = machine__findnew_thread(machine, -1, in machine__init() local
451 struct thread *thread) in machine__thread_exec_comm()
462 struct thread *thread = machine__findnew_thread(machine, in machine__process_comm_event() local
1308 struct thread *thread; in machine__process_mmap2_event() local
1366 struct thread *thread; in machine__process_mmap_event() local
1448 struct thread *thread = machine__find_thread(machine, in machine__process_fork_event() local
1497 struct thread *thread = machine__find_thread(machine, in machine__process_exit_event() local
1554 static void ip__resolve_ams(struct thread *thread, in ip__resolve_ams()
1576 static void ip__resolve_data(struct thread *thread, in ip__resolve_data()
1614 static int add_callchain_ip(struct thread *thread, in add_callchain_ip()
[all …]
Ddb-export.c124 int db_export__thread(struct db_export *dbe, struct thread *thread, in db_export__thread()
194 struct thread *thread) in db_export__comm_thread()
271 struct thread *thread, in call_path_from_sample()
355 struct thread* thread = al->thread; in db_export__sample() local
Dunwind-libunwind-local.c93 struct thread *thread; member
536 static int entry(u64 ip, struct thread *thread, in entry()
585 static int _unwind__prepare_access(struct thread *thread) in _unwind__prepare_access()
600 static void _unwind__flush_access(struct thread *thread) in _unwind__flush_access()
608 static void _unwind__finish_access(struct thread *thread) in _unwind__finish_access()
681 struct thread *thread, in _unwind__get_entries()
Dunwind-libdw.h15 struct thread *thread; member
/tools/perf/scripts/python/
Dstat-cpi.py8 def get_key(time, event, cpu, thread): argument
11 def store_key(time, cpu, thread): argument
21 def store(time, event, cpu, thread, val, ena, run): argument
29 def get(time, event, cpu, thread): argument
33 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
36 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
39 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
42 def stat__instructions_u(cpu, thread, time, val, ena, run): argument
45 def stat__cycles(cpu, thread, time, val, ena, run): argument
48 def stat__instructions(cpu, thread, time, val, ena, run): argument
/tools/perf/tests/
Ddwarf-unwind.c79 static int unwind_thread(struct thread *thread) in unwind_thread()
114 struct thread *thread = *(struct thread **)p1; in compare() local
131 static int krava_3(struct thread *thread) in krava_3()
150 static int krava_2(struct thread *thread) in krava_2()
156 static int krava_1(struct thread *thread) in krava_1()
164 struct thread *thread; in test__dwarf_unwind() local
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c12 struct thread *thread, u64 *regs) in sample_ustack()
44 struct thread *thread) in test__arch_unwind_sample()
/tools/perf/arch/x86/tests/
Ddwarf-unwind.c13 struct thread *thread, u64 *regs) in sample_ustack()
45 struct thread *thread) in test__arch_unwind_sample()
/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c13 struct thread *thread, u64 *regs) in sample_ustack()
45 struct thread *thread) in test__arch_unwind_sample()
/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c12 struct thread *thread, u64 *regs) in sample_ustack()
44 struct thread *thread) in test__arch_unwind_sample()
/tools/usb/
Dffs-test.c295 static struct thread { struct
299 ssize_t (*in)(struct thread *, void *, size_t); argument
302 ssize_t (*out)(struct thread *, const void *, size_t); argument
306 pthread_t id; argument
309 } threads[] = { argument
331 static void init_thread(struct thread *t) in init_thread() argument
/tools/perf/python/
Dtwatch.py18 def main(context_switch = 0, thread = -1): argument
/tools/testing/selftests/x86/
Dsysret_ss_attrs.c69 pthread_t thread; in main() local
/tools/perf/arch/arm/util/
Dunwind-libdw.c5 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg) in libdw__arch_set_initial_registers()
/tools/perf/arch/x86/util/
Dunwind-libdw.c5 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg) in libdw__arch_set_initial_registers()
/tools/perf/trace/beauty/
Dpid.c6 struct thread *thread = machine__findnew_thread(trace->host, pid, pid); in syscall_arg__scnprintf_pid() local
/tools/testing/selftests/powerpc/dscr/
Ddscr_default_test.c23 unsigned long thread = (unsigned long)in; in do_test() local
/tools/perf/
Dbuiltin-script.c435 struct thread *thread, in print_sample_start()
507 struct thread *thread) in print_sample_brstacksym()
544 struct thread *thread, in print_sample_addr()
573 struct thread *thread, in print_sample_callindent()
629 struct thread *thread, in print_sample_bts()
851 struct thread *thread = al->thread; in process_event() local
924 int cpu, thread; in __process_stat() local
1064 struct thread *thread; in process_comm_event() local
1098 struct thread *thread; in process_fork_event() local
1130 struct thread *thread; in process_exit_event() local
[all …]
/tools/testing/selftests/powerpc/tm/
Dtm-tmspr.c101 pthread_t thread; in test_tmspr() local

123