Messages in this thread | | | Date | Thu, 15 May 2014 18:09:20 +0200 | Subject | Re: perf: Add support for full Intel event lists v3 | From | Hagen Paul Pfeifer <> |
| |
On 13 May 2014 00:51, Andi Kleen <andi@firstfloor.org> wrote:
> I implemented an automatic downloader to get the event file for the > current CPU. The events are stored in ~/.events. > Then perf adds a parser that converts the JSON format into perf event > aliases, which then can be used directly as any other perf event.
Should the name of the file not more specific? I mean .events can mean everything? Every program may have a demand for this generic name. Why not ~/.perf-events? Even more standard [1]: $XDG_CACHE_HOME/perf/events (i.e. ~/.cache/perf/events)
[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
| |