diff options
author | Jason King <jason.brian.king@gmail.com> | 2017-05-05 22:58:26 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2018-09-26 08:38:04 +0000 |
commit | c113f3b5211bf6ae3ff1ee916a9f9ad0c28b7125 (patch) | |
tree | ed3893fad0f78462adf85cf08feb76669ab9abab /usr/src/cmd/prstat/prstat.h | |
parent | dee777b5a3880de62b42997fe61524f95dcc16db (diff) | |
download | illumos-joyent-OS-7200.tar.gz |
OS-7200 would like thread name APIOS-7200
OS-7205 bhyve makefile uses wrong linker flags
Diffstat (limited to 'usr/src/cmd/prstat/prstat.h')
-rw-r--r-- | usr/src/cmd/prstat/prstat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/cmd/prstat/prstat.h b/usr/src/cmd/prstat/prstat.h index ddb7416213..7d3913f731 100644 --- a/usr/src/cmd/prstat/prstat.h +++ b/usr/src/cmd/prstat/prstat.h @@ -26,7 +26,7 @@ * Use is subject to license terms. * * Portions Copyright 2009 Chad Mynhier - * Copyright 2017 Joyent, Inc. All rights reserved. + * Copyright 2018 Joyent, Inc. All rights reserved. */ #ifndef _PRSTAT_H @@ -115,6 +115,7 @@ typedef struct lwp_info { ulong_t li_icx; /* involuntary context switches */ ulong_t li_scl; /* system calls */ ulong_t li_sig; /* received signals */ + char li_lwpname[THREAD_NAME_MAX]; struct lwp_info *li_next; /* pointer to next lwp */ struct lwp_info *li_prev; /* pointer to previous lwp */ } lwp_info_t; @@ -169,8 +170,11 @@ typedef struct optdesc { int o_count; /* number of iterations */ int o_outpmode; /* selected output mode */ int o_sortorder; /* +1 ascending, -1 descending */ + int o_cols; /* number of columns */ } optdesc_t; +extern optdesc_t opts; + #ifdef __cplusplus } #endif |