Skip to content

Commit 54f1bf7

Browse files
authored
Merge pull request #2883 from devnexen/fix_wd40
scx_wd40: update error message if a cpu has no topology set.
2 parents 9d87bfa + 53b9738 commit 54f1bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheds/rust/scx_wd40/src/bpf/main.bpf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static inline u32 cpu_to_dom_id(u32 cpu)
123123

124124
topo = (topo_ptr)topo_nodes[TOPO_CPU][cpu];
125125
if (!topo) {
126-
scx_bpf_error("cpu is offline");
126+
scx_bpf_error("cpu %u has no topology node set", cpu);
127127
return MAX_DOMS;
128128
}
129129

0 commit comments

Comments
 (0)