Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/
A Dbuiltin-record.c963 thread_data->pipes.msg[0], thread_data->pipes.msg[1], in record__thread_data_open_pipes()
964 thread_data->pipes.ack[0], thread_data->pipes.ack[1]); in record__thread_data_open_pipes()
1020 thread_data->nr_mmaps, thread_data->maps, thread_data->overwrite_maps); in record__thread_data_init_maps()
1050 map = thread_data->maps ? thread_data->maps[tm] : NULL; in record__thread_data_init_pollfd()
1074 struct record_thread *thread_data = rec->thread_data; in record__free_thread_data() local
1163 thread_data = rec->thread_data; in record__alloc_thread_data()
1196 thread_data, thread_data[t].ctlfd_pos, in record__alloc_thread_data()
2226 struct record_thread *thread_data = rec->thread_data; in record__start_threads() local
2289 struct record_thread *thread_data = rec->thread_data; in record__stop_threads() local
2301 thread_data[t].samples, thread_data[t].waking); in record__stop_threads()
[all …]
/linux-6.3-rc2/tools/perf/tests/
A 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.3-rc2/tools/perf/bench/
A 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()
A 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()
A 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
1353 struct thread_data *td; in worker_process()
[all …]
/linux-6.3-rc2/tools/testing/selftests/rseq/
A Dparam_test.c452 reps = thread_data->reps; in test_percpu_spinlock_thread()
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()
496 &thread_data[i]); in test_percpu_spinlock()
529 reps = thread_data->reps; in test_percpu_inc_thread()
567 thread_data[i].reg = 1; in test_percpu_inc()
569 thread_data[i].reg = 0; in test_percpu_inc()
570 thread_data[i].data = &data; in test_percpu_inc()
[all …]
/linux-6.3-rc2/tools/testing/selftests/arm64/mte/
A 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.3-rc2/tools/power/x86/turbostat/
A Dturbostat.c342 struct thread_data { struct
545 struct thread_data threads;
603 struct thread_data *t; in for_all_cpus()
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()
2002 void get_apic_id(struct thread_data *t) in get_apic_id()
2984 struct pkg_data *, struct thread_data *, struct core_data *, in for_all_cpus_2()
2985 struct pkg_data *), struct thread_data *thread_base, in for_all_cpus_2()
2995 struct thread_data *t, *t2; in for_all_cpus_2()
6001 *t = calloc(num_threads, sizeof(struct thread_data)); in allocate_counters()
[all …]
/linux-6.3-rc2/lib/
A Dtest_rhashtable.c72 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()

Completed in 36 milliseconds