lkml.org 
[lkml]   [2011]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectperf: regression with PERF_EVENT_IOC_REFRESH
Hello

the changeset 2e939d1d perf: Limit event refresh to sampling event

changes the behavior of
ioctl( , PERF_EVENT_IOC_REFRESH, )

before the changeset, you could have a counter group where only one of the
subevents was sampling. PERF_EVENT_IOC_REFRESH would correctly enable
sampling for only that subevent.

With the changeset applied, this fails with EINVALID. Now you can only
sample in a group leader.

Was this an intended change? It breaks various of our PAPI regression
tests that worked fine before the change was committed.

Vince
vweaver1@eecs.utk.edu


\
 
 \ /
  Last update: 2011-05-23 22:07    [W:0.070 / U:5.132 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site