cache childdata ptr.
add debug code to dump a syscall record