summaryrefslogtreecommitdiffstats
path: root/usr.bin/procstat/procstat.h
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2013-04-20 08:19:06 +0000
committertrociny <trociny@FreeBSD.org>2013-04-20 08:19:06 +0000
commite79062469fbe0c97917c049158d1ee16f1fd23f3 (patch)
treed48af5680e4fd9e9c3e67813890a2f13a6b76a5f /usr.bin/procstat/procstat.h
parent457eff386468328043f16986ad34521af9ffafc7 (diff)
downloadFreeBSD-src-e79062469fbe0c97917c049158d1ee16f1fd23f3.zip
FreeBSD-src-e79062469fbe0c97917c049158d1ee16f1fd23f3.tar.gz
Use procstat_getkstack(3) for retrieving process kernel stacks
instead of direct sysctl calls. MFC after: 1 month
Diffstat (limited to 'usr.bin/procstat/procstat.h')
-rw-r--r--usr.bin/procstat/procstat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/procstat/procstat.h b/usr.bin/procstat/procstat.h
index a0ec2e5d..57c9cb5 100644
--- a/usr.bin/procstat/procstat.h
+++ b/usr.bin/procstat/procstat.h
@@ -41,7 +41,8 @@ void procstat_bin(struct procstat *prstat, struct kinfo_proc *kipp);
void procstat_cred(struct procstat *prstat, struct kinfo_proc *kipp);
void procstat_env(struct procstat *prstat, struct kinfo_proc *kipp);
void procstat_files(struct procstat *prstat, struct kinfo_proc *kipp);
-void procstat_kstack(struct kinfo_proc *kipp, int kflag);
+void procstat_kstack(struct procstat *prstat, struct kinfo_proc *kipp,
+ int kflag);
void procstat_rlimit(struct procstat *prstat, struct kinfo_proc *kipp);
void procstat_sigs(struct procstat *prstat, struct kinfo_proc *kipp);
void procstat_threads(struct procstat *prstat, struct kinfo_proc *kipp);
OpenPOWER on IntegriCloud