| /tools/perf/util/ | 
| D | threads.c | 6 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()
  | 
| D | thread_map.c | 36 	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 …] 
 | 
| D | threads.h | 20 struct threads {  struct 21 	struct threads_table_entry table[THREADS__TABLE_SIZE];  argument
  | 
| D | pfm.c | 128 				      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
  | 
| /tools/lib/perf/tests/ | 
| D | test-evsel.c | 56 	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
  | 
| D | test-threadmap.c | 16 	struct perf_thread_map *threads;  in test_threadmap_array()  local 48 	struct perf_thread_map *threads;  in test_threadmap()  local
  | 
| D | test-evlist.c | 95 	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/perf/tests/ | 
| D | thread-map.c | 69 	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
  | 
| D | sigtrap.c | 189 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
  | 
| D | mmap-basic.c | 36 	struct perf_thread_map *threads;  in test__basic_mmap()  local 175 	struct perf_thread_map *threads;  in test_stat_user_read()  local
  | 
| D | event-times.c | 62 	struct perf_thread_map *threads;  in attach__current_disabled()  local 88 	struct perf_thread_map *threads;  in attach__current_enabled()  local
  | 
| D | openat-syscall.c | 23 	struct perf_thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX);  in test__openat_syscall_event()  local
  | 
| /tools/lib/perf/ | 
| D | threadmap.c | 47 	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()
  | 
| /tools/testing/selftests/sync/ | 
| D | sync_stress_consumer.c | 56 	int threads;  member 160 	pthread_t threads[n];  in test_consumer_stress_multi_producer_single_consumer()  local
  | 
| /tools/perf/bench/ | 
| D | synthesize.c | 62 				struct perf_thread_map *threads,  in do_run_single_threaded() 116 	struct perf_thread_map *threads;  in run_single_threaded()  local
  | 
| D | breakpoint.c | 89 	pthread_t *threads;  in breakpoint_thread()  local 203 	pthread_t *threads;  in bench_breakpoint_enable()  local
  | 
| /tools/testing/selftests/kvm/ | 
| D | max_guest_memory_test.c | 92 	pthread_t *threads;  in spawn_workers()  local 169 	pthread_t *threads;  in main()  local
  | 
| /tools/testing/radix-tree/ | 
| D | iteration_check_2.c | 56 	pthread_t threads[2];  in iteration_test2()  local
  | 
| /tools/testing/selftests/bpf/prog_tests/ | 
| D | send_signal_sched_switch.c | 32 	pthread_t threads[THREAD_COUNT];  in serial_test_send_signal_sched_switch()  local
  | 
| /tools/testing/selftests/powerpc/tm/ | 
| D | tm-vmx-unavail.c | 90 	int threads;  in tm_vmx_unavail_test()  local
  | 
| /tools/lib/perf/Documentation/examples/ | 
| D | counting.c | 23 	struct perf_thread_map *threads;  in main()  local
  | 
| /tools/testing/selftests/dma/ | 
| D | dma_map_benchmark.c | 29 	int threads = 1, seconds = 20, node = -1;  in main()  local
  | 
| /tools/testing/selftests/sched_ext/ | 
| D | reload_loop.c | 15 static pthread_t threads[2];  variable
  | 
| /tools/testing/selftests/powerpc/math/ | 
| D | fpu_preempt.c | 53 	int i, rc, threads;  in test_preempt_fpu()  local
  | 
| /tools/power/cpupower/lib/ | 
| D | cpupower.h | 9 	unsigned int threads; /* per core */  member
  |