hi all: thanks for your kind reply :-) 2011/1/27 Mulyadi Santosa <mulyadi.santosa@gmail.com>:
On Thu, Jan 27, 2011 at 10:42, loody <miloody@gmail.com> wrote:
Dear all: Is there any directory under proc/sys or tools that can help us to measure the traffic between user and kernel mode? (such as ioctl, open, close, etc.)
By "traffic", you mean context switch latency? Perhaps you mean a tool like lmbench? I got a user-mode application without symbol and source, and it keeps console no response about 2 mins. I just want to know whether it is busy on processing itself or do the context switch frequently for calling kernel drivers at that time. thanks a lot, miloody
-- regards,
Mulyadi Santosa Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
-- Regards,