Home
last modified time | relevance | path

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

123

/tools/perf/util/
Dthread.h15 struct thread { struct
29 bool dead; /* if set thread has exited */ argument
34 struct thread_stack *ts; argument
40 struct thread *thread__new(pid_t pid, pid_t tid); argument
47 static inline void __thread__zput(struct thread **thread) in __thread__zput()
53 #define thread__zput(thread) __thread__zput(&thread) argument
55 static inline void thread__exited(struct thread *thread) in thread__exited()
62 static inline int thread__set_comm(struct thread *thread, const char *comm, in thread__set_comm()
88 static inline void *thread__priv(struct thread *thread) in thread__priv()
93 static inline void thread__set_priv(struct thread *thread, void *p) in thread__set_priv()
[all …]
Dthread.c13 int thread__init_map_groups(struct thread *thread, struct machine *machine) in thread__init_map_groups()
33 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()
103 struct comm *thread__comm(const struct thread *thread) in thread__comm()
111 struct comm *thread__exec_comm(const struct thread *thread) in thread__exec_comm()
134 int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, in __thread__set_comm()
160 const char *thread__comm_str(const struct thread *thread) in thread__comm_str()
171 int thread__comm_len(struct thread *thread) in thread__comm_len()
[all …]
Dthread_map.h38 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid()
44 thread_map__set_pid(struct thread_map *map, int thread, pid_t pid) in thread_map__set_pid()
49 static inline char *thread_map__comm(struct thread_map *map, int thread) in thread_map__comm()
Dthread-stack.c126 static struct thread_stack *thread_stack__new(struct thread *thread, in thread_stack__new()
195 static int thread_stack__call_return(struct thread *thread, in thread_stack__call_return()
222 static int __thread_stack__flush(struct thread *thread, struct thread_stack *ts) in __thread_stack__flush()
245 int thread_stack__flush(struct thread *thread) in thread_stack__flush()
253 int thread_stack__event(struct thread *thread, u32 flags, u64 from_ip, in thread_stack__event()
301 void thread_stack__set_trace_nr(struct thread *thread, u64 trace_nr) in thread_stack__set_trace_nr()
313 void thread_stack__free(struct thread *thread) in thread_stack__free()
322 void thread_stack__sample(struct thread *thread, struct ip_callchain *chain, in thread_stack__sample()
493 static int thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, in thread_stack__pop_cp()
536 static int thread_stack__bottom(struct thread *thread, struct thread_stack *ts, in thread_stack__bottom()
[all …]
Ddb-export.c122 int db_export__thread(struct db_export *dbe, struct thread *thread, in db_export__thread()
192 struct thread *thread) in db_export__comm_thread()
234 static struct thread *get_main_thread(struct machine *machine, struct thread *thread) in get_main_thread()
292 struct thread* thread = al->thread; in db_export__sample() local
Dmachine.c52 struct thread *thread = machine__findnew_thread(machine, -1, in machine__init() local
456 struct thread *thread) in machine__thread_exec_comm()
467 struct thread *thread = machine__findnew_thread(machine, in machine__process_comm_event() local
1262 struct thread *thread; in machine__process_mmap2_event() local
1316 struct thread *thread; in machine__process_mmap_event() local
1392 struct thread *thread = machine__find_thread(machine, in machine__process_fork_event() local
1441 struct thread *thread = machine__find_thread(machine, in machine__process_exit_event() local
1498 static void ip__resolve_ams(struct thread *thread, in ip__resolve_ams()
1520 static void ip__resolve_data(struct thread *thread, in ip__resolve_data()
1558 static int add_callchain_ip(struct thread *thread, in add_callchain_ip()
[all …]
Dunwind-libdw.h15 struct thread *thread; member
Dunwind-libunwind.c90 struct thread *thread; member
524 static int entry(u64 ip, struct thread *thread, in entry()
573 int unwind__prepare_access(struct thread *thread) in unwind__prepare_access()
592 void unwind__flush_access(struct thread *thread) in unwind__flush_access()
603 void unwind__finish_access(struct thread *thread) in unwind__finish_access()
640 struct thread *thread, in unwind__get_entries()
Devlist.c339 int cpu, thread; in perf_evlist__disable() local
360 int cpu, thread; in perf_evlist__enable() local
387 int cpu, thread, err; in perf_evlist__disable_event() local
408 int cpu, thread, err; in perf_evlist__enable_event() local
429 int thread, err; in perf_evlist__enable_event_cpu() local
446 int thread) in perf_evlist__enable_event_thread()
535 int cpu, int thread, u64 id) in perf_evlist__id_hash()
547 int cpu, int thread, u64 id) in perf_evlist__id_add()
555 int cpu, int thread, int fd) in perf_evlist__id_add_fd()
596 int thread) in perf_evlist__set_sid_idx()
[all …]
Dcounts.h25 perf_counts(struct perf_counts *counts, int cpu, int thread) in perf_counts()
Dvdso.c140 struct thread *thread) in machine__thread_dso_type()
253 struct thread *thread, in __machine__findnew_vdso_compat()
Dstat.c243 int cpu, int thread, in process_counter_values()
288 int cpu, thread; in process_counter_maps() local
/tools/perf/tests/
Ddwarf-unwind.c71 static int unwind_thread(struct thread *thread) in unwind_thread()
106 struct thread *thread = *(struct thread **)p1; in compare() local
115 static int krava_3(struct thread *thread) in krava_3()
134 static int krava_2(struct thread *thread) in krava_2()
140 static int krava_1(struct thread *thread) in krava_1()
149 struct thread *thread; in test__dwarf_unwind() local
Dcode-reading.c178 struct thread *thread, struct state *state) in read_object_code()
295 struct thread *thread; in process_sample_event() local
438 struct thread *thread; in do_test_code_reading() local
Dhists_filter.c16 struct thread *thread; member
/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/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/usb/
Dffs-test.c308 static struct thread { struct
312 ssize_t (*in)(struct thread *, void *, size_t); argument
315 ssize_t (*out)(struct thread *, const void *, size_t); argument
319 pthread_t id; argument
322 } threads[] = { argument
344 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/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/testing/selftests/x86/
Dsysret_ss_attrs.c69 pthread_t thread; in main() local
/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/testing/selftests/powerpc/dscr/
Ddscr_default_test.c23 unsigned long thread = (unsigned long)in; in do_test() local
/tools/perf/
Dbuiltin-script.c389 struct thread *thread, in print_sample_start()
505 struct thread *thread, in print_sample_addr()
535 struct thread *thread, in print_sample_bts()
594 struct thread *thread = al->thread; in process_event() local
780 struct thread *thread; in process_comm_event() local
814 struct thread *thread; in process_fork_event() local
846 struct thread *thread; in process_exit_event() local
878 struct thread *thread; in process_mmap_event() local
909 struct thread *thread; in process_mmap2_event() local
940 struct thread *thread; in process_switch_event() local

123