Re: Some more kernel stats...

Marcel J.E. Mol (marcel@mesa.nl)
Thu, 2 Apr 1998 20:08:37 +0200 (MET DST)


Lately, MOLNAR Ingo announced:
>
>
> On Wed, 1 Apr 1998, Marcel J.E. Mol wrote:
>
> > While at it, why not add a counter per system call?
>
> kernel profiling should give about that, at a much finer granularity.

Yes, but then you need to configure profiling in the kernel and I guess
you measure on a specific process then and besides counts also measure
time.

Most unixes already count total system calls and a few specics
(read, write, fork, exec ...). It seems more easy to just increment an
indexed array than checking what system call is made or include
counters in the specific system call itself.

-Marcel

-- 
     ======--------         Marcel J.E. Mol                MESA Consulting B.V.
    =======---------        ph. 015-3101310/06-54724868    P.O. Box 9
    =======---------        marcel@mesa.nl                 2270 AA  Voorburg
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____

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