diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2011-07-08 19:30:33 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2011-07-08 19:30:33 +0000 |
commit | f8f4e446dabbd7230b584656e7e00b5aee898bc9 (patch) | |
tree | 54a3b8405cf31d5ddb5cd87b7128588bc63fec4c /usr.bin/ktrace/subr.c | |
parent | dfa0ffc7c86951f332886c661e930a834f5c9a36 (diff) |
Support sending struct info to kdump. So far for struct stat and
struct sockaddress; mostly from freebsd. ok deraadt@ tedu@ nicm@
Diffstat (limited to 'usr.bin/ktrace/subr.c')
-rw-r--r-- | usr.bin/ktrace/subr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ktrace/subr.c b/usr.bin/ktrace/subr.c index 2702c4ccd76..0b44bb02498 100644 --- a/usr.bin/ktrace/subr.c +++ b/usr.bin/ktrace/subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr.c,v 1.6 2009/10/27 23:59:39 deraadt Exp $ */ +/* $OpenBSD: subr.c,v 1.7 2011/07/08 19:29:44 otto Exp $ */ /* $NetBSD: subr.c,v 1.6 1995/08/31 23:01:45 jtc Exp $ */ /*- @@ -68,6 +68,9 @@ getpoints(s) case 'w': facs |= KTRFAC_CSW; break; + case 't': + facs |= KTRFAC_STRUCT; + break; case '+': facs |= DEF_POINTS; break; |