summaryrefslogtreecommitdiff
path: root/rust/helpers/cpu.c
diff options
context:
space:
mode:
authorFushuai Wang <wangfushuai@baidu.com>2025-08-11 14:41:58 +0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-09-23 09:34:57 -0400
commit1d67d67a8c88db99ebf5b1323c238929c5fa8483 (patch)
tree3f8fbd4924c37ea094faf3cf2255ca72dada1d37 /rust/helpers/cpu.c
parent09da59344a5a2abb5b2f209cf149421d7d105ebc (diff)
tracing/osnoise: Use for_each_online_cpu() instead of for_each_cpu()
Replace the opencoded for_each_cpu(cpu, cpu_online_mask) loop with the more readable and equivalent for_each_online_cpu(cpu) macro. Link: https://lore.kernel.org/20250811064158.2456-1-wangfushuai@baidu.com Signed-off-by: Fushuai Wang <wangfushuai@baidu.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions