Modifying rr to trace specific system calls

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


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?

Rob
-- 
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
esn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rr-dev/attachments/20151202/b8c37c85/attachment.html>


More information about the rr-dev mailing list