Home
last modified time | relevance | path

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

12345

/linux-6.12.1/tools/perf/util/
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()
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
183 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_pid_str() local
245 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_tid_str() local
307 size_t thread_map__fprintf(struct perf_thread_map *threads, FILE *fp) in thread_map__fprintf()
363 void thread_map__read_comms(struct perf_thread_map *threads) in thread_map__read_comms()
371 static void thread_map__copy_event(struct perf_thread_map *threads, in thread_map__copy_event()
388 struct perf_thread_map *threads; in thread_map__new_event() local
397 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
[all …]
Dthreads.h20 struct threads { struct
21 struct threads_table_entry table[THREADS__TABLE_SIZE]; argument
Dpfm.c128 struct perf_thread_map *threads) in is_libpfm_event_supported()
194 struct perf_thread_map *threads = thread_map__new_by_tid(0); in print_libpfm_event() local
/linux-6.12.1/tools/lib/perf/tests/
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
Dtest-threadmap.c16 struct perf_thread_map *threads; in test_threadmap_array() local
48 struct perf_thread_map *threads; in test_threadmap() local
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
/linux-6.12.1/tools/perf/tests/
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
Dsigtrap.c189 static int run_test_threads(pthread_t *threads, pthread_barrier_t *barrier) in run_test_threads()
200 static int run_stress_test(int fd, pthread_t *threads, pthread_barrier_t *barrier) in run_stress_test()
238 pthread_t threads[NUM_THREADS]; in test__sigtrap() local
Dmmap-basic.c36 struct perf_thread_map *threads; in test__basic_mmap() local
175 struct perf_thread_map *threads; in test_stat_user_read() local
Devent-times.c62 struct perf_thread_map *threads; in attach__current_disabled() local
88 struct perf_thread_map *threads; in attach__current_enabled() local
Dopenat-syscall.c23 struct perf_thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__openat_syscall_event() local
/linux-6.12.1/tools/lib/perf/
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()
/linux-6.12.1/tools/testing/selftests/sync/
Dsync_stress_consumer.c56 int threads; member
160 pthread_t threads[n]; in test_consumer_stress_multi_producer_single_consumer() local
/linux-6.12.1/tools/perf/bench/
Dsynthesize.c62 struct perf_thread_map *threads, in do_run_single_threaded()
116 struct perf_thread_map *threads; in run_single_threaded() local
Dbreakpoint.c89 pthread_t *threads; in breakpoint_thread() local
203 pthread_t *threads; in bench_breakpoint_enable() local
/linux-6.12.1/tools/testing/selftests/kvm/
Dmax_guest_memory_test.c92 pthread_t *threads; in spawn_workers() local
169 pthread_t *threads; in main() local
/linux-6.12.1/tools/testing/radix-tree/
Diteration_check_2.c56 pthread_t threads[2]; in iteration_test2() local
/linux-6.12.1/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c90 int threads; in tm_vmx_unavail_test() local
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsend_signal_sched_switch.c32 pthread_t threads[THREAD_COUNT]; in serial_test_send_signal_sched_switch() local
/linux-6.12.1/tools/lib/perf/Documentation/examples/
Dcounting.c23 struct perf_thread_map *threads; in main() local
/linux-6.12.1/tools/testing/selftests/sched_ext/
Dreload_loop.c15 static pthread_t threads[2]; variable
/linux-6.12.1/tools/testing/selftests/dma/
Ddma_map_benchmark.c29 int threads = 1, seconds = 20, node = -1; in main() local
/linux-6.12.1/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c53 int i, rc, threads; in test_preempt_fpu() local
/linux-6.12.1/tools/power/cpupower/lib/
Dcpupower.h9 unsigned int threads; /* per core */ member

12345