Home
last modified time | relevance | path

Searched refs:MAX_NR_CPUS (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/tools/perf/
Dperf.h5 #ifndef MAX_NR_CPUS
6 #define MAX_NR_CPUS 2048 macro
Dbuiltin-kwork.c1570 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 …]
Dbuiltin-mem.c44 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-annotate.c68 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-report.c116 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-diff.c103 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-sched.c57 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dbuiltin-script.c87 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
/linux-6.12.1/tools/lib/perf/include/internal/
Dcpumap.h24 #ifndef MAX_NR_CPUS
25 #define MAX_NR_CPUS 2048 macro
/linux-6.12.1/tools/lib/perf/
Dcpumap.c179 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/
Dkwork.h194 DECLARE_BITMAP(all_cpus_bitmap, MAX_NR_CPUS);
215 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
Dsvghelper.c690 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()
Dsession.c2486 int nr_cpus = min(session->header.env.nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()
/linux-6.12.1/samples/bpf/
Dmap_perf_test_user.c23 #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()
Dmap_perf_test.bpf.c15 #define MAX_NR_CPUS 1024 macro
50 __uint(max_entries, MAX_NR_CPUS);
/linux-6.12.1/tools/perf/util/bpf_skel/
Dkwork_top.bpf.c21 #define MAX_NR_CPUS 2048 macro
82 __uint(max_entries, MAX_NR_CPUS);