Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/tests/
Dmmap-thread-lookup.c19 struct thread_data { struct
26 static struct thread_data threads[THREADS]; argument
28 static int thread_init(struct thread_data *td) in thread_init()
50 struct thread_data *td = arg; in thread_fn()
75 struct thread_data *td = &threads[i]; in thread_create()
95 struct thread_data *td0 = &threads[0]; in threads_create()
112 struct thread_data *td0 = &threads[0]; in threads_destroy()
182 struct thread_data *td = &threads[i]; in mmap_events()
/linux-4.1.27/kernel/locking/
Drtmutex-tester.c35 static struct test_thread_data thread_data[MAX_RT_TEST_THREADS]; variable
152 td = &thread_data[tid]; in schedule_rt_mutex_test()
380 thread_data[id].dev.bus = &rttest_subsys; in init_test_thread()
381 thread_data[id].dev.id = id; in init_test_thread()
383 threads[id] = kthread_run(test_func, &thread_data[id], "rt-test-%d", id); in init_test_thread()
387 return device_register(&thread_data[id].dev); in init_test_thread()
407 ret = device_create_file(&thread_data[i].dev, &dev_attr_status); in init_rttest()
410 ret = device_create_file(&thread_data[i].dev, &dev_attr_command); in init_rttest()
/linux-4.1.27/tools/perf/bench/
Dsched-pipe.c31 struct thread_data { struct
57 struct thread_data *td = __tdata; in worker_thread() argument
80 struct thread_data threads[2], *td; in bench_sched_pipe()
Dnuma.c43 struct thread_data { struct
135 struct thread_data *threads;
434 struct thread_data *td; in parse_setup_cpu_list()
571 struct thread_data *td; in parse_setup_node_list()
823 struct thread_data *td; in count_process_nodes()
859 struct thread_data *td; in count_node_processes()
931 struct thread_data *td = g->threads + t; in calc_convergence()
1028 struct thread_data *td = __tdata; in worker_thread()
1041 u8 *thread_data; in worker_thread() local
1053 thread_data = setup_private_data(g->p.bytes_thread); in worker_thread()
[all …]
/linux-4.1.27/tools/power/x86/turbostat/
Dturbostat.c134 struct thread_data { struct
193 struct thread_data threads;
221 int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument
222 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus()
230 struct thread_data *t; in for_all_cpus()
387 int dump_counters(struct thread_data *t, struct core_data *c, in dump_counters()
456 int format_counters(struct thread_data *t, struct core_data *c, in format_counters()
650 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_all_counters()
719 delta_thread(struct thread_data *new, struct thread_data *old, in delta_thread()
795 int delta_cpu(struct thread_data *t, struct core_data *c, in delta_cpu()
[all …]