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

View file

@ -132,7 +132,7 @@ trace capability check failures
.It Cm s
trace signal processing
.It Cm t
trace various structures
trace various structures and arrays of structures
.It Cm u
userland traces generated by
.Xr utrace 2

View file

@ -70,7 +70,7 @@ getpoints(char *s)
facs |= KTRFAC_PSIG;
break;
case 't':
facs |= KTRFAC_STRUCT;
facs |= KTRFAC_STRUCT | KTRFAC_STRUCT_ARRAY;
break;
case 'u':
facs |= KTRFAC_USER;