From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@zip.com.au>, Zach Brown <zab@osdlab.org>,
linux-mm@kvack.org
Subject: vmstats patch against 2.4.8pre7 and new userlevel hack
Date: Thu, 9 Aug 2001 03:45:47 -0300 (BRT) [thread overview]
Message-ID: <Pine.LNX.4.21.0108090326470.14424-100000@freak.distro.conectiva> (raw)
Hi,
I've updated the vmstats patch to use Andrew Morton's statcount facilities
(which is in initial development state). I've also removed/added some
statistics due to VM changes.
On the userlevel side, I got zab's cpustat nice tool and transformed it
into an ugly hack which allows me to easily add/remove statistic
counters.
Adding a new statistic counter just needs (on the kernel side):
VMSTAT(stat_name); (for global stats)
or
VMSTAT_ZONE(zone, stat_name); (for perzone stats)
On userlevel side, one line with corresponding stat_name, plus the field
name to be reported in the userlevel tool output for the given stat.
Easy.
The patch including the statcounts facilities
http://bazar.conectiva.com.br/~marcelo/patches/v2.4/2.4.8pre7/vmstats.patch
The userlevel tool
http://bazar.conectiva.com.br/~marcelo/nvmstat-0.1/nvmstat-0.1.tar.gz
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next reply other threads:[~2001-08-09 6:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-09 6:45 Marcelo Tosatti [this message]
2001-08-10 20:33 ` Daniel Phillips
2001-08-11 16:57 ` Marcelo Tosatti
2001-08-11 22:33 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.21.0108090326470.14424-100000@freak.distro.conectiva \
--to=marcelo@conectiva.com.br \
--cc=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=zab@osdlab.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox