The 'intr_bufferfull' driver statistic actually counts the number

of times sampling was stopped due to a space shortage; change its
description in the output of `pmcstat -s` to match reality.

MFC after:	3 days
This commit is contained in:
Joseph Koshy 2005-09-29 01:40:03 +00:00
parent 94d785c84c
commit f35f2fc88a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150703

View file

@ -320,7 +320,7 @@ pmcc_show_statistics(void)
#define PRINT(N,V) (void) printf("%-40s %d\n", (N), gms.pm_##V)
PRINT("interrupts processed:", intr_processed);
PRINT("non-PMC interrupts:", intr_ignored);
PRINT("interrupts dropped due to lack of space:", intr_bufferfull);
PRINT("sampling stalls due to space shortages:", intr_bufferfull);
PRINT("system calls:", syscalls);
PRINT("system calls with errors:", syscall_errors);
PRINT("buffer requests:", buffer_requests);