diff options
author | Bryan Cantrill <bryan@joyent.com> | 2013-04-02 13:52:19 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2013-04-12 12:00:00 -0700 |
commit | f971a3462face662ae8ef220a18a98354d625d54 (patch) | |
tree | 5df66b69056387f6e3dd5e158930a663daab92dc /usr/src/uts/common/sys/klwp.h | |
parent | abc79d9dd51e98eafb6fc25b4a0b4f66bef40b00 (diff) | |
download | illumos-joyent-f971a3462face662ae8ef220a18a98354d625d54.tar.gz |
3673 core dumping is abysmally slow
3671 left behind enemy lines, agent LWP can go rogue
3670 add visibility into agent LWP's spymaster
Reviewed by: Keith M Wesolowski <keith.wesolowski@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/sys/klwp.h')
-rw-r--r-- | usr/src/uts/common/sys/klwp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/klwp.h b/usr/src/uts/common/sys/klwp.h index 93d1e9816f..41b70f6a6e 100644 --- a/usr/src/uts/common/sys/klwp.h +++ b/usr/src/uts/common/sys/klwp.h @@ -23,11 +23,13 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2013, Joyent, Inc. All rights reserved. + */ + #ifndef _SYS_KLWP_H #define _SYS_KLWP_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/condvar.h> #include <sys/thread.h> @@ -190,6 +192,7 @@ typedef struct _klwp { struct contract *lwp_ct_latest[CTT_MAXTYPE]; /* last created contract */ void *lwp_brand; /* per-lwp brand data */ + struct psinfo *lwp_spymaster; /* if an agent LWP, our spymaster */ } klwp_t; /* lwp states */ |