Searched refs:MAX_NR_CPUS (Results 1 – 18 of 18) sorted by relevance
| /linux/tools/perf/ |
| H A D | perf.h | 5 #define MAX_NR_CPUS 4096 macro
|
| H A D | builtin-kwork.c | 1572 for (i = 0; i < MAX_NR_CPUS; i++) { in top_print_per_cpu_load() 1595 u64 idle_time = stat->cpus_runtime[MAX_NR_CPUS].idle; in top_print_cpu_usage() 1596 u64 hardirq_time = stat->cpus_runtime[MAX_NR_CPUS].irq; in top_print_cpu_usage() 1597 u64 softirq_time = stat->cpus_runtime[MAX_NR_CPUS].softirq; in top_print_cpu_usage() 1598 int cpus_nr = bitmap_weight(stat->all_cpus_bitmap, MAX_NR_CPUS); in top_print_cpu_usage() 1599 u64 cpus_total_time = stat->cpus_runtime[MAX_NR_CPUS].total; in top_print_cpu_usage() 2011 BUG_ON(work->cpu >= MAX_NR_CPUS); in top_calc_total_runtime() 2013 stat->cpus_runtime[MAX_NR_CPUS].total += work->total_runtime; in top_calc_total_runtime() 2025 stat->cpus_runtime[MAX_NR_CPUS].idle += work->total_runtime; in top_calc_idle_time() 2037 stat->cpus_runtime[MAX_NR_CPUS].irq += work->total_runtime; in top_calc_irq_runtime() [all …]
|
| H A D | builtin-mem.c | 46 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
| H A D | builtin-annotate.c | 69 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
| H A D | builtin-report.c | 118 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
| H A D | builtin-diff.c | 104 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
| H A D | builtin-script.c | 90 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
| H A D | builtin-sched.c | 62 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
| /linux/samples/bpf/ |
| H A 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()
|
| H A D | map_perf_test.bpf.c | 15 #define MAX_NR_CPUS 1024 macro 50 __uint(max_entries, MAX_NR_CPUS);
|
| /linux/tools/lib/perf/ |
| H A D | cpumap.c | 16 #define MAX_NR_CPUS 4096 macro 206 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new() 207 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__new()
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | kwork_top.bpf.c | 21 #define MAX_NR_CPUS 4096 macro 82 __uint(max_entries, MAX_NR_CPUS);
|
| /linux/tools/perf/util/ |
| H A D | symbol_conf.h | 100 DECLARE_BITMAP(parallelism_filter, MAX_NR_CPUS + 1);
|
| H A D | util.c | 266 char cpus[MAX_NR_CPUS]; in cpumask_to_cpulist()
|
| H A D | symbol.c | 2377 bitmap_fill(symbol_conf.parallelism_filter, MAX_NR_CPUS + 1); in setup_parallelism_bitmap() 2379 if (cpu.cpu <= 0 || cpu.cpu > MAX_NR_CPUS) { in setup_parallelism_bitmap()
|
| H A D | header.c | 1635 char dname[DNAME_LEN], cpumask[MAX_NR_CPUS]; in build_cpu_domain_map() 1638 char cpulist[MAX_NR_CPUS]; in build_cpu_domain_map()
|
| H A D | session.c | 2771 int nr_cpus = min(perf_session__env(session)->nr_cpus_avail, MAX_NR_CPUS); in perf_session__cpu_bitmap()
|
| H A D | hist.c | 1556 if (__bitmap_weight(symbol_conf.parallelism_filter, MAX_NR_CPUS + 1) == 0) in hist_entry__check_and_remove_filter()
|