Home
last modified time | relevance | path

Searched refs:thread_data (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-record.c180 struct record_thread *thread_data; member
940 static void record__thread_data_init_pipes(struct record_thread *thread_data) in record__thread_data_init_pipes() argument
942 thread_data->pipes.msg[0] = -1; in record__thread_data_init_pipes()
943 thread_data->pipes.msg[1] = -1; in record__thread_data_init_pipes()
944 thread_data->pipes.ack[0] = -1; in record__thread_data_init_pipes()
945 thread_data->pipes.ack[1] = -1; in record__thread_data_init_pipes()
948 static int record__thread_data_open_pipes(struct record_thread *thread_data) in record__thread_data_open_pipes() argument
950 if (pipe(thread_data->pipes.msg)) in record__thread_data_open_pipes()
953 if (pipe(thread_data->pipes.ack)) { in record__thread_data_open_pipes()
954 close(thread_data in record__thread_data_open_pipes()
968 record__thread_data_close_pipes(struct record_thread *thread_data) record__thread_data_close_pipes() argument
993 record__thread_data_init_maps(struct record_thread *thread_data, struct evlist *evlist) record__thread_data_init_maps() argument
1041 record__thread_data_init_pollfd(struct record_thread *thread_data, struct evlist *evlist) record__thread_data_init_pollfd() argument
1073 struct record_thread *thread_data = rec->thread_data; record__free_thread_data() local
1102 record__update_evlist_pollfd_from_thread(struct record *rec, struct evlist *evlist, struct record_thread *thread_data) record__update_evlist_pollfd_from_thread() argument
1126 record__dup_non_perf_events(struct record *rec, struct evlist *evlist, struct record_thread *thread_data) record__dup_non_perf_events() argument
1155 struct record_thread *thread_data; record__alloc_thread_data() local
2187 record__terminate_thread(struct record_thread *thread_data) record__terminate_thread() argument
2208 struct record_thread *thread_data = rec->thread_data; record__start_threads() local
2271 struct record_thread *thread_data = rec->thread_data; record__stop_threads() local
2298 struct record_thread *thread_data = rec->thread_data; record__waking() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dmmap-thread-lookup.c25 struct thread_data { struct
32 static struct thread_data threads[THREADS];
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()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dmmap-thread-lookup.c25 struct thread_data { struct
32 static struct thread_data threads[THREADS];
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()
/kernel/linux/linux-5.10/tools/perf/bench/
H A Dfutex-wake-parallel.c39 struct thread_data { struct
75 struct thread_data *waker = (struct thread_data *) arg; in waking_workerfn()
94 static void wakeup_threads(struct thread_data *td, pthread_attr_t thread_attr) in wakeup_threads()
162 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run()
203 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats()
227 struct thread_data *waking_worker; in bench_futex_wake_parallel()
H A Dsched-pipe.c30 struct thread_data { struct
56 struct thread_data *td = __tdata; in worker_thread()
79 struct thread_data threads[2], *td; in bench_sched_pipe()
H A Dnuma.c55 struct thread_data { struct
151 struct thread_data *threads;
510 struct thread_data *td; in parse_setup_cpu_list()
647 struct thread_data *td; in parse_setup_node_list()
896 struct thread_data *td; in count_process_nodes()
932 struct thread_data *td; in count_node_processes()
1004 struct thread_data *td = g->threads + t; in calc_convergence()
1106 struct thread_data *td = __tdata; in worker_thread()
1119 u8 *thread_data; in worker_thread() local
1132 thread_data in worker_thread()
[all...]
/kernel/linux/linux-6.6/tools/perf/bench/
H 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) 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 Dsched-pipe.c30 struct thread_data { struct
56 struct thread_data *td = __tdata; in worker_thread()
79 struct thread_data threads[2], *td; in bench_sched_pipe()
H 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
1181 thread_data in worker_thread()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/rseq/
H A Dparam_test.c362 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
363 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
366 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
369 reps = thread_data->reps; in test_percpu_spinlock_thread()
382 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
401 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
405 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
407 thread_data[i].reg = 1; in test_percpu_spinlock()
409 thread_data[i].reg = 0; in test_percpu_spinlock()
410 thread_data[ in test_percpu_spinlock()
439 struct inc_thread_test_data *thread_data = arg; test_percpu_inc_thread() local
477 struct inc_thread_test_data thread_data[num_threads]; test_percpu_inc() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/rseq/
H A Dparam_test.c445 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[ in test_percpu_spinlock()
522 struct inc_thread_test_data *thread_data = arg; test_percpu_inc_thread() local
561 struct inc_thread_test_data thread_data[num_threads]; test_percpu_inc() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/mte/
H 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()
/kernel/linux/linux-5.10/samples/bpf/
H A Dxsk_fwd.c639 struct thread_data { struct
664 struct thread_data *t = arg; in thread_func()
759 static struct thread_data thread_data[MAX_THREADS]; variable
816 thread_data[n_threads].cpu_core_id = atoi(optarg); in parse_args()
879 struct thread_data *t = &thread_data[thread_id]; in print_thread()
1022 struct thread_data *t = &thread_data[i]; in main()
1042 &thread_data[ in main()
[all...]
/kernel/liteos_a/compat/posix/src/
H A Dpprivate.h64 VOID **thread_data; /* Per-thread data table pointer */ member
H A Dpthread.c185 created->thread_data = NULL; in SetPthreadDataAttr()
/kernel/linux/linux-6.6/tools/power/x86/turbostat/
H A 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()
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 *ol
[all...]
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
H A Dturbostat.c168 struct thread_data { struct
385 struct thread_data threads;
433 int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus()
434 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus()
443 struct thread_data *t; in for_all_cpus()
917 int dump_counters(struct thread_data *t, struct core_data *c, in dump_counters()
1003 int format_counters(struct thread_data *t, struct core_data *c, in format_counters()
1310 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_all_counters()
1420 delta_thread(struct thread_data *new, struct thread_data *ol
[all...]
/kernel/linux/linux-5.10/lib/
H A Dtest_rhashtable.c72 struct thread_data { struct
601 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test()
634 struct thread_data *tdata = data; in threadfunc()
701 struct thread_data *tdata; in test_rht_init()
761 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init()
/kernel/linux/linux-6.6/lib/
H 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 28 milliseconds