Re: syscall accounting ?

Mike (mike@oxlug.org)
Mon, 12 Apr 1999 18:09:06 +0100 (GMT)


On Fri, 9 Apr 1999, Matti Aarnio wrote:

> To implement this, the task struct would need a syscall counter,
> and every syscall would inc it. Also a global syscall counter
> would need to exist -- make that a 'per processor' counters.
> Reading them at /proc/something could be allowed not to show quite
> up to date data, and thus no need to have e.g. spinlocks.
>
Surely it would be cleaner to increment the syscall counters from
arch/i386/kernel/entry.S (or equivalent on other architectures) rather
than in
every syscall?

-- 
Mike <rickettm@ox.compsoc.net>

I've run DOOM more in the last few days than I have the last few months. I just love debugging ;-) (Linus Torvalds)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/