| /linux/tools/perf/ |
| H A D | builtin-record.c | 188 struct record_thread *thread_data; 996 static void record__thread_data_init_pipes(struct record_thread *thread_data) in record__kcore_copy() 998 thread_data->pipes.msg[0] = -1; in record__kcore_copy() 999 thread_data->pipes.msg[1] = -1; in record__kcore_copy() 1000 thread_data->pipes.ack[0] = -1; in record__kcore_copy() 1001 thread_data->pipes.ack[1] = -1; in record__kcore_copy() 1004 static int record__thread_data_open_pipes(struct record_thread *thread_data) in record__kcore_copy() 1006 if (pipe(thread_data->pipes.msg)) in record__thread_data_init_pipes() argument 1009 if (pipe(thread_data->pipes.ack)) { in record__thread_data_init_pipes() 1010 close(thread_data in record__thread_data_init_pipes() 186 struct record_thread *thread_data; global() member 1014 record__thread_data_open_pipes(struct record_thread * thread_data) record__thread_data_open_pipes() argument 1034 record__thread_data_close_pipes(struct record_thread * thread_data) record__thread_data_close_pipes() argument 1059 record__thread_data_init_maps(struct record_thread * thread_data,struct evlist * evlist) record__thread_data_init_maps() argument 1107 record__thread_data_init_pollfd(struct record_thread * thread_data,struct evlist * evlist) record__thread_data_init_pollfd() argument 1139 struct record_thread *thread_data = rec->thread_data; record__free_thread_data() local 1170 record__update_evlist_pollfd_from_thread(struct record * rec,struct evlist * evlist,struct record_thread * thread_data) record__update_evlist_pollfd_from_thread() argument 1194 record__dup_non_perf_events(struct record * rec,struct evlist * evlist,struct record_thread * thread_data) record__dup_non_perf_events() argument 1221 struct record_thread *thread_data; record__alloc_thread_data() local 2306 record__terminate_thread(struct record_thread * thread_data) record__terminate_thread() argument 2327 struct record_thread *thread_data = rec->thread_data; record__start_threads() local 2390 struct record_thread *thread_data = rec->thread_data; record__stop_threads() local 2417 struct record_thread *thread_data = rec->thread_data; record__waking() local [all...] |
| /linux/tools/perf/tests/ |
| H A D | mmap-thread-lookup.c | 26 struct thread_data { struct 33 static struct thread_data threads[THREADS]; argument 35 static int thread_init(struct thread_data *td) in thread_init() 57 struct thread_data *td = arg; in thread_fn() 82 struct thread_data *td = &threads[i]; in thread_create() 102 struct thread_data *td0 = &threads[0]; in threads_create() 119 struct thread_data *td0 = &threads[0]; in threads_destroy() 189 struct thread_data *td = &threads[i]; in mmap_events()
|
| /linux/tools/testing/selftests/rseq/ |
| H A D | param_test.c | 482 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local 483 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread() 486 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 489 reps = thread_data->reps; in test_percpu_spinlock_thread() 502 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 521 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local 525 thread_data[i].reps = opt_reps; in test_percpu_spinlock() 527 thread_data[i].reg = 1; in test_percpu_spinlock() 529 thread_data[i].reg = 0; in test_percpu_spinlock() 530 thread_data[i].data = &data; in test_percpu_spinlock() [all …]
|
| /linux/tools/perf/bench/ |
| H A D | futex-wake-parallel.c | 40 struct thread_data { struct 82 struct thread_data *waker = (struct thread_data *) arg; in waking_workerfn() 101 static void wakeup_threads(struct thread_data *td) in wakeup_threads() 186 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run() 228 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats() 251 struct thread_data *waking_worker; in bench_futex_wake_parallel()
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_gcr_el1_cswitch.c | 72 intptr_t thread_data[MAX_THREADS]; in execute_test() local 79 pthread_join(thread_id[i], (void *)&thread_data[i]); in execute_test() 82 if (thread_data[i] == KSFT_FAIL) in execute_test()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | thread-utils.h | 16 int __must_check vdo_create_thread(void (*thread_function)(void *), void *thread_data,
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | audit_test.c | 163 struct thread_data { 171 const struct thread_data *data = (struct thread_data *)arg; in thread_audit_test() 232 struct thread_data child_data; in TEST_F() 377 const struct thread_data *data = (struct thread_data *)arg; in TEST_F() 455 struct thread_data child_data = {}; in matches_log_fs_read_root() 538 struct thread_data child_data = {}; in FIXTURE_TEARDOWN() 162 struct thread_data { global() struct 169 pipe_parentthread_data thread_audit_test() argument
|
| /linux/lib/ |
| H A D | test_rhashtable.c | 73 struct thread_data { struct 587 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test() 620 struct thread_data *tdata = data; in threadfunc() 759 struct thread_data *tdata; in test_rht_init() 822 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init()
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 2147 struct thread_data { 2405 struct thread_data *threads; 2486 #define PER_THREAD_PARAMS struct thread_data *t, struct core_data *c, struct pkg_data *p in for_all_cpus() 2504 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *), struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus() 2511 struct thread_data *t; in for_all_cpus() 2552 int is_cpu_first_thread_in_core(struct thread_data *t, struct core_data *c) 2557 int is_cpu_first_core_in_package(struct thread_data *t, struct pkg_data *p) in get_msr_fd() 2562 int is_cpu_first_thread_in_package(struct thread_data *t, struct core_data *c, struct pkg_data *p) in get_msr_fd() 3984 int delta_thread(struct thread_data *ne in delta_thread() 2122 struct thread_data { global() struct 2123 tv_beginthread_data global() argument 2124 tv_endthread_data global() argument 2125 tv_deltathread_data global() argument 2126 tscthread_data global() argument 2127 aperfthread_data global() argument 2128 mperfthread_data global() argument 2129 c1thread_data global() argument 2130 instr_countthread_data global() argument 2131 irq_countthread_data global() argument 2132 nmi_countthread_data global() argument 2133 smi_countthread_data global() argument 2134 llcthread_data global() argument 2135 l2thread_data global() argument 2136 cpu_idthread_data global() argument 2137 apic_idthread_data global() argument 2138 x2apic_idthread_data global() argument 2139 flagsthread_data global() argument 2140 is_atomthread_data global() argument 2141 counterthread_data global() argument 2142 perf_counterthread_data global() argument 2143 pmt_counterthread_data global() argument 2479 for_all_cpus(int (func)(struct thread_data *,struct core_data *,struct pkg_data *),struct thread_data * thread_base,struct core_data * core_base,struct pkg_data * pkg_base) for_all_cpus() argument 6232 for_all_cpus_2(int (func)(struct thread_data *,struct core_data *,struct pkg_data *,struct thread_data *,struct core_data *,struct pkg_data *),struct thread_data * thread_base,struct core_data * core_base,struct pkg_data * pkg_base,struct thread_data * thread_base2,struct core_data * core_base2,struct pkg_data * pkg_base2) for_all_cpus_2() argument [all...] |