Re: perf: Add support for full Intel event lists
From: Andi Kleen
Date: Mon Mar 10 2014 - 18:14:30 EST
On Mon, Mar 10, 2014 at 07:39:14PM +0000, Ben Hutchings wrote:
> On Wed, 2014-03-05 at 11:49 -0800, Andi Kleen wrote:
> [...]
> > I implemented an automatic downloader to get the event file for the
> > current CPU. The events are stored in ~/.events.
> [...]
>
> This directory should be placed under $XDG_CACHE_DIR (default:
> ~/.cache), and should have a more specific name like 'perf-events'.
Ok.
I don't like calling it perf-events because it will be used
by other non perf tools too. I guess pmu-events could do.
>
> It might be useful to also support a system directory for these,
> under /var/cache.
I don't want people shipping those. It just causes lots
of outdated events everywhere, like in oprofile.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/