mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-21 18:41:47 +00:00
Merge pull request #922 from hodgesds/layered-cost-dump-fixes
scx_layered: Fix dump format
This commit is contained in:
commit
72f21dba06
@ -2286,12 +2286,12 @@ int dump_cost(void)
|
||||
|
||||
// Per CPU costs
|
||||
bpf_for(i, 0, nr_possible_cpus) {
|
||||
if (!(costc = lookup_cpu_cost(j))) {
|
||||
if (!(costc = lookup_cpu_cost(i))) {
|
||||
scx_bpf_error("unabled to lookup layer %d", i);
|
||||
continue;
|
||||
}
|
||||
bpf_for(j, 0, nr_layers) {
|
||||
layer = lookup_layer(i);
|
||||
layer = lookup_layer(j);
|
||||
if (!layer) {
|
||||
scx_bpf_error("unabled to lookup layer %d", i);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user