From owner-freebsd-hackers Mon Aug 14 2: 0:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhost.cpsc.ucalgary.ca (mailhost.cpsc.ucalgary.ca [136.159.2.100]) by hub.freebsd.org (Postfix) with ESMTP id 5A41337B711 for ; Mon, 14 Aug 2000 02:00:41 -0700 (PDT) (envelope-from rhyason@cpsc.ucalgary.ca) Received: from csh (csh.cpsc.ucalgary.ca [136.159.5.21]) by mailhost.cpsc.ucalgary.ca (1.3) id ; Mon, 14 Aug 2000 03:00:16 -0600 (MDT) Date: Mon, 14 Aug 2000 03:00:16 -0600 (MDT) From: Jeff Rhyason X-Sender: rhyason@csh To: hackers@freebsd.org Subject: Re: Collecting waiting statistics (simulation question) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > A lot of sysctls implement some sort of statistics mechanism > such as counters. Do a 'sysctl -a' and you'll see various > sysctls being used for counters/stats. Aah. This isn't quite what I lust for: Is it possible to get a *log* of allocation requests rather than aggregate sums or averages? The reason is so I can calculate the distribution of the data. For example: the kind of information I would like to have from kern_malloc for each invocation is: - time of the allocation - size - time spent in asleep - return value The same thing can be done with kern_free and from there the time the memory was used can be calculated. -Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message