Minix help wanted

Hi to all,
i am trying to make a kernel call that will display the number of times each kernel call was called. Any idea where to look? I can't find the right files and also how to get all those values. Already made a kernel call that displays how many kernel calls are in the system. I am using Minix operating system.
thanks.

Sounds like strace command. Are you sure it counts?

Yes, using counters in every kernel call is a way i though about.

Does minix count, that it can report total calls since boot? I think m stands for minimal. It is probably open source, so you can look at the variable names and see who references them. sar -c seems closer.

Minux is open source. It uses a microkernel architecture created by Andrew Tanenbaum for educational purposes.

By the way, MINIX also inspired the creation of the Linux kernel.

OK, earlier than I recalled. Question is, does the OP want to count calls in an application run, or since boot, and if the latter, is the kernel equipped with a per-call counter?

Minix 1 & 2 - nope. Minix 3 - You can browse the source code at https://gforge.cs.vu.nl/gf/project/minix/scmsvn/?action=browse&path=%2Ftrunk%2Fsrc%2F