ktrace: Make -t t trace struct arrays as well as structs

Otherwise there is no specific -t option which captures struct arrays.

MFC after:	1 week
This commit is contained in:
Mark Johnston
2025-01-07 14:31:15 +00:00
parent ce87828431
commit 596ee234ef
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ trace capability check failures
.It Cm s .It Cm s
trace signal processing trace signal processing
.It Cm t .It Cm t
trace various structures trace various structures and arrays of structures
.It Cm u .It Cm u
userland traces generated by userland traces generated by
.Xr utrace 2 .Xr utrace 2
+1 -1
View File
@@ -70,7 +70,7 @@ getpoints(char *s)
facs |= KTRFAC_PSIG; facs |= KTRFAC_PSIG;
break; break;
case 't': case 't':
facs |= KTRFAC_STRUCT; facs |= KTRFAC_STRUCT | KTRFAC_STRUCT_ARRAY;
break; break;
case 'u': case 'u':
facs |= KTRFAC_USER; facs |= KTRFAC_USER;