can we measure the traffic between user and kernel mode
loody
miloody at gmail.com
Sun Jan 30 02:50:36 EST 2011
hi:
2011/1/28 Mulyadi Santosa <mulyadi.santosa at gmail.com>:
> Hi :)
>
> On Thu, Jan 27, 2011 at 20:48, loody <miloody at gmail.com> 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
More information about the Kernelnewbies
mailing list