Modifying rr to trace specific system calls

Robert O'Callahan robert at
Wed Dec 2 05:29:26 UTC 2015

On Wed, Dec 2, 2015 at 5:06 PM, Kapil Agarwal <kapila at> 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?

lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rr-dev mailing list