> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to