Searched refs:thread_data (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/perf/ |
H A D | builtin-record.c | 180 struct record_thread *thread_data; member 971 static void record__thread_data_init_pipes(struct record_thread *thread_data) in record__thread_data_init_pipes() argument 973 thread_data->pipes.msg[0] = -1; in record__thread_data_init_pipes() 974 thread_data->pipes.msg[1] = -1; in record__thread_data_init_pipes() 975 thread_data->pipes.ack[0] = -1; in record__thread_data_init_pipes() 976 thread_data->pipes.ack[1] = -1; in record__thread_data_init_pipes() 979 static int record__thread_data_open_pipes(struct record_thread *thread_data) in record__thread_data_open_pipes() argument 981 if (pipe(thread_data->pipes.msg)) in record__thread_data_open_pipes() 984 if (pipe(thread_data->pipes.ack)) { in record__thread_data_open_pipes() 985 close(thread_data->pipes.msg[0]); in record__thread_data_open_pipes() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | mmap-thread-lookup.c | 25 struct thread_data { struct 32 static struct thread_data threads[THREADS]; argument 34 static int thread_init(struct thread_data *td) in thread_init() 56 struct thread_data *td = arg; in thread_fn() 81 struct thread_data *td = &threads[i]; in thread_create() 101 struct thread_data *td0 = &threads[0]; in threads_create() 118 struct thread_data *td0 = &threads[0]; in threads_destroy() 186 struct thread_data *td = &threads[i]; in mmap_events()
|
/openbmc/linux/tools/perf/bench/ |
H A D | futex-wake-parallel.c | 40 struct thread_data { struct 79 struct thread_data *waker = (struct thread_data *) arg; in waking_workerfn() 98 static void wakeup_threads(struct thread_data *td) in wakeup_threads() 183 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run() 224 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats() 247 struct thread_data *waking_worker; in bench_futex_wake_parallel()
|
H A D | sched-pipe.c | 30 struct thread_data { struct 56 struct thread_data *td = __tdata; in worker_thread() argument 79 struct thread_data threads[2], *td; in bench_sched_pipe()
|
H A D | numa.c | 56 struct thread_data { struct 151 struct thread_data *threads; 538 struct thread_data *td; in parse_setup_cpu_list() 686 struct thread_data *td; in parse_setup_node_list() 936 struct thread_data *td; in count_process_nodes() 975 struct thread_data *td; in count_node_processes() 1049 struct thread_data *td = g->threads + t; in calc_convergence() 1155 struct thread_data *td = __tdata; in worker_thread() 1168 u8 *thread_data; in worker_thread() local 1181 thread_data = setup_private_data(g->p.bytes_thread); in worker_thread() [all …]
|
/openbmc/linux/tools/testing/selftests/rseq/ |
H A D | param_test.c | 445 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local 446 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread() 449 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 452 reps = thread_data->reps; in test_percpu_spinlock_thread() 465 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 484 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local 488 thread_data[i].reps = opt_reps; in test_percpu_spinlock() 490 thread_data[i].reg = 1; in test_percpu_spinlock() 492 thread_data[i].reg = 0; in test_percpu_spinlock() 493 thread_data[i].data = &data; in test_percpu_spinlock() [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_gcr_el1_cswitch.c | 72 int 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()
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 344 struct thread_data { struct 547 struct thread_data threads; 597 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument 598 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus() 606 struct thread_data *t; in for_all_cpus() 1019 int dump_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in dump_counters() 1102 int format_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_counters() 1434 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_all_counters() 1542 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) in delta_thread() 1626 int delta_cpu(struct thread_data *t, struct core_data *c, in delta_cpu() [all …]
|
/openbmc/linux/lib/ |
H A D | test_rhashtable.c | 72 struct thread_data { struct 586 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test() 619 struct thread_data *tdata = data; in threadfunc() 686 struct thread_data *tdata; in test_rht_init() 746 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init()
|