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

From: Joonsoo Kim
Date: Mon Mar 23 2015 - 13:27:19 EST


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.

Thanks.
--
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/