Can some one help me in adding a system call called getcount(system call) to XV6? which has an argument system call. when ever a system call is made by the process it should increase the count and should keep track of the count. after the completion of process it should be displayed.
Asked
Active
Viewed 3,765 times
1 Answers
1
This is a duplicate question. Look here.
It has been asked and answered by the same person who asked the question. It is a valid way but since this sounds like a homework question I would encourage you to try and come up with another way of doing it. I know there is one because I have done it myself.
Here , is also another stackoverflow question and its answers that could prove useful to you.
Good Luck!