On Mon, 2014-03-10 at 23:14 +0100, Andi Kleen wrote: > 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.
Sure, no-one should be shipping files under /var/cache. It would be a an alternate download location. Ben. -- Ben Hutchings Computers are not intelligent. They only think they are.
signature.asc
Description: This is a digitally signed message part

