]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
procstat: Recognize HWCAP and HWCAP2 with auxv command
authormhorne <mhorne@FreeBSD.org>
Tue, 11 Jun 2019 00:59:46 +0000 (00:59 +0000)
committermhorne <mhorne@FreeBSD.org>
Tue, 11 Jun 2019 00:59:46 +0000 (00:59 +0000)
commit300397edf326ba7cd9697539c00473a6d916a290
tree8b8c3d90d255b20a0f8c56615a3ac1020bcf7295
parent50a7855ac267adb72eb5a49a69f2f069d353e179
procstat: Recognize HWCAP and HWCAP2 with auxv command

The two most recent additions to the elf auxiliary vector are
HWCAP and HWCAP2 which describe platform specific cpu capabilities.

Make procstat recognize these fields so that they aren't displayed
as UNKNOWN.

Reviewed by: trociny, markj
Approved by: markj (mentor)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D20582
usr.bin/procstat/procstat_auxv.c