]> granicus.if.org Git - sysstat/commit
Use a lightweight static library to compile some sysstat commands
authorSebastien GODARD <sysstat@orange.fr.fake>
Sat, 6 Jul 2013 13:47:16 +0000 (15:47 +0200)
committerSebastien GODARD <sysstat@orange.fr.fake>
Sat, 6 Jul 2013 13:47:16 +0000 (15:47 +0200)
commit931a2684938bc53e809380cedf977b397319b3b5
tree019608bbca2041100a599e8e8a835b64efc8c55b
parentaee2c4363dfa6af02021fc284e594893d617f7f9
Use a lightweight static library to compile some sysstat commands

Create two versions of the "librdstats.a" static library: one having all
the functions to read stats and which will be used by sadc, the other
having only a minimal subset of functions used by other commands like
iostat or pidstat.
The result is a much smaller binary file for iostat (size is 29% smaller
than before), pidstat (-27%), mpstat (-40%), nfsiostat (-43%) and
cifsiostat (-43%).
Makefile.in
count.c
count.h
rd_stats.c
rd_stats.h