I checked out and built frysk yesterday, on x86 FC-6.
I tried "ftrace -c -- gcc -c r.c".
I expected to see syscalls from both the gcc driver and from cc1.
However, I only see syscalls from gcc.
Toward the end I do see the vfork clearly return the pid of the
25882.25882 syscall vfork()r.c: In function ‘f2’:
r.c:16: error: invalid use of undefined type ‘struct s’
(Some of that output is from cc1, ignore it)
Confirmed. Test suite passes and following gcc children doesn't work. I'll
have a look at this.
The problem is that frysk doesn't seem to handle vfork. I've opened a bug 5466
that tracks this problem. Once it is resolved somehow, I'll have to adapt
ftrace to that solution, if necessary, so I'm leaving this open.
-c seems to be gone -- replaced by -f (though it is a duplicate, I
filed a separate PR). However, this still is not working.
I changed the Summary.