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:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user