lkml.org 
[lkml]   [2013]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 2/2] perf: add sysfs entry to adjust multiplexing interval per PMU
From
Date
On Fri, 2013-03-22 at 11:51 +0100, Stephane Eranian wrote:
> In the 4th version, we renamed the sysfs file to be more
> consistent with the other /proc/sys/kernel entries for
> perf_events.

> static struct device_attribute pmu_dev_attrs[] = {
> - __ATTR_RO(type),
> - __ATTR_NULL,
> + __ATTR_RO(type),
> + __ATTR_RW(perf_event_mux_interval_ms),
> + __ATTR_NULL,
> };

but but but, the file doesn't live in /proc/sys/kernel/, its in
/sys/bus/event_source/devices/*/$foo and none of the files there are
perf_event_* prefixed.

Other than that, the patches look fine.



\
 
 \ /
  Last update: 2013-03-25 13:01    [W:0.121 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site