Home
last modified time | relevance | path

Searched defs:threads (Results 1 – 25 of 86) sorted by relevance

1234

/tools/perf/util/
A Dthreads.c6 static struct threads_table_entry *threads__table(struct threads *threads, pid_t tid) in threads__table()
23 void threads__init(struct threads *threads) in threads__init()
34 void threads__exit(struct threads *threads) in threads__exit()
45 size_t threads__nr(struct threads *threads) in threads__nr()
92 struct thread *threads__find(struct threads *threads, pid_t tid) in threads__find()
109 struct thread *threads__findnew(struct threads *threads, pid_t pid, pid_t tid, bool *created) in threads__findnew()
135 void threads__remove_all_threads(struct threads *threads) in threads__remove_all_threads()
154 void threads__remove(struct threads *threads, struct thread *thread) in threads__remove()
168 int threads__for_each_thread(struct threads *threads, in threads__for_each_thread()
A Dthread_map.c36 struct perf_thread_map *threads; in thread_map__new_by_pid() local
64 struct perf_thread_map *threads = thread_map__alloc(1); in thread_map__new_by_tid() local
81 struct perf_thread_map *threads = thread_map__alloc(max_threads); in thread_map__new_all_cpus() local
161 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_pid_str() local
223 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_tid_str() local
281 size_t thread_map__fprintf(struct perf_thread_map *threads, FILE *fp) in thread_map__fprintf()
337 void thread_map__read_comms(struct perf_thread_map *threads) in thread_map__read_comms()
345 static void thread_map__copy_event(struct perf_thread_map *threads, in thread_map__copy_event()
362 struct perf_thread_map *threads; in thread_map__new_event() local
371 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
[all …]
A Dthreads.h20 struct threads { struct
21 struct threads_table_entry table[THREADS__TABLE_SIZE]; argument
A Dpfm.c124 struct perf_thread_map *threads) in is_libpfm_event_supported()
190 struct perf_thread_map *threads = thread_map__new_by_tid(0); in print_libpfm_event() local
A Dvalues.h11 int threads; member
/tools/lib/perf/tests/
A Dtest-evsel.c56 struct perf_thread_map *threads; in test_stat_thread() local
88 struct perf_thread_map *threads; in test_stat_thread_enable() local
130 struct perf_thread_map *threads; in test_stat_user_read() local
195 …tic int test_stat_read_format_single(struct perf_event_attr *attr, struct perf_thread_map *threads) in test_stat_read_format_single()
230 …atic int test_stat_read_format_group(struct perf_event_attr *attr, struct perf_thread_map *threads) in test_stat_read_format_group()
293 struct perf_thread_map *threads; in test_stat_read_format() local
A Dtest-threadmap.c16 struct perf_thread_map *threads; in test_threadmap_array() local
48 struct perf_thread_map *threads; in test_threadmap() local
A Dtest-evlist.c95 struct perf_thread_map *threads; in test_stat_thread() local
150 struct perf_thread_map *threads; in test_stat_thread_enable() local
219 struct perf_thread_map *threads; in test_mmap_thread() local
443 struct perf_thread_map *threads; in test_stat_multiplexing() local
/tools/lib/perf/
A Dthreadmap.c47 struct perf_thread_map *threads = thread_map__alloc(nr_threads); in perf_thread_map__new_array() local
67 static void perf_thread_map__delete(struct perf_thread_map *threads) in perf_thread_map__delete()
93 int perf_thread_map__nr(struct perf_thread_map *threads) in perf_thread_map__nr()
108 int perf_thread_map__idx(struct perf_thread_map *threads, pid_t pid) in perf_thread_map__idx()
/tools/perf/tests/
A Dthread-map.c69 struct perf_thread_map *threads; in process_event() local
92 struct perf_thread_map *threads; in test__thread_map_synthesize() local
112 struct perf_thread_map *threads; in test__thread_map_remove() local
A Dsigtrap.c175 static int run_test_threads(pthread_t *threads, pthread_barrier_t *barrier) in run_test_threads()
186 static int run_stress_test(int fd, pthread_t *threads, pthread_barrier_t *barrier) in run_stress_test()
224 pthread_t threads[NUM_THREADS]; in test__sigtrap() local
A Devent-times.c60 struct perf_thread_map *threads; in attach__current_disabled() local
86 struct perf_thread_map *threads; in attach__current_enabled() local
A Dopenat-syscall.c23 struct perf_thread_map *threads = thread_map__new_by_tid(getpid()); in test__openat_syscall_event() local
A Dmmap-basic.c39 struct perf_thread_map *threads; in test__basic_mmap() local
226 struct perf_thread_map *threads = perf_thread_map__new_dummy(); in test_stat_user_read() local
/tools/testing/selftests/sync/
A Dsync_stress_consumer.c56 int threads; member
160 pthread_t threads[n]; in test_consumer_stress_multi_producer_single_consumer() local
/tools/perf/bench/
A Dbreakpoint.c89 pthread_t *threads; in breakpoint_thread() local
203 pthread_t *threads; in bench_breakpoint_enable() local
A Dsynthesize.c62 struct perf_thread_map *threads, in do_run_single_threaded()
116 struct perf_thread_map *threads; in run_single_threaded() local
/tools/testing/radix-tree/
A Diteration_check_2.c56 pthread_t threads[2]; in iteration_test2() local
/tools/testing/selftests/powerpc/tm/
A Dtm-vmx-unavail.c90 int threads; in tm_vmx_unavail_test() local
/tools/testing/selftests/bpf/prog_tests/
A Dsend_signal_sched_switch.c32 pthread_t threads[THREAD_COUNT]; in serial_test_send_signal_sched_switch() local
/tools/lib/perf/Documentation/examples/
A Dcounting.c23 struct perf_thread_map *threads; in main() local
/tools/testing/selftests/sched_ext/
A Dreload_loop.c15 static pthread_t threads[2]; variable
/tools/testing/selftests/dma/
A Ddma_map_benchmark.c29 int threads = 1, seconds = 20, node = -1; in main() local
/tools/testing/selftests/kvm/
A Dmmu_stress_test.c210 pthread_t *threads; in spawn_workers() local
287 pthread_t *threads; in main() local
/tools/testing/selftests/powerpc/math/
A Dfpu_preempt.c53 int i, rc, threads; in test_preempt_fpu() local

Completed in 31 milliseconds

1234