aboutsummaryrefslogtreecommitdiff
path: root/procps/mpstat.c
Commit message (Collapse)AuthorAgeFilesLines
* mpstat: code shrinkGravatar Denys Vlasenko2015-01-051-6/+2
| | | | | | | | function old new delta get_uptime 134 129 -5 get_irqs_from_stat 110 103 -7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: use a wrapper around sysconf(_SC_CLK_TCK) to save a few bytesGravatar Bartosz Golaszewski2014-06-221-7/+1
| | | | | | | | | | | | | | function old new delta bb_sc_clk_tck - 10 +10 timescmd 118 113 -5 print_route 1763 1758 -5 mpstat_main 1288 1283 -5 iostat_main 1947 1942 -5 INET_setroute 879 871 -8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/5 up/down: 10/-28) Total: -18 bytes Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove "Options:" string from help textsGravatar Denys Vlasenko2011-06-051-1/+0
| | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat.c: remove unused lineGravatar Marek Polacek2011-04-301-2/+1
| | | | | Signed-off-by: Marek Polacek <mpolacek@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooGravatar Denys Vlasenko2011-01-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanupGravatar Denys Vlasenko2010-10-291-7/+7
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Rename a struct member from "interrupt"Gravatar Dan Fandrich2010-08-241-5/+5
| | | | | | | This is nonstandard, but common, keyword in embedded compilers. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularGravatar Denys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: fix "see file License ..." - the file is named LICENSE (in uppercase)Gravatar Denys Vlasenko2010-08-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: factor out common code from mpstat/iostatGravatar Denys Vlasenko2010-08-161-39/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iGravatar Denys Vlasenko2010-08-121-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: do not use /sys to get number of CPUs. /proc should be ok.Gravatar Marek Polacek2010-07-301-48/+1
| | | | | | | | | | | | 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>
* mpstat: better fix for IRQ countsGravatar Denys Vlasenko2010-07-301-19/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: fix total par-cpu IRQ countsGravatar Denys Vlasenko2010-07-301-10/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: fix/improve handling of interrupt namesGravatar Denys Vlasenko2010-07-301-10/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: small code shrinkGravatar Maksym Kryzhanovskyy2010-07-301-9/+7
| | | | | Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: small code shrinkGravatar Denys Vlasenko2010-07-211-14/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: new applet. ~5.5kGravatar Marek Polacek2010-07-211-0/+1024
Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>