linprocfs: Decode constant_tsc CPU feature

Differential revision:	https://reviews.freebsd.org/D35554
MFC after:		2 weeks
This commit is contained in:
Dmitry Chagin 2022-06-29 10:34:04 +03:00
parent ccc48995c2
commit 8da00a514e

View File

@ -349,6 +349,8 @@ linprocfs_docpuinfo(PFS_FILL_ARGS)
cpu_stdext_feature_names[j][0] != '\0')
sbuf_printf(sb, " %s",
cpu_stdext_feature_names[j]);
if (tsc_is_invariant)
sbuf_cat(sb, " constant_tsc");
sbuf_cat(sb, "\n");
sbuf_printf(sb,
"bugs\t\t: %s\n"