Re: [PATCH v6 11/18] perf tools: add mem access sampling core support

Andi Kleen
2013-01-18T23:25:09Z

On Tue, Jan 15, 2013 at 04:39:39PM +0100, Stephane Eranian wrote:
> This patch adds the sorting and histogram support
> functions to enable profiling of memory accesses.
>
> The following sorting orders are added:
> - symbol_daddr: data address symbol (or raw address)
> - dso_daddr: data address shared object
> - weight: access cost
> - locked: access uses locked transaction
> - tlb : TLB access
> - mem : memory level of the access (L1, L2, L3, RAM, ...)
> - snoop: access snoop mode

Do they actually sort? I found that the sort keys do not actually
sort in most cases. This is mostly an issue with numbers like
"weight" and of course not added by your patch.

-Andi

--
ak@linux.intel.com -- Speaking for myself only