Home
last modified time | relevance | path

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

1234567891011

/linux/tools/perf/util/
A Dthread.h32 struct thread { struct
45 bool dead; /* if set thread has exited */ argument
53 struct thread_stack *ts; argument
68 struct thread *thread__new(pid_t pid, pid_t tid); argument
75 static inline void __thread__zput(struct thread **thread) in __thread__zput()
81 #define thread__zput(thread) __thread__zput(&thread) argument
83 static inline void thread__exited(struct thread *thread) in thread__exited()
94 static inline int thread__set_comm(struct thread *thread, const char *comm, in thread__set_comm()
128 static inline void *thread__priv(struct thread *thread) in thread__priv()
133 static inline void thread__set_priv(struct thread *thread, void *p) in thread__set_priv()
[all …]
A Dthread.c43 struct thread *thread = zalloc(sizeof(*thread)); in thread__new() local
81 void thread__delete(struct thread *thread) in thread__delete()
118 struct thread *thread__get(struct thread *thread) in thread__get()
125 void thread__put(struct thread *thread) in thread__put()
208 struct comm *thread__comm(const struct thread *thread) in thread__comm()
275 int thread__set_comm_from_proc(struct thread *thread) in thread__set_comm_from_proc()
302 const char *thread__comm_str(struct thread *thread) in thread__comm_str()
314 int thread__comm_len(struct thread *thread) in thread__comm_len()
326 size_t thread__fprintf(struct thread *thread, FILE *fp) in thread__fprintf()
366 static int thread__prepare_access(struct thread *thread) in thread__prepare_access()
[all …]
A Dthread-stack.c113 static inline bool thread_stack__per_cpu(struct thread *thread) in thread_stack__per_cpu()
298 static int thread_stack__call_return(struct thread *thread, in thread_stack__call_return()
364 int thread_stack__flush(struct thread *thread) in thread_stack__flush()
503 void thread_stack__free(struct thread *thread) in thread_stack__free()
520 void thread_stack__sample(struct thread *thread, int cpu, in thread_stack__sample()
563 void thread_stack__sample_late(struct thread *thread, int cpu, in thread_stack__sample_late()
616 void thread_stack__br_sample(struct thread *thread, int cpu, in thread_stack__br_sample()
677 void thread_stack__br_sample_late(struct thread *thread, int cpu, in thread_stack__br_sample_late()
902 static int thread_stack__no_call_return(struct thread *thread, in thread_stack__no_call_return()
996 static int thread_stack__trace_begin(struct thread *thread, in thread_stack__trace_begin()
[all …]
A Dcounts.h21 perf_counts(struct perf_counts *counts, int cpu, int thread) in perf_counts()
27 perf_counts__is_loaded(struct perf_counts *counts, int cpu, int thread) in perf_counts__is_loaded()
33 perf_counts__set_loaded(struct perf_counts *counts, int cpu, int thread, bool loaded) in perf_counts__set_loaded()
A Ddb-export.c62 int db_export__thread(struct db_export *dbe, struct thread *thread, in db_export__thread()
83 struct thread *thread) in __db_export__comm()
94 struct thread *thread) in db_export__comm()
134 struct thread *thread) in db_export__comm_thread()
211 struct thread *thread, in call_path_from_sample()
290 static int db_export__threads(struct db_export *dbe, struct thread *thread, in db_export__threads()
348 struct thread *thread = al->thread; in db_export__sample() local
526 struct thread *thread = machine__find_thread(machine, pid, tid); in db_export__pid_tid() local
A Dmachine.c230 struct thread *thread, *n; in machine__exit() local
620 struct thread *thread) in machine__thread_exec_comm()
1757 struct thread *thread; in machine__process_mmap2_event() local
1825 struct thread *thread; in machine__process_mmap_event() local
2056 static void ip__resolve_ams(struct thread *thread, in ip__resolve_ams()
2081 static void ip__resolve_data(struct thread *thread, in ip__resolve_data()
2143 static int add_callchain_ip(struct thread *thread, in add_callchain_ip()
2504 static bool has_stitched_lbr(struct thread *thread, in has_stitched_lbr()
2985 int (*fn)(struct thread *thread, void *p), in machine__for_each_thread()
2990 struct thread *thread; in machine__for_each_thread() local
[all …]
A Dvdso.c144 struct thread *thread) in machine__thread_dso_type()
257 struct thread *thread, in __machine__findnew_vdso_compat()
291 struct thread *thread) in machine__find_vdso()
321 struct thread *thread) in machine__findnew_vdso()
/linux/tools/perf/scripts/python/
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/
A Dmtk-cmdq-mailbox.c68 struct cmdq_thread *thread; member
78 struct cmdq_thread *thread; member
121 static void cmdq_thread_resume(struct cmdq_thread *thread) in cmdq_thread_resume()
171 struct cmdq_thread *thread = task->thread; in cmdq_task_insert_into_thread() local
188 static bool cmdq_thread_is_in_wfe(struct cmdq_thread *thread) in cmdq_thread_is_in_wfe()
211 struct cmdq_thread *thread = task->thread; in cmdq_task_handle_error() local
226 struct cmdq_thread *thread) in cmdq_thread_irq_handler()
289 struct cmdq_thread *thread = &cmdq->thread[bit]; in cmdq_irq_handler() local
302 struct cmdq_thread *thread; in cmdq_suspend() local
344 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; in cmdq_mbox_send_data() local
[all …]
/linux/arch/arm/vfp/
A Dvfpmodule.c62 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) in vfp_state_in_hw()
76 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) in vfp_force_reload()
90 static void vfp_thread_flush(struct thread_info *thread) in vfp_thread_flush()
118 static void vfp_thread_exit(struct thread_info *thread) in vfp_thread_exit()
129 static void vfp_thread_copy(struct thread_info *thread) in vfp_thread_copy()
161 struct thread_info *thread = v; in vfp_notifier() local
516 void vfp_sync_hwstate(struct thread_info *thread) in vfp_sync_hwstate()
535 void vfp_flush_hwstate(struct thread_info *thread) in vfp_flush_hwstate()
551 struct thread_info *thread = current_thread_info(); in vfp_preserve_user_clear_hwstate() local
589 struct thread_info *thread = current_thread_info(); in vfp_restore_user_hwstate() local
[all …]
/linux/tools/perf/tests/
A Ddwarf-unwind.c111 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *thread) in test_dwarf_unwind__thread()
145 struct thread *thread = *(struct thread **)p1; in test_dwarf_unwind__compare() local
161 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_3(struct thread *thread) in test_dwarf_unwind__krava_3()
180 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_2(struct thread *thread) in test_dwarf_unwind__krava_2()
189 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_1(struct thread *thread) in test_dwarf_unwind__krava_1()
202 struct thread *thread; in test__dwarf_unwind() local
/linux/arch/powerpc/kernel/ptrace/
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/lib/perf/
A Devsel.c54 int cpu, thread; in perf_evsel__alloc_fd() local
83 static int get_group_fd(struct perf_evsel *evsel, int cpu, int thread, int *group_fd) in get_group_fd()
112 int cpu, thread, err = 0; in perf_evsel__open() local
170 int thread; in perf_evsel__close_fd_cpu() local
215 int cpu, thread; in perf_evsel__munmap() local
237 int ret, cpu, thread; in perf_evsel__mmap() local
271 void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu, int thread) in perf_evsel__mmap_base()
306 int perf_evsel__read(struct perf_evsel *evsel, int cpu, int thread, in perf_evsel__read()
331 int thread; in perf_evsel__run_ioctl() local
A Dthreadmap.c35 void perf_thread_map__set_pid(struct perf_thread_map *map, int thread, pid_t pid) in perf_thread_map__set_pid()
40 char *perf_thread_map__comm(struct perf_thread_map *map, int thread) in perf_thread_map__comm()
88 pid_t perf_thread_map__pid(struct perf_thread_map *map, int thread) in perf_thread_map__pid()
A Devlist.c227 int cpu, int thread, u64 id) in perf_evlist__id_hash()
248 int cpu, int thread, u64 id) in perf_evlist__id_add()
256 int cpu, int thread, int fd) in perf_evlist__id_add_fd()
376 static void perf_evsel__set_sid_idx(struct perf_evsel *evsel, int idx, int cpu, int thread) in perf_evsel__set_sid_idx()
427 int thread, int *_output, int *_output_overwrite) in mmap_per_evsel()
512 int thread; in mmap_per_thread() local
540 int cpu, thread; in mmap_per_cpu() local
/linux/tools/usb/
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/android/
A Dbinder.c520 struct binder_thread *thread; in binder_wakeup_poll_threads_ilocked() local
549 struct binder_thread *thread; in binder_select_thread_ilocked() local
579 struct binder_thread *thread, in binder_wakeup_thread_ilocked()
3187 struct binder_thread *thread, in binder_free_buf()
3221 struct binder_thread *thread, in binder_thread_write()
4312 struct binder_thread *thread; in binder_get_thread() local
4477 struct binder_thread *thread) in binder_ioctl_write_read()
4653 struct binder_thread *thread; in binder_txns_pending_ilocked() local
4748 struct binder_thread *thread; in binder_ioctl() local
5268 struct binder_thread *thread; in binder_deferred_release() local
[all …]
/linux/drivers/acpi/acpica/
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()
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/include/linux/iio/
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/x86/tests/
A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
53 struct thread *thread) in test__arch_unwind_sample()
/linux/tools/perf/arch/arm64/tests/
A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
46 struct thread *thread) in test__arch_unwind_sample()
/linux/tools/perf/arch/powerpc/tests/
A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
46 struct thread *thread) in test__arch_unwind_sample()
/linux/tools/perf/arch/arm/tests/
A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
46 struct thread *thread) in test__arch_unwind_sample()
/linux/tools/testing/selftests/kvm/
A Dhardware_disable_test.c68 static inline void check_create_thread(pthread_t *thread, pthread_attr_t *attr, in check_create_thread()
77 static inline void check_set_affinity(pthread_t thread, cpu_set_t *cpu_set) in check_set_affinity()
85 static inline void check_join(pthread_t thread, void **retval) in check_join()

Completed in 51 milliseconds

1234567891011