Modifying rr to trace specific system calls

Kapil Agarwal kapila at gatech.edu
Wed Dec 2 12:33:58 UTC 2015


On Wed, Dec 2, 2015 at 12:29 AM, Robert O'Callahan <robert at ocallahan.org>
wrote:

> On Wed, Dec 2, 2015 at 5:06 PM, Kapil Agarwal <kapila at gatech.edu> wrote:
>
>> Consider the following test program-
>>
>> #include <stdio.h>
>>> int main()
>>> {
>>>   printf("%s\n",__DATE__);
>>>   return 0;
>>> }
>>
>>
>> strace shows me that vfork() is called and open("/etc/localtime") is
>> called by the child process.
>>
>
> It doesn't for me. Are you testing the *compilation* of that program, or
> running that program?
>

Oh sry, my bad. I am testing the compilation of the program. It's working :)

--
Kapil
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rr-dev/attachments/20151202/73ed59c5/attachment.html>


More information about the rr-dev mailing list