Re: [PATCH 4/5] perf kmem: Support sort keys on page analysis

From: Namhyung Kim
Date: Mon Mar 23 2015 - 20:27:13 EST


On Tue, Mar 24, 2015 at 02:27:09AM +0900, Joonsoo Kim wrote:
> 2015-03-23 15:30 GMT+09:00 Namhyung Kim <namhyung@xxxxxxxxxx>:
> > Add new sort keys for page: page, order, mtype, gfp - existing
> > 'bytes', 'hit' and 'callsite' sort keys also work for page. Note that
> > -s/--sort option should be preceded by either of --slab or --page
> > option to determine where the sort keys applies.
> >
> > Now it properly groups and sorts allocation stats - so same
> > page/caller with different order/mtype/gfp will be printed on a
> > different line.
>
> How about storing/printing pid, too?
> It would be helpful to distinguish who allocates the page.

That's also in my TODO list. :)

Thanks,
Namhyung
--
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/