From mboxrd@z Thu Jan 1 00:00:00 1970 From: mulyadi.santosa@gmail.com (Mulyadi Santosa) Date: Thu, 27 Jan 2011 13:20:45 +0700 Subject: can we measure the traffic between user and kernel mode In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, Jan 27, 2011 at 12:56, loody wrote: > 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. well then, strace/ltrace is probably the right tool to do the job :) or just use /proc//stack :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com