Re: Counting System Calls

Craig Milo Rogers (rogers@ISI.EDU)
Fri, 17 Apr 1998 13:39:19 -0700


>> Has anyone created entry.S code to count system calls (per
>> syscall number), and /proc code to read these counts?
>
>no kernel change needed, eg. try:
>
> strace -c -S calls w

That counts a single process' calls. I was thinking about
count of all system calls (summed across all processes) from boot-up
on. This would be a useful tool in the context of the proposed
modular system call mechanism.

Craig Milo Rogers

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu