Re: [RFC PATCH] LTTng instrumentation mm (updated)

From: Dave Hansen
Date: Tue Dec 04 2007 - 14:41:55 EST


On Tue, 2007-12-04 at 14:25 -0500, Mathieu Desnoyers wrote:
>
> - I also dump the equivalent of /proc/swaps (with kernel internal
> information) at trace start to know what swap files are currently
> used.

What about just enhancing /proc/swaps so that this information can be
useful to people other than those doing traces?

Now that we have /proc/$pid/pagemap, we expose some of the same
information about which userspace virtual addresses are stored where and
in which swapfile.

-- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/