Home
last modified time | relevance | path

Searched refs:MAX_CPUS (Results 1 – 6 of 6) sorted by relevance

/tools/virtio/virtio-trace/
Dtrace-agent.h6 #define MAX_CPUS 256 macro
22 struct rw_thread_info *rw_ti[MAX_CPUS];
Dtrace-agent.c38 } else if (nr_cpus > MAX_CPUS) { in get_total_cpus()
39 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus()
223 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop()
/tools/testing/selftests/mqueue/
Dmq_perf_tests.c75 #define MAX_CPUS 64 macro
77 int cpus_to_pin[MAX_CPUS];
79 pthread_t cpu_threads[MAX_CPUS];
552 cpus_online = min(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()
582 } while (next_option && num_cpus_to_pin < MAX_CPUS); in main()
/tools/perf/
Dbuiltin-sched.c29 #define MAX_CPUS 4096 macro
140 u32 curr_pid[MAX_CPUS];
141 struct thread *curr_thread[MAX_CPUS];
171 u64 cpu_last_switched[MAX_CPUS];
733 if (cpu >= MAX_CPUS || cpu < 0) in replay_switch_event()
968 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()
1039 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()
1352 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
Dbuiltin-timechart.c304 #define MAX_CPUS 4096 macro
306 static u64 cpus_cstate_start_times[MAX_CPUS];
307 static int cpus_cstate_state[MAX_CPUS];
308 static u64 cpus_pstate_start_times[MAX_CPUS];
309 static u64 cpus_pstate_state[MAX_CPUS];
/tools/perf/util/
Ddata-convert-bt.c42 #define MAX_CPUS 4096 macro
870 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()