The nr_cpus variable is defined in scx_cpu0.bpf.c but never used in
the BPF logic. Remove both in BPF and userspace side.
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
char _license[] SEC("license") = "GPL";
-const volatile u32 nr_cpus = 32; /* !0 for veristat, set during init */
-
UEI_DEFINE(uei);
/*
optind = 1;
skel = SCX_OPS_OPEN(cpu0_ops, scx_cpu0);
- skel->rodata->nr_cpus = libbpf_num_possible_cpus();
-
while ((opt = getopt(argc, argv, "vh")) != -1) {
switch (opt) {
case 'v':