Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

Nick Piggin
2007-04-13T02:29:40Z

Matt Mackall wrote:
> On Thu, Apr 12, 2007 at 06:57:23PM -0700, Andrew Morton wrote:
>
>>I guess one could generate an answer to the static question with systemtap,
>>by accumulating running counts across the application lifetime and then
>>snapshotting them. Sounds hard though.
>
>
> You'd have to do it from boot onward to get a complete system image.
> One way to look at it is that systemtap can give you the derivative of
> the information, and you have to integrate it.

So everyone keeps saying.

Would you tell me why you can't just traverse the data structures
in the same way as your proc handler? From the systemtap example
scripts it seems like you can traverse arbitrary kernel data
structures.

--
SUSE Labs, Novell Inc.