Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1658912
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH 1/1] kernel/events: Introduce IOC_COUNT_RECORDS |
| Date | 2017-06-06 18:20 +0200 |
| Message-ID | <tPpn4-2GL-27@gated-at.bofh.it> (permalink) |
| References | <tPo7E-1Hh-15@gated-at.bofh.it> <tPoqZ-24q-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jun 06, 2017 at 08:46:28PM +0530, Naveen N. Rao wrote: > Many perf sideband events (context switches, namespaces, ...) are useful > by themselves without the need for subscribing to any overflow events. > However, it is not possible to subscribe for notifications when such > records are logged into the ring buffer. Introduce IOC_COUNT_RECORDS as > a way to request this. > > With IOC_COUNT_RECORDS set, IOC_REFRESH takes the number of records > after which to generate a notification, rather than the number of > overflow events. You forgot to explain why? As is I'm not terribly excited to have more 'crud' in that output path.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH 0/1] Notifications for perf sideband events "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-06-06 17:00 +0200
[RFC PATCH 1/1] kernel/events: Introduce IOC_COUNT_RECORDS "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-06-06 17:20 +0200
Re: [RFC PATCH 1/1] kernel/events: Introduce IOC_COUNT_RECORDS Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-06-06 18:00 +0200
Re: [RFC PATCH 1/1] kernel/events: Introduce IOC_COUNT_RECORDS "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-06-06 19:00 +0200
Re: [RFC PATCH 1/1] kernel/events: Introduce IOC_COUNT_RECORDS Peter Zijlstra <peterz@infradead.org> - 2017-06-06 18:20 +0200
Re: [RFC PATCH 1/1] kernel/events: Introduce IOC_COUNT_RECORDS "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-06-06 19:20 +0200
csiph-web