Re: [PATCH 1/4] perf: Add memory load/store events generic code

From: Lin Ming
Date: Tue Jul 05 2011 - 07:54:30 EST


On Mon, 2011-07-04 at 19:16 +0800, Peter Zijlstra wrote:
> On Mon, 2011-07-04 at 08:02 +0000, Lin Ming wrote:
> > +#define MEM_STORE_DCU_HIT (1ULL << 0)
>
> I'm pretty sure that's not Dublin City University, but what is it?
> Data-Cache-Unit? what does that mean, L1/L2 or also L3?
>
> > +#define MEM_STORE_STLB_HIT (1ULL << 1)
>
> What's an sTLB? I know iTLB and dTLB's but sTLBs I've not heard of yet.
>
> > +#define MEM_STORE_LOCKED_ACCESS (1ULL << 2)
>
> Presumably that's about LOCK'ed ops?
>
> So now you're just tacking bits on the end without even attempting to
> generalize/unify things, not charmed at all.

Any idea on the more useful store bits encoding?

Thanks,
Lin Ming


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