git: 1d280f21427f - main - procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Sep 2022 20:25:39 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1d280f21427f560c696476366cfeb74d93629293 commit 1d280f21427f560c696476366cfeb74d93629293 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-09-15 10:14:17 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-09-16 20:23:38 +0000 procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM Reviewed by: brooks, imp (previous version) Discussed with: markj Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D36540 --- usr.bin/procstat/procstat_auxv.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usr.bin/procstat/procstat_auxv.c b/usr.bin/procstat/procstat_auxv.c index d62ed6028569..d58faf9777c4 100644 --- a/usr.bin/procstat/procstat_auxv.c +++ b/usr.bin/procstat/procstat_auxv.c @@ -245,6 +245,20 @@ procstat_auxv(struct procstat *procstat, struct kinfo_proc *kipp) xo_emit("{dw:/%s}{Lw:/%-16s/%s}{:AT_KPRELOAD/%p}\n", prefix, "AT_KPRELOAD", auxv[i].a_un.a_ptr); break; +#endif +#ifdef AT_USRSTACKBASE + case AT_USRSTACKBASE: + xo_emit("{dw:/%s}{Lw:/%-16s/%s}" + "{:AT_USRSTACKBASE/%#lx}\n", + prefix, "AT_USRSTACKBASE", auxv[i].a_un.a_val); + break; +#endif +#ifdef AT_USRSTACKLIM + case AT_USRSTACKLIM: + xo_emit("{dw:/%s}{Lw:/%-16s/%s}" + "{:AT_USRSTACKLIM/%#lx}\n", + prefix, "AT_USRSTACKLIM", auxv[i].a_un.a_val); + break; #endif default: xo_emit("{dw:/%s}{Lw:/%16ld/%ld}{:UNKNOWN/%#lx}\n",