Thread (14 messages) 14 messages, 3 authors, 2012-08-23

Re: [PATCH 2/5] trace-cmd: Use tracing directory to count CPUs

flat view

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2012-08-22 13:41:38
Also in: lkml, qemu-devel

On Wed, 2012-08-22 at 17:43 +0900, Yoshihiro YUNOMAE wrote:
From: Masami Hiramatsu <redacted>

Count debugfs/tracing/per_cpu/cpu* to determine the
number of CPUs.
I'm curious, do you find that sysconf doesn't return the # of CPUs the
system has? I've had boxes where the per_cpu/cpu* had more cpus than the
box actually holds. But this was a bug in the kernel, not the tool. This
change log needs to have rational instead of just explaining what the
patch does.

Thanks,

-- Steve
Signed-off-by: Masami Hiramatsu <redacted>
Signed-off-by: Yoshihiro YUNOMAE <redacted>
---
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help