Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2023 18:08:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274198] ktrace: logs only one arg for symlink() call
Message-ID:  <bug-274198-227-0Wr9aO9x7k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274198-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274198-227-0Wr9aO9x7k>