Re: [patch 10/10] perf_event_open.2: 4.0 update rdpmc documentation

2015-04-20 Thread Vince Weaver
On Fri, 17 Apr 2015, Andy Lutomirski wrote: > On 04/16/2015 11:20 AM, Vince Weaver wrote: > > Probably a better change would have been to add "2" to mean per-process > > and make that the default setting. Probably too late to fix that now. > > Good point. I wish you'd thought of that

Re: [patch 10/10] perf_event_open.2: 4.0 update rdpmc documentation

2015-04-20 Thread Vince Weaver
On Fri, 17 Apr 2015, Andy Lutomirski wrote: On 04/16/2015 11:20 AM, Vince Weaver wrote: Probably a better change would have been to add 2 to mean per-process and make that the default setting. Probably too late to fix that now. Good point. I wish you'd thought of that sooner :(

Re: [patch 10/10] perf_event_open.2: 4.0 update rdpmc documentation

2015-04-17 Thread Andy Lutomirski
On 04/16/2015 11:20 AM, Vince Weaver wrote: The rdpmc instruction allows reading performance counters directly from usersapce. Prior to Linux 4.0 any process could use this instruction when a perf event was running, even if the process itself did not have any open. The following changesets

Re: [patch 10/10] perf_event_open.2: 4.0 update rdpmc documentation

2015-04-17 Thread Andy Lutomirski
On 04/16/2015 11:20 AM, Vince Weaver wrote: The rdpmc instruction allows reading performance counters directly from usersapce. Prior to Linux 4.0 any process could use this instruction when a perf event was running, even if the process itself did not have any open. The following changesets

[patch 10/10] perf_event_open.2: 4.0 update rdpmc documentation

2015-04-16 Thread Vince Weaver
The rdpmc instruction allows reading performance counters directly from usersapce. Prior to Linux 4.0 any process could use this instruction when a perf event was running, even if the process itself did not have any open. The following changesets changed the default behavior so that only

[patch 10/10] perf_event_open.2: 4.0 update rdpmc documentation

2015-04-16 Thread Vince Weaver
The rdpmc instruction allows reading performance counters directly from usersapce. Prior to Linux 4.0 any process could use this instruction when a perf event was running, even if the process itself did not have any open. The following changesets changed the default behavior so that only