diff options
author | Robert Mustacchi <rm@joyent.com> | 2018-09-11 21:21:18 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2018-09-11 21:32:22 +0000 |
commit | a1c95bbb7c9625aab345559b448cd77dad78b4b3 (patch) | |
tree | ef63dc1c09fee5444552280179b6660c7b8fee80 /usr/src/lib/libproc/common/Pcontrol.h | |
parent | 6816448c8b777064c5a9cf6729bcfa0efeb29e4f (diff) | |
download | illumos-joyent-a1c95bbb7c9625aab345559b448cd77dad78b4b3.tar.gz |
backout OS-7200 would like thread name API (triggers OS-7240)
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libproc/common/Pcontrol.h')
-rw-r--r-- | usr/src/lib/libproc/common/Pcontrol.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/libproc/common/Pcontrol.h b/usr/src/lib/libproc/common/Pcontrol.h index 3122207902..7e19e8777c 100644 --- a/usr/src/lib/libproc/common/Pcontrol.h +++ b/usr/src/lib/libproc/common/Pcontrol.h @@ -24,8 +24,8 @@ */ /* * Copyright 2012 DEY Storage Systems, Inc. All rights reserved. + * Copyright (c) 2015, Joyent, Inc. All rights reserved. * Copyright (c) 2013 by Delphix. All rights reserved. - * Copyright 2018 Joyent, Inc. */ #ifndef _PCONTROL_H @@ -45,7 +45,6 @@ #include <libctf.h> #include <limits.h> #include <libproc.h> -#include <thread.h> #include <sys/secflags.h> #ifdef __cplusplus @@ -140,7 +139,6 @@ typedef struct lwp_info { /* per-lwp information from core file */ lwpid_t lwp_id; /* lwp identifier */ lwpsinfo_t lwp_psinfo; /* /proc/<pid>/lwp/<lwpid>/lwpsinfo data */ lwpstatus_t lwp_status; /* /proc/<pid>/lwp/<lwpid>/lwpstatus data */ - char lwp_name[THREAD_NAME_MAX]; #if defined(sparc) || defined(__sparc) gwindows_t *lwp_gwins; /* /proc/<pid>/lwp/<lwpid>/gwindows data */ prxregset_t *lwp_xregs; /* /proc/<pid>/lwp/<lwpid>/xregs data */ @@ -278,7 +276,7 @@ extern void optimize_symtab(sym_tbl_t *); extern void Pbuild_file_symtab(struct ps_prochandle *, file_info_t *); extern ctf_file_t *Pbuild_file_ctf(struct ps_prochandle *, file_info_t *); extern map_info_t *Paddr2mptr(struct ps_prochandle *, uintptr_t); -extern char *Pfindexec(struct ps_prochandle *, const char *, +extern char *Pfindexec(struct ps_prochandle *, const char *, int (*)(const char *, void *), void *); extern int getlwpstatus(struct ps_prochandle *, lwpid_t, lwpstatus_t *); int Pstopstatus(struct ps_prochandle *, long, uint32_t); |