From mboxrd@z Thu Jan 1 00:00:00 1970 From: miloody@gmail.com (loody) Date: Sun, 30 Jan 2011 15:50:36 +0800 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 hi: 2011/1/28 Mulyadi Santosa : > Hi :) > > On Thu, Jan 27, 2011 at 20:48, loody wrote: >> I can "strace -o -tt 123 a.out" before "A begin" but how could I >> combine console output with the content of strace? >> such as >> A begins >> strace content ...... >> A finish >> strace content ...... >> B begins >> strace content ...... >> B finish > > Not sure if I understand you correctly...what are A and B here? function calls? Yes, the A and B here I mean is the function call I wrote in C, such as the "open("/home/miloody", O_RDONLY) " etc. Thank you ~ miloody