Home
last modified time | relevance | path

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

123456789

/linux/tools/perf/util/
H A Dthread.h32 DECLARE_RC_STRUCT(thread) { in DECLARE_RC_STRUCT() argument
82 __thread__zput(struct thread ** thread) __thread__zput() argument
88 thread__zput(thread) global() argument
96 thread__set_comm(struct thread * thread,const char * comm,u64 timestamp) thread__set_comm() argument
130 thread__maps(struct thread * thread) thread__maps() argument
135 thread__set_maps(struct thread * thread,struct maps * maps) thread__set_maps() argument
140 thread__pid(const struct thread * thread) thread__pid() argument
145 thread__set_pid(struct thread * thread,pid_t pid_) thread__set_pid() argument
150 thread__tid(const struct thread * thread) thread__tid() argument
155 thread__set_tid(struct thread * thread,pid_t tid) thread__set_tid() argument
160 thread__ppid(const struct thread * thread) thread__ppid() argument
165 thread__set_ppid(struct thread * thread,pid_t ppid) thread__set_ppid() argument
170 thread__cpu(const struct thread * thread) thread__cpu() argument
175 thread__set_cpu(struct thread * thread,int cpu) thread__set_cpu() argument
180 thread__guest_cpu(const struct thread * thread) thread__guest_cpu() argument
185 thread__set_guest_cpu(struct thread * thread,int guest_cpu) thread__set_guest_cpu() argument
190 thread__refcnt(struct thread * thread) thread__refcnt() argument
195 thread__set_exited(struct thread * thread,bool exited) thread__set_exited() argument
200 thread__comm_set(const struct thread * thread) thread__comm_set() argument
205 thread__set_comm_set(struct thread * thread,bool set) thread__set_comm_set() argument
210 thread__var_comm_len(const struct thread * thread) thread__var_comm_len() argument
215 thread__set_comm_len(struct thread * thread,int len) thread__set_comm_len() argument
220 thread__namespaces_list(struct thread * thread) thread__namespaces_list() argument
225 thread__namespaces_list_empty(const struct thread * thread) thread__namespaces_list_empty() argument
230 thread__namespaces_lock(struct thread * thread) thread__namespaces_lock() argument
235 thread__comm_list(struct thread * thread) thread__comm_list() argument
240 thread__comm_lock(struct thread * thread) thread__comm_lock() argument
245 thread__db_id(const struct thread * thread) thread__db_id() argument
250 thread__set_db_id(struct thread * thread,u64 db_id) thread__set_db_id() argument
255 thread__priv(struct thread * thread) thread__priv() argument
260 thread__set_priv(struct thread * thread,void * p) thread__set_priv() argument
265 thread__ts(struct thread * thread) thread__ts() argument
270 thread__set_ts(struct thread * thread,struct thread_stack * ts) thread__set_ts() argument
275 thread__nsinfo(struct thread * thread) thread__nsinfo() argument
280 thread__srccode_state(struct thread * thread) thread__srccode_state() argument
285 thread__filter(const struct thread * thread) thread__filter() argument
290 thread__set_filter(struct thread * thread,bool filter) thread__set_filter() argument
295 thread__filter_entry_depth(const struct thread * thread) thread__filter_entry_depth() argument
300 thread__set_filter_entry_depth(struct thread * thread,int depth) thread__set_filter_entry_depth() argument
305 thread__lbr_stitch_enable(const struct thread * thread) thread__lbr_stitch_enable() argument
310 thread__set_lbr_stitch_enable(struct thread * thread,bool en) thread__set_lbr_stitch_enable() argument
315 thread__lbr_stitch(struct thread * thread) thread__lbr_stitch() argument
320 thread__set_lbr_stitch(struct thread * thread,struct lbr_stitch * lbrs) thread__set_lbr_stitch() argument
325 thread__is_filtered(struct thread * thread) thread__is_filtered() argument
[all...]
H A Dthread.c22 thread__init_maps(struct thread * thread,struct machine * machine) thread__init_maps() argument
43 struct thread *thread; thread__new() local
88 thread__delete(struct thread * thread) thread__delete() argument
127 thread__get(struct thread * thread) thread__get() argument
137 thread__put(struct thread * thread) thread__put() argument
145 __thread__namespaces(struct thread * thread) __thread__namespaces() argument
153 thread__namespaces(struct thread * thread) thread__namespaces() argument
164 __thread__set_namespaces(struct thread * thread,u64 timestamp,struct perf_record_namespaces * event) __thread__set_namespaces() argument
188 thread__set_namespaces(struct thread * thread,u64 timestamp,struct perf_record_namespaces * event) thread__set_namespaces() argument
199 thread__comm(struct thread * thread) thread__comm() argument
207 thread__exec_comm(struct thread * thread) thread__exec_comm() argument
230 ____thread__set_comm(struct thread * thread,const char * str,u64 timestamp,bool exec) ____thread__set_comm() argument
255 __thread__set_comm(struct thread * thread,const char * str,u64 timestamp,bool exec) __thread__set_comm() argument
266 thread__set_comm_from_proc(struct thread * thread) thread__set_comm_from_proc() argument
283 __thread__comm_str(struct thread * thread) __thread__comm_str() argument
293 thread__comm_str(struct thread * thread) thread__comm_str() argument
304 __thread__comm_len(struct thread * thread,const char * comm) __thread__comm_len() argument
314 thread__comm_len(struct thread * thread) thread__comm_len() argument
330 thread__fprintf(struct thread * thread,FILE * fp) thread__fprintf() argument
336 thread__insert_map(struct thread * thread,struct map * map) thread__insert_map() argument
362 thread__prepare_access(struct thread * thread) thread__prepare_access() argument
376 thread__clone_maps(struct thread * thread,struct thread * parent,bool do_maps_clone) thread__clone_maps() argument
392 thread__fork(struct thread * thread,struct thread * parent,u64 timestamp,bool do_maps_clone) thread__fork() argument
408 thread__find_cpumode_addr_location(struct thread * thread,u64 addr,struct addr_location * al) thread__find_cpumode_addr_location() argument
426 thread__main_thread(struct machine * machine,struct thread * thread) thread__main_thread() argument
437 thread__memcpy(struct thread * thread,struct machine * machine,void * buf,u64 ip,int len,bool * is64bit) thread__memcpy() argument
470 thread__free_stitch_list(struct thread * thread) thread__free_stitch_list() argument
[all...]
H A Dthread-stack.c113 static inline bool thread_stack__per_cpu(struct thread *thread) in thread_stack__per_cpu()
136 static int thread_stack__init(struct thread_stack *ts, struct thread *thread, in thread_stack__init()
173 static struct thread_stack *thread_stack__new(struct thread *thread, int cpu, in thread_stack__new()
208 static struct thread_stack *thread__cpu_stack(struct thread *thread, int cpu) in thread__cpu_stack()
226 static inline struct thread_stack *thread__stack(struct thread *thread, in thread__stack()
298 static int thread_stack__call_return(struct thread *thread, in thread_stack__call_return()
338 static int __thread_stack__flush(struct thread *thread, struct thread_stack *ts) in __thread_stack__flush()
364 int thread_stack__flush(struct thread *thread) in thread_stack__flush()
406 int thread_stack__event(struct thread *thread, int cpu, u32 flags, u64 from_ip, in thread_stack__event()
473 void thread_stack__set_trace_nr(struct thread *thread, int cpu, u64 trace_nr) in thread_stack__set_trace_nr()
[all …]
H A Dmachine.c65 thread__set_guest_comm(struct thread * thread,pid_t pid) thread__set_guest_comm() argument
106 struct thread *thread = machine__findnew_thread(machine, -1, machine__init() local
353 struct thread *thread; findnew_guest_code() local
545 struct thread *thread = machine__findnew_thread(machine, 0, 0); machine__idle_thread() local
555 machine__thread_exec_comm(struct machine * machine,struct thread * thread) machine__thread_exec_comm() argument
566 struct thread *thread = machine__findnew_thread(machine, machine__process_comm_event() local
593 struct thread *thread = machine__findnew_thread(machine, machine__process_namespaces_event() local
914 machine_fprintf_cb(struct thread * thread,void * data) machine_fprintf_cb() argument
1699 struct thread *thread; machine__process_mmap2_event() local
1767 struct thread *thread; machine__process_mmap_event() local
1830 struct thread *thread = machine__find_thread(machine, machine__process_fork_event() local
1896 struct thread *thread = machine__find_thread(machine, machine__process_exit_event() local
1965 ip__resolve_ams(struct thread * thread,struct addr_map_symbol * ams,u64 ip) ip__resolve_ams() argument
1992 ip__resolve_data(struct thread * thread,u8 m,struct addr_map_symbol * ams,u64 addr,u64 phys_addr,u64 daddr_page_size) ip__resolve_data() argument
2058 add_callchain_ip(struct thread * thread,struct callchain_cursor * cursor,struct symbol ** parent,struct addr_location * root_al,u8 * cpumode,u64 ip,bool branch,struct branch_flags * flags,struct iterations * iter,u64 branch_from,bool symbols) add_callchain_ip() argument
2231 lbr_callchain_add_kernel_ip(struct thread * thread,struct callchain_cursor * cursor,struct perf_sample * sample,struct symbol ** parent,struct addr_location * root_al,u64 branch_from,bool callee,int end,bool symbols) lbr_callchain_add_kernel_ip() argument
2268 save_lbr_cursor_node(struct thread * thread,struct callchain_cursor * cursor,int idx) save_lbr_cursor_node() argument
2297 lbr_callchain_add_lbr_ip(struct thread * thread,struct callchain_cursor * cursor,struct perf_sample * sample,struct symbol ** parent,struct addr_location * root_al,u64 * branch_from,bool callee,bool symbols) lbr_callchain_add_lbr_ip() argument
2399 lbr_callchain_add_stitched_lbr_ip(struct thread * thread,struct callchain_cursor * cursor) lbr_callchain_add_stitched_lbr_ip() argument
2424 get_stitch_node(struct thread * thread) get_stitch_node() argument
2440 has_stitched_lbr(struct thread * thread,struct perf_sample * cur,struct perf_sample * prev,unsigned int max_lbr,bool callee) has_stitched_lbr() argument
2515 alloc_lbr_stitch(struct thread * thread,unsigned int max_lbr) alloc_lbr_stitch() argument
2552 resolve_lbr_callchain_sample(struct thread * thread,struct callchain_cursor * cursor,struct perf_sample * sample,struct symbol ** parent,struct addr_location * root_al,int max_stack,unsigned int max_lbr,bool symbols) resolve_lbr_callchain_sample() argument
2640 find_prev_cpumode(struct ip_callchain * chain,struct thread * thread,struct callchain_cursor * cursor,struct symbol ** parent,struct addr_location * root_al,u8 * cpumode,int ent,bool symbols) find_prev_cpumode() argument
2662 get_leaf_frame_caller(struct perf_sample * sample,struct thread * thread,int usr_idx) get_leaf_frame_caller() argument
2670 thread__resolve_callchain_sample(struct thread * thread,struct callchain_cursor * cursor,struct evsel * evsel,struct perf_sample * sample,struct symbol ** parent,struct addr_location * root_al,int max_stack,bool symbols) thread__resolve_callchain_sample() argument
2920 thread__resolve_callchain_unwind(struct thread * thread,struct callchain_cursor * cursor,struct evsel * evsel,struct perf_sample * sample,int max_stack,bool symbols) thread__resolve_callchain_unwind() argument
2943 __thread__resolve_callchain(struct thread * thread,struct callchain_cursor * cursor,struct evsel * evsel,struct perf_sample * sample,struct symbol ** parent,struct addr_location * root_al,int max_stack,bool symbols) __thread__resolve_callchain() argument
2985 machine__for_each_thread(struct machine * machine,int (* fn)(struct thread * thread,void * p),void * priv) machine__for_each_thread() argument
2992 machines__for_each_thread(struct machines * machines,int (* fn)(struct thread * thread,void * p),void * priv) machines__for_each_thread() argument
3013 thread_list_cb(struct thread * thread,void * data) thread_list_cb() argument
3053 struct thread *thread; machine__set_current_tid() local
[all...]
H A Ddb-export.c62 int db_export__thread(struct db_export *dbe, struct thread *thread, in db_export__thread() argument
83 struct thread *thread) in __db_export__comm() argument
94 db_export__comm(struct db_export * dbe,struct comm * comm,struct thread * thread) db_export__comm() argument
134 db_export__comm_thread(struct db_export * dbe,struct comm * comm,struct thread * thread) db_export__comm_thread() argument
211 call_path_from_sample(struct db_export * dbe,struct machine * machine,struct thread * thread,struct perf_sample * sample,struct evsel * evsel) call_path_from_sample() argument
294 db_export__threads(struct db_export * dbe,struct thread * thread,struct thread * main_thread,struct machine * machine,struct comm ** comm_ptr) db_export__threads() argument
352 struct thread *thread = al->thread; db_export__sample() local
532 struct thread *thread = machine__find_thread(machine, pid, tid); db_export__pid_tid() local
[all...]
H A Dcounts.h20 perf_counts(struct perf_counts *counts, int cpu_map_idx, int thread) in perf_counts()
26 perf_counts__is_loaded(struct perf_counts *counts, int cpu_map_idx, int thread) in perf_counts__is_loaded()
32 perf_counts__set_loaded(struct perf_counts *counts, int cpu_map_idx, int thread, bool loaded) in perf_counts__set_loaded()
H A Dvdso.c159 struct thread *thread) in machine__thread_dso_type()
265 struct thread *thread, in __machine__findnew_vdso_compat()
299 struct thread *thread) in machine__find_vdso()
331 struct thread *thread) in machine__findnew_vdso()
H A Dprint_insn.c84 static size_t print_insn_x86(struct thread *thread, u8 cpumode, cs_insn *insn, in print_insn_x86()
122 ssize_t fprintf_insn_asm(struct machine *machine, struct thread *thread, u8 cpumode, in fprintf_insn_asm()
154 size_t sample__fprintf_insn_asm(struct perf_sample *sample, struct thread *thread, in sample__fprintf_insn_asm()
H A Devent.c434 struct thread *thread = machine__findnew_thread(machine, in perf_event__exit_del_thread() local
618 struct map *thread__find_map(struct thread *thread, u8 cpumode, u64 addr, in thread__find_map() argument
683 thread__find_map_fb(struct thread * thread,u8 cpumode,u64 addr,struct addr_location * al) thread__find_map_fb() argument
696 thread__find_symbol(struct thread * thread,u8 cpumode,u64 addr,struct addr_location * al) thread__find_symbol() argument
705 thread__find_symbol_fb(struct thread * thread,u8 cpumode,u64 addr,struct addr_location * al) thread__find_symbol_fb() argument
734 struct thread *thread; machine__resolve() local
839 thread__resolve(struct thread * thread,struct addr_location * al,struct perf_sample * sample) thread__resolve() argument
[all...]
/linux/drivers/md/dm-vdo/
H A Dthread-utils.c21 struct thread { struct
22 void (*thread_function)(void *thread_data); argument
23 void *thread_data; argument
24 struct hlist_node thread_links; argument
25 struct task_struct *thread_task; argument
26 struct completion thread_done; argument
37 struct thread *thread = arg; in thread_starter() local
56 struct thread *thread; in vdo_create_thread() local
99 void vdo_join_threads(struct thread *thread) in vdo_join_threads()
H A Dthread-registry.c28 struct registered_thread *thread; in vdo_register_thread() local
57 struct registered_thread *thread; in vdo_unregister_thread() local
80 struct registered_thread *thread; in vdo_lookup_thread() local
/linux/tools/perf/scripts/python/
H A Dstat-cpi.py10 def get_key(time, event, cpu, thread): argument
13 def store_key(time, cpu, thread): argument
23 def store(time, event, cpu, thread, val, ena, run): argument
31 def get(time, event, cpu, thread): argument
35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument
47 def stat__cycles(cpu, thread, time, val, ena, run): argument
50 def stat__instructions(cpu, thread, time, val, ena, run): argument
/linux/drivers/mailbox/
H A Dmtk-cmdq-mailbox.c72 struct cmdq_thread *thread; member
82 struct cmdq_thread *thread; member
115 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend()
135 static void cmdq_thread_resume(struct cmdq_thread *thread) in cmdq_thread_resume()
160 static int cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_reset()
176 static void cmdq_thread_disable(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_disable()
183 static void cmdq_thread_invalidate_fetched_data(struct cmdq_thread *thread) in cmdq_thread_invalidate_fetched_data()
192 struct cmdq_thread *thread = task->thread; in cmdq_task_insert_into_thread() local
209 static bool cmdq_thread_is_in_wfe(struct cmdq_thread *thread) in cmdq_thread_is_in_wfe()
227 struct cmdq_thread *thread = task->thread; in cmdq_task_handle_error() local
[all …]
/linux/tools/perf/tests/
H A Ddwarf-unwind.c112 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *threa argument
146 struct thread *thread = *(struct thread **)p1; test_dwarf_unwind__compare() local
162 test_dwarf_unwind__krava_3(struct thread * thread) test_dwarf_unwind__krava_3() argument
181 test_dwarf_unwind__krava_2(struct thread * thread) test_dwarf_unwind__krava_2() argument
190 test_dwarf_unwind__krava_1(struct thread * thread) test_dwarf_unwind__krava_1() argument
203 struct thread *thread; test__dwarf_unwind() local
[all...]
/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-noadv.c82 struct thread_struct *thread = &task->thread; in ptrace_set_debugreg() local
170 static int find_empty_ptrace_bp(struct thread_struct *thread) in find_empty_ptrace_bp()
182 static int find_empty_hw_brk(struct thread_struct *thread) in find_empty_hw_brk()
198 struct thread_struct *thread = &child->thread; in ppc_set_hwdebug() local
272 struct thread_struct *thread = &child->thread; in ppc_del_hwdebug() local
/linux/tools/usb/
H A Dffs-test.c343 static struct thread { struct
347 ssize_t (*in)(struct thread *, void *, size_t); argument
350 ssize_t (*out)(struct thread *, const void *, size_t); argument
354 pthread_t id; argument
357 } threads[] = { argument
379 static void init_thread(struct thread *t) in init_thread() argument
/linux/drivers/acpi/acpica/
H A Ddswstate.c412 struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state in acpi_ds_get_current_walk_state()
442 struct acpi_thread_state *thread) in acpi_ds_push_walk_state()
466 struct acpi_walk_state *acpi_ds_pop_walk_state(struct acpi_thread_state *thread) in acpi_ds_pop_walk_state()
511 struct acpi_thread_state in acpi_ds_create_walk_state()
H A Dexmutex.c37 struct acpi_thread_state *thread = obj_desc->mutex.owner_thread; in acpi_ex_unlink_mutex() local
80 struct acpi_thread_state *thread) in acpi_ex_link_mutex()
461 void acpi_ex_release_all_mutexes(struct acpi_thread_state *thread) in acpi_ex_release_all_mutexes()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c12 struct thread { struct
14 pthread_t *pthds; argument
19 static struct thread *threads; argument
/linux/include/linux/iio/
H A Dtriggered_buffer.h20 #define iio_triggered_buffer_setup(indio_dev, h, thread, setup_ops) \ argument
33 #define devm_iio_triggered_buffer_setup(dev, indio_dev, h, thread, setup_ops) \ argument
/linux/tools/perf/arch/arm64/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack() argument
46 struct thread *thread) in test__arch_unwind_sample() argument
/linux/tools/perf/arch/arm/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack() argument
46 struct thread *thread) in test__arch_unwind_sample() argument
/linux/tools/perf/arch/powerpc/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack() argument
46 struct thread *thread) in test__arch_unwind_sample() argument
/linux/tools/perf/arch/x86/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack() argument
54 struct thread *thread) in test__arch_unwind_sample() argument
/linux/tools/lib/perf/
H A Devlist.c265 int cpu_map_idx, int thread, u64 id) in perf_evlist__id_hash()
286 int cpu_map_idx, int thread, u64 id) in perf_evlist__id_add()
297 int cpu_map_idx, int thread, int fd) in perf_evlist__id_add_fd()
420 static void perf_evsel__set_sid_idx(struct perf_evsel *evsel, int idx, int cpu, int thread) in perf_evsel__set_sid_idx()
471 int thread, int *_output, int *_output_overwrite, int *nr_mmaps) in mmap_per_evsel()
568 int cpu, thread, idx = 0; in mmap_per_thread() local
611 int cpu, thread; in mmap_per_cpu() local

123456789