sysstat: Update to version 12.5.4

- Update from 6.0.2 (2005) to 12.5.4 (2021)
- sysstat-6.0.2-sysconf.patch no longer required. Built into source as standard now.
- Update rootfile
   rootfile made the same as previous version. New options are available, such as
   pidstat and tapestat but they have been commented out in the rootfile. If required
   in the future they can be uncommented.
- iso that was built with this sysstat was installed into vm testbed and confirmed
   that all graphs working, especially those related to disk stats.
- Changelog is too large to show here. Full details for all previous versions can be
   found in the CHANGES file in the source tarball.
- At least 25 bugs fixed between the two versions.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Adolf Belka
2021-07-15 14:46:19 +02:00
committed by Arne Fitzenreiter
parent a673226e42
commit 1f60759eab
3 changed files with 64 additions and 47 deletions

View File

@@ -1,26 +0,0 @@
--- sysstat-6.0.2/common.c.sysc 2005-11-28 11:14:29.000000000 +0100
+++ sysstat-6.0.2/common.c 2006-05-11 10:40:18.000000000 +0200
@@ -31,8 +31,9 @@
#include <sys/param.h> /* for HZ */
/*
+ * PAGE_SIZE should be get by sysconf function -
* For PAGE_SIZE (which may be itself a call to getpagesize()).
- * PAGE_SHIFT no longer necessarily exists in <asm/page.h>. So
+ * PAGE_SHIFT no longer necessarily exists. So
* we use PAGE_SIZE to compute PAGE_SHIFT...
*/
#include <asm/page.h>
@@ -408,8 +409,10 @@
{
int shift = 0;
int size;
+ int p_size;
- size = PAGE_SIZE >> 10; /* Assume that a page has a minimum size of 1 kB */
+ p_size = sysconf(_SC_PAGE_SIZE);
+ size = p_size >> 10; /* Assume that a page has a minimum size of 1 kB */
while (size > 1) {
shift++;
size >>= 1;