commit | 85a359afab4743e68977086bddac301ef0675ee1 | [log] [tgz] |
---|---|---|
author | Marek Polacek <mmpolacek@gmail.com> | Fri Jul 30 16:43:11 2010 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Fri Jul 30 16:43:11 2010 +0200 |
tree | ebd70751245449a64e507968dbe99a90b04a0ce3 | |
parent | 3fb4a5e6d86e52014502391d8dca25befa4ff9b4 [diff] |
mpstat: do not use /sys to get number of CPUs. /proc should be ok. function old new delta get_cpu_nr - 137 +137 mpstat_main 1140 1131 -9 get_proc_cpu_nr 137 - -137 get_sys_cpu_nr 178 - -178 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/1 up/down: 137/-324) Total: -187 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>