FreeBSD Bugzilla – Attachment 214846 Details for
Bug 246722
ktrace(1): Add example to trace all processes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-ktrace-1-Add-example-to-trace-all-processes.patch (text/plain), 790 bytes, created by
Kevin Zheng
on 2020-05-25 17:21:35 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Kevin Zheng
Created:
2020-05-25 17:21:35 UTC
Size:
790 bytes
patch
obsolete
>From a9ba8758824cd6f3f36c7a555128585424413e6a Mon Sep 17 00:00:00 2001 >From: Kevin Zheng <kevinz5000@gmail.com> >Date: Mon, 25 May 2020 10:18:34 -0700 >Subject: [PATCH] ktrace(1): Add example to trace all processes > >--- > usr.bin/ktrace/ktrace.1 | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/usr.bin/ktrace/ktrace.1 b/usr.bin/ktrace/ktrace.1 >index 981d99503f2..2287e02fb6a 100644 >--- a/usr.bin/ktrace/ktrace.1 >+++ b/usr.bin/ktrace/ktrace.1 >@@ -178,6 +178,12 @@ on process 67: > Disable all tracing to the file "tracedata": > .Dl $ ktrace -c -f tracedata > .Pp >+As root, enable system call tracing on all processes (since all processes >+descend from >+.Xr init 8 >+): >+.Dl # ktrace -t c -dp 1 >+.Pp > Disable tracing of all user-owned processes: > .Dl $ ktrace -C > .Sh SEE ALSO >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246722
: 214846