Searched refs:thread_data (Results 1 – 9 of 9) sorted by relevance
| /tools/perf/tests/ |
| 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()
|
| /tools/perf/ |
| A D | builtin-record.c | 1065 thread_data->pipes.msg[0], thread_data->pipes.msg[1], in record__thread_data_open_pipes() 1066 thread_data->pipes.ack[0], thread_data->pipes.ack[1]); in record__thread_data_open_pipes() 1122 thread_data->nr_mmaps, thread_data->maps, thread_data->overwrite_maps); in record__thread_data_init_maps() 1152 map = thread_data->maps ? thread_data->maps[tm] : NULL; in record__thread_data_init_pollfd() 1176 struct record_thread *thread_data = rec->thread_data; in record__free_thread_data() local 1265 thread_data = rec->thread_data; in record__alloc_thread_data() 1298 thread_data, thread_data[t].ctlfd_pos, in record__alloc_thread_data() 2293 struct record_thread *thread_data = rec->thread_data; in record__start_threads() local 2356 struct record_thread *thread_data = rec->thread_data; in record__stop_threads() local 2368 thread_data[t].samples, thread_data[t].waking); in record__stop_threads() [all …]
|
| /tools/testing/selftests/arm64/mte/ |
| 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()
|
| /tools/perf/bench/ |
| 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()
|
| A D | sched-pipe.c | 34 struct thread_data { struct 173 static inline int read_pipe(struct thread_data *td) in read_pipe() 190 struct thread_data *td = __tdata; in worker_thread() 218 struct thread_data threads[2] = {}; in bench_sched_pipe() 219 struct thread_data *td; in bench_sched_pipe()
|
| A D | numa.c | 58 struct thread_data { struct 153 struct thread_data *threads; 591 struct thread_data *td; in parse_setup_cpu_list() 739 struct thread_data *td; in parse_setup_node_list() 989 struct thread_data *td; in count_process_nodes() 1028 struct thread_data *td; in count_node_processes() 1102 struct thread_data *td = g->threads + t; in calc_convergence() 1208 struct thread_data *td = __tdata; in worker_thread() 1221 u8 *thread_data; in worker_thread() local 1406 struct thread_data *td; in worker_process() [all …]
|
| /tools/testing/selftests/rseq/ |
| A D | param_test.c | 486 reps = thread_data->reps; in test_percpu_spinlock_thread() 522 thread_data[i].reps = opt_reps; in test_percpu_spinlock() 524 thread_data[i].reg = 1; in test_percpu_spinlock() 526 thread_data[i].reg = 0; in test_percpu_spinlock() 527 thread_data[i].data = &data; in test_percpu_spinlock() 530 &thread_data[i]); in test_percpu_spinlock() 563 reps = thread_data->reps; in test_percpu_inc_thread() 601 thread_data[i].reg = 1; in test_percpu_inc() 603 thread_data[i].reg = 0; in test_percpu_inc() 604 thread_data[i].data = &data; in test_percpu_inc() [all …]
|
| /tools/testing/selftests/landlock/ |
| A D | audit_test.c | 162 struct thread_data { struct 169 const struct thread_data *data = (struct thread_data *)arg; in thread_audit_test() argument 230 struct thread_data child_data; in TEST_F()
|
| /tools/power/x86/turbostat/ |
| A D | turbostat.c | 1994 struct thread_data { struct 2266 struct thread_data threads; 2347 struct thread_data *t; in for_all_cpus() 3837 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) in delta_thread() 3942 int delta_cpu(struct thread_data *t, struct core_data *c, in delta_cpu() 4458 void get_apic_id(struct thread_data *t) in get_apic_id() 4946 int get_smi_aperf_mperf(unsigned int cpu, struct thread_data *t) in get_smi_aperf_mperf() 6108 struct pkg_data *), struct thread_data *thread_base, in for_all_cpus_2() 6120 struct thread_data *t, *t2; in for_all_cpus_2() 9299 *t = calloc(num_threads, sizeof(struct thread_data)); in allocate_counters() [all …]
|
Completed in 45 milliseconds