[Bug 274198] ktrace: logs only one arg for symlink() call

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Oct 2023 18:08:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274198

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org

--- Comment #2 from Mark Johnston <markj@FreeBSD.org> ---
NAMEI events are generated by namei().  symlink(2) doesn't call namei() on the
second parameter, so this patch doesn't really make sense.

ktrace(2) in general does not show you arbitrary system call parameters.  Maybe
it would be useful to extend KTR_STRUCT to support paths.  Then "ktrace -t t"
would do what you want.  But if you want to see parameters, you can also just
use truss or dtrace.

-- 
You are receiving this mail because:
You are the assignee for the bug.