lkml.org 
[lkml]   [1999]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: syscall accounting ?
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.036 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site