Re: [PATCH 3/3] perf tool: Add non arch events for SandyBridgemicroarchitecture

From: Vince Weaver
Date: Fri Dec 21 2012 - 20:57:00 EST


On Fri, 21 Dec 2012, Andi Kleen wrote:

> > I hate to sound like a broken record here, but, again, what's the
> > rationalization for not using libpfm4 here?
>
> Personally I always hated the libpfm4 syntax. It's even worse than
> oprofile.

how so? The libpfm4 event names are more or less the same as that from
the manuals with the exception that . is replaced with : in some cases.

> I'm probably biased, but it's usually best to use the format the CPU
> vendor releases the original event tables in. That gives you
> the fastest access with the minimum amount of hazzle.

Which vendors provide "original tables"? None as far as I know, you are
stuck digging through PDFs.

Unless you mean the tables that come with Vtune... are those licensed in a
way that is useful?

libpfm4 also provides at least minimal event descriptions along with each
event, will the kernel/perf provide those too?

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