diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-05-26 16:21:13 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-27 12:21:39 +0200 |
commit | 0e47d1d5011fe87c34764311ccabb4a1ef761121 (patch) | |
tree | c06b371d5e023849c30461d9e487eb57a84b0787 /staging/directmops.c | |
parent | b551029e03f58065fb8c018a928280ef071b59a2 (diff) |
ifpps: Don't assume a maximum of 32 CPUs
There are people with machines containing far more than 32 CPUs. In
their case ifpps didn't work until now because of a limitation to 32
CPUs.
Rework ifpps to support an arbitrary number of CPUs. In order to still
remain within the display space, if more than 10 (TOP_CPUS) CPUs are
available, only the 10 top hitting (in terms of usr and sys time or irqs
respectively) are displayed.
Suggested-by: Daniel Borkmann <borkmann@iogearbox.net>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/directmops.c')
0 files changed, 0 insertions, 0 deletions