Searched refs:MAX_NR_CPUS (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/tools/perf/ |
D | perf.h | 5 #ifndef MAX_NR_CPUS 6 #define MAX_NR_CPUS 2048 macro
|
D | builtin-kwork.c | 1570 for (i = 0; i < MAX_NR_CPUS; i++) { in top_print_per_cpu_load() 1593 u64 idle_time = stat->cpus_runtime[MAX_NR_CPUS].idle; in top_print_cpu_usage() 1594 u64 hardirq_time = stat->cpus_runtime[MAX_NR_CPUS].irq; in top_print_cpu_usage() 1595 u64 softirq_time = stat->cpus_runtime[MAX_NR_CPUS].softirq; in top_print_cpu_usage() 1596 int cpus_nr = bitmap_weight(stat->all_cpus_bitmap, MAX_NR_CPUS); in top_print_cpu_usage() 1597 u64 cpus_total_time = stat->cpus_runtime[MAX_NR_CPUS].total; in top_print_cpu_usage() 2009 BUG_ON(work->cpu >= MAX_NR_CPUS); in top_calc_total_runtime() 2011 stat->cpus_runtime[MAX_NR_CPUS].total += work->total_runtime; in top_calc_total_runtime() 2023 stat->cpus_runtime[MAX_NR_CPUS].idle += work->total_runtime; in top_calc_idle_time() 2035 stat->cpus_runtime[MAX_NR_CPUS].irq += work->total_runtime; in top_calc_irq_runtime() [all …]
|
D | builtin-mem.c | 44 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-annotate.c | 68 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-report.c | 116 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-diff.c | 103 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-sched.c | 57 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | builtin-script.c | 87 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
/linux-6.12.1/tools/lib/perf/include/internal/ |
D | cpumap.h | 24 #ifndef MAX_NR_CPUS 25 #define MAX_NR_CPUS 2048 macro
|
/linux-6.12.1/tools/lib/perf/ |
D | cpumap.c | 179 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read() 180 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__read() 183 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read() 194 max_entries += MAX_NR_CPUS; in perf_cpu_map__read() 258 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new() 259 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__new() 268 max_entries += MAX_NR_CPUS; in perf_cpu_map__new()
|
/linux-6.12.1/tools/perf/util/ |
D | kwork.h | 194 DECLARE_BITMAP(all_cpus_bitmap, MAX_NR_CPUS); 215 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
D | svghelper.c | 690 typedef struct { DECLARE_BITMAP(bits, MAX_NR_CPUS); } cpumask_t; 757 nr_cpus = min(env->nr_cpus_online, MAX_NR_CPUS); in svg_build_topology_map()
|
D | session.c | 2486 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()
|
/linux-6.12.1/samples/bpf/ |
D | map_perf_test_user.c | 23 #define MAX_NR_CPUS 1024 macro 122 static int inner_lru_map_fds[MAX_NR_CPUS]; in do_test_lru() 140 assert(cpu < MAX_NR_CPUS); in do_test_lru()
|
D | map_perf_test.bpf.c | 15 #define MAX_NR_CPUS 1024 macro 50 __uint(max_entries, MAX_NR_CPUS);
|
/linux-6.12.1/tools/perf/util/bpf_skel/ |
D | kwork_top.bpf.c | 21 #define MAX_NR_CPUS 2048 macro 82 __uint(max_entries, MAX_NR_CPUS);
|