[RFC 00/10] perf pollfd series v2

2014-09-03 Thread Arnaldo Carvalho de Melo
Hi, This is an alternative series to the one Jiri Olsa posted to use the fixes he made to the kernel side to allow tooling to notice that a thread had exited by looking at the pollfd.revents looking for POLLHUP notifications. Once all event file descriptors are removed from the

[RFC 00/10] perf pollfd series v2

2014-09-03 Thread Arnaldo Carvalho de Melo
Hi, This is an alternative series to the one Jiri Olsa posted to use the fixes he made to the kernel side to allow tooling to notice that a thread had exited by looking at the pollfd.revents looking for POLLHUP notifications. Once all event file descriptors are removed from the

Re: [RFC 00/10] perf pollfd series

2014-08-25 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 25, 2014 at 01:04:31PM +0200, Jiri Olsa escreveu: > fdarray name seems too generic for this object, fdpoll looks > more suitable.. also given that the file name is poll.[ch] ;-) I thought about 'struct pollfds', then thought that having 'poll' in the name of the class and in its main

Re: [RFC 00/10] perf pollfd series

2014-08-25 Thread Jiri Olsa
On Fri, Aug 22, 2014 at 05:59:40PM -0300, Arnaldo Carvalho de Melo wrote: > Hi, > > This is an alternative series to the one Jiri Olsa posted to use the > fixes he made to the kernel side to allow tooling to notice that a thread had > exited by looking at the pollfd.revents looking for

Re: [RFC 00/10] perf pollfd series

2014-08-25 Thread Jiri Olsa
On Fri, Aug 22, 2014 at 05:59:40PM -0300, Arnaldo Carvalho de Melo wrote: Hi, This is an alternative series to the one Jiri Olsa posted to use the fixes he made to the kernel side to allow tooling to notice that a thread had exited by looking at the pollfd.revents looking for POLLHUP

Re: [RFC 00/10] perf pollfd series

2014-08-25 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 25, 2014 at 01:04:31PM +0200, Jiri Olsa escreveu: fdarray name seems too generic for this object, fdpoll looks more suitable.. also given that the file name is poll.[ch] ;-) I thought about 'struct pollfds', then thought that having 'poll' in the name of the class and in its main

[RFC 00/10] perf pollfd series

2014-08-22 Thread Arnaldo Carvalho de Melo
Hi, This is an alternative series to the one Jiri Olsa posted to use the fixes he made to the kernel side to allow tooling to notice that a thread had exited by looking at the pollfd.revents looking for POLLHUP notifications. Once all event file descriptors are removed from the

[RFC 00/10] perf pollfd series

2014-08-22 Thread Arnaldo Carvalho de Melo
Hi, This is an alternative series to the one Jiri Olsa posted to use the fixes he made to the kernel side to allow tooling to notice that a thread had exited by looking at the pollfd.revents looking for POLLHUP notifications. Once all event file descriptors are removed from the