ktrace(1): teach about KTR_EXTERR

Reviewed by:	brooks
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D50633
This commit is contained in:
Konstantin Belousov committed 2025-06-03 05:47:38 +03:00
1 parent 6d43260d49
commit 96f4be881e
3 files changed
+8 -2

No files matched your search

+5 -1
View File
@@ -150,9 +150,13 @@ arguments
trace
.Xr execve 2
environment variables
.It Cm x
trace
.Xr exterr 2
extended errors reports from kernel
.It Cm +
trace the default set of trace points -
.Cm a, c , e, i , n , s , t , u , y
.Cm a, c , e, i , n , s , t , u , x, y
.El
.It Ar command
Execute
+1 -1
View File
@@ -32,7 +32,7 @@
#define DEF_POINTS (KTRFAC_SYSCALL | KTRFAC_SYSRET | KTRFAC_NAMEI | \
KTRFAC_GENIO | KTRFAC_PSIG | KTRFAC_USER | \
KTRFAC_STRUCT | KTRFAC_SYSCTL | KTRFAC_STRUCT_ARRAY | \
KTRFAC_ARGS | KTRFAC_ENVS)
KTRFAC_ARGS | KTRFAC_ENVS | KTRFAC_EXTERR)
#define PROC_ABI_POINTS (KTRFAC_PROCCTOR | KTRFAC_PROCDTOR)
+2
View File
@@ -87,6 +87,8 @@ getpoints(char *s)
case 'e':
facs |= KTRFAC_ENVS;
break;
case 'x':
facs |= KTRFAC_EXTERR;
case '+':
facs |= DEF_POINTS;
break;