Messages in this thread | | | Date | Tue, 22 Jun 2004 16:38:06 +0200 | From | Mikael Pettersson <> | Subject | Re: [PATCH][1/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: core |
| |
Andrew Morton writes: > Christoph Hellwig <hch@infradead.org> wrote: > > > > On Tue, Jun 22, 2004 at 02:14:41AM -0700, Andrew Morton wrote: > > > > Let's ressurect that code instead of doing the syscall approach. > > > > > > This appears to have come out of the blue. Please explain why you think > > > this change is needed. > > > > Just read through all the old perfctr threads. This was discussed multiple > > times. > > Well it didn't register with me and either it didn't register with Mike, or > he rejected the notion. > > Please restate the case.
Swiching to open() on /proc/<pid>/<tid>/perfctr followed by ioctl()s would be easy to implement. But people @ LKML are sometimes violently opposed to ioctl()s, that's why the switch to syscalls happended.
One concern is that there doesn't appear to be a user-visible shortcut to "your own" /proc/<pid>/<tid>/ like there was when /proc/self still had some useful meaning. This is merely annoying, not a show-stopper. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |