lkml.org 
[lkml]   [2014]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: perf: Add support for full Intel event lists v3
From
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


\
 
 \ /
  Last update: 2014-05-15 18:41    [W:0.085 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site