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 | 473 ((unsigned int)cpu >= MAX_NR_CPUS || !test_bit(cpu, kwork->cpu_bitmap))) in work_push_atom() 1610 for (i = 0; i < MAX_NR_CPUS; i++) { in top_print_cpu_usage() 1633 u64 idle_time = stat->cpus_runtime[MAX_NR_CPUS].idle; in top_print_header() 1634 u64 hardirq_time = stat->cpus_runtime[MAX_NR_CPUS].irq; in top_print_header() 1635 u64 softirq_time = stat->cpus_runtime[MAX_NR_CPUS].softirq; in top_print_header() 1636 int cpus_nr = bitmap_weight(stat->all_cpus_bitmap, MAX_NR_CPUS); in top_print_header() 1637 u64 cpus_total_time = stat->cpus_runtime[MAX_NR_CPUS].total; in top_print_header() 2051 * unsigned it exceeds MAX_NR_CPUS — skip to avoid OOB in top_subtract_irq_runtime() 2055 if ((unsigned int)work->cpu >= MAX_NR_CPUS) { in top_subtract_irq_runtime() 2061 stat->cpus_runtime[MAX_NR_CPUS] in top_subtract_irq_runtime() [all...] |
| H A D | builtin-mem.c | 46 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS);
|
| H A D | builtin-annotate.c | 68 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS); 298 if (ann->cpu_list && (sample->cpu >= MAX_NR_CPUS || in process_sample_event()
|
| H A D | builtin-report.c | 120 DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS); 301 if (rep->cpu_list && (sample->cpu >= MAX_NR_CPUS || in process_sample_event()
|
| H A D | builtin-diff.c | 104 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS); 419 if (cpu_list && (sample->cpu >= MAX_NR_CPUS || in diff__process_sample_event()
|
| H A D | builtin-script.c | 94 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS); 2651 if (cpu_list && sample->cpu != (u32)-1 && sample->cpu < MAX_NR_CPUS) in process_sample_event()
|
| H A D | builtin-sched.c | 126 static DECLARE_BITMAP(cpu_bitmap, MAX_NR_CPUS); 2445 if (cpu_list && (sample->cpu >= MAX_NR_CPUS || in free_idle_threads() 3139 if (!cpu_list || (sample->cpu < MAX_NR_CPUS && in timehist_print_summary()
|
| /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 203 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new() 204 "Consider raising MAX_NR_CPUS\n", MAX_NR_CPUS); in perf_cpu_map__new()
|
| /linux/tools/perf/util/ |
| H A D | symbol_conf.h | 112 DECLARE_BITMAP(parallelism_filter, MAX_NR_CPUS + 1);
|
| H A D | util.c | 264 char cpus[MAX_NR_CPUS]; in cpumask_to_cpulist()
|
| H A D | symbol.c | 2515 bitmap_fill(symbol_conf.parallelism_filter, MAX_NR_CPUS + 1); in setup_parallelism_bitmap() 2517 if (cpu.cpu <= 0 || cpu.cpu > MAX_NR_CPUS) { in setup_parallelism_bitmap()
|
| H A D | header.c | 1742 char dname[DNAME_LEN], cpumask[MAX_NR_CPUS]; in write_cpu_domain_info() 1745 char cpulist[MAX_NR_CPUS]; in write_cpu_domain_info() 5289 * arrays (timechart, kwork, sched — all sized MAX_NR_CPUS). 5294 * MAX_NR_CPUS so the bounds check is still effective — any 5298 header->env.nr_cpus_avail = MAX_NR_CPUS; 5299 pr_warning("WARNING: perf.data is missing HEADER_NRCPUS, using MAX_NR_CPUS (%d) as CPU bound\n", 5300 MAX_NR_CPUS);
|
| H A D | hist.c | 1559 if (__bitmap_weight(symbol_conf.parallelism_filter, MAX_NR_CPUS + 1) == 0) in hist_entry__check_and_remove_filter()
|
| H A D | session.c | 2190 * For perf.data files the MAX_NR_CPUS fallback in in prefetch_event() 2194 * back to MAX_NR_CPUS so the bounds check still works 2199 * legitimately 0. Writing MAX_NR_CPUS would cause in fetch_mmaped_event() 2205 nr_cpus_avail = MAX_NR_CPUS; in fetch_decomp_event() 2207 * Cap at MAX_NR_CPUS for the bounds check — downstream in __perf_session__process_decomp_events() 2212 if (nr_cpus_avail > MAX_NR_CPUS) in __perf_session__process_decomp_events() 2213 nr_cpus_avail = MAX_NR_CPUS; in __perf_session__process_decomp_events() 3884 int nr_cpus = min(perf_session__env(session)->nr_cpus_avail, MAX_NR_CPUS); 3910 "Consider raising MAX_NR_CPUS\n", cpu.cpu);
|
| /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);
|