Re: [PATCH 1/7] tracing, mm: Record pfn instead of pointer to struct page

From: Steven Rostedt
Date: Fri Mar 27 2015 - 12:13:22 EST


On Fri, 27 Mar 2015 11:08:01 +0900
Namhyung Kim <namhyung@xxxxxxxxxx> wrote:

> The struct page is opaque for userspace tools, so it'd be better to save
> pfn in order to identify page frames.
>
> The textual output of $debugfs/tracing/trace file remains unchanged and
> only raw (binary) data format is changed - but thanks to libtraceevent,
> userspace tools which deal with the raw data (like perf and trace-cmd)
> can parse the format easily. So impact on the userspace will also be
> minimal.
>
> Based-on-patch-by: Joonsoo Kim <js1304@xxxxxxxxx>
> Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: linux-mm@xxxxxxxxx
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
> ---


Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve
--
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/