From f35f2fc88aeedbc288b8ebb86adaff5c8bcc6c7c Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Thu, 29 Sep 2005 01:40:03 +0000 Subject: [PATCH] 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 --- usr.sbin/pmccontrol/pmccontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/pmccontrol/pmccontrol.c b/usr.sbin/pmccontrol/pmccontrol.c index 6eb45a7277d5..553dabaf34ac 100644 --- a/usr.sbin/pmccontrol/pmccontrol.c +++ b/usr.sbin/pmccontrol/pmccontrol.c @@ -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);