Home
last modified time | relevance | path

Searched refs:thread_data (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/tools/perf/
Dbuiltin-record.c180 struct record_thread *thread_data; member
231 struct record_thread *thread_data = rec->thread_data; in record__bytes_written() local
234 bytes_written += thread_data[t].bytes_written; in record__bytes_written()
945 static void record__thread_data_init_pipes(struct record_thread *thread_data) in record__thread_data_init_pipes() argument
947 thread_data->pipes.msg[0] = -1; in record__thread_data_init_pipes()
948 thread_data->pipes.msg[1] = -1; in record__thread_data_init_pipes()
949 thread_data->pipes.ack[0] = -1; in record__thread_data_init_pipes()
950 thread_data->pipes.ack[1] = -1; in record__thread_data_init_pipes()
953 static int record__thread_data_open_pipes(struct record_thread *thread_data) in record__thread_data_open_pipes() argument
955 if (pipe(thread_data->pipes.msg)) in record__thread_data_open_pipes()
[all …]
/linux-6.1.9/tools/perf/tests/
Dmmap-thread-lookup.c25 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()
/linux-6.1.9/tools/perf/bench/
Dfutex-wake-parallel.c40 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, pthread_attr_t thread_attr) in wakeup_threads()
177 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run()
218 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats()
242 struct thread_data *waking_worker; in bench_futex_wake_parallel()
Dsched-pipe.c30 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()
Dnuma.c56 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 …]
/linux-6.1.9/tools/testing/selftests/rseq/
Dparam_test.c385 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
386 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
389 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
392 reps = thread_data->reps; in test_percpu_spinlock_thread()
405 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
424 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
428 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
430 thread_data[i].reg = 1; in test_percpu_spinlock()
432 thread_data[i].reg = 0; in test_percpu_spinlock()
433 thread_data[i].data = &data; in test_percpu_spinlock()
[all …]
/linux-6.1.9/tools/testing/selftests/arm64/mte/
Dcheck_gcr_el1_cswitch.c72 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()
/linux-6.1.9/tools/power/x86/turbostat/
Dturbostat.c342 struct thread_data { struct
545 struct thread_data threads;
594 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument
595 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus()
603 struct thread_data *t; in for_all_cpus()
1016 int dump_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in dump_counters()
1099 int format_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_counters()
1431 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_all_counters()
1539 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) in delta_thread()
1623 int delta_cpu(struct thread_data *t, struct core_data *c, in delta_cpu()
[all …]
/linux-6.1.9/lib/
Dtest_rhashtable.c72 struct thread_data { struct
588 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test()
621 struct thread_data *tdata = data; in threadfunc()
688 struct thread_data *tdata; in test_rht_init()
748 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init()