Add syscall tracing support to 'path' calls
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 May 2017 17:24:42 +0000 (13:24 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 May 2017 18:44:03 +0000 (14:44 -0400)
commitb0dcdf129c2b50bfc64779ac5d14dca8d12b1f0f
treeb9d0df911c36b69089ad4fc268e63c171a8dd507
parent0f9842235194a8b815a3955046cb2868b1218f07
Add syscall tracing support to 'path' calls

Syscalls like openat() already had their path argument added to the data
blob, but others like stat() and access() didn't.  I added support for all
of the syscalls that take path arguments.  This required adding a couple
helpers for building the trace data payload.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/syscall.c