Page MenuHomeFreeBSD

D31704.diff
No OneTemporary

D31704.diff

diff --git a/share/man/man4/hwpmc.4 b/share/man/man4/hwpmc.4
--- a/share/man/man4/hwpmc.4
+++ b/share/man/man4/hwpmc.4
@@ -419,7 +419,7 @@
.It Va kern.hwpmc.mtxpoolsize Pq integer, read-only
The size of the spin mutex pool used by the PMC driver.
The default is 32.
-.It Va kern.hwpmc.nbuffers Pq integer, read-only
+.It Va kern.hwpmc.nbuffers_pcpu Pq integer, read-only
The number of log buffers used by
.Nm
for logging.
diff --git a/sys/dev/hwpmc/hwpmc_logging.c b/sys/dev/hwpmc/hwpmc_logging.c
--- a/sys/dev/hwpmc/hwpmc_logging.c
+++ b/sys/dev/hwpmc/hwpmc_logging.c
@@ -86,7 +86,7 @@
&pmclog_buffer_size, 0, "size of log buffers in kilobytes");
/*
- * kern.hwpmc.nbuffer -- number of global log buffers
+ * kern.hwpmc.nbuffers_pcpu -- number of global log buffers
*/
static int pmc_nlogbuffers_pcpu = PMC_NLOGBUFFERS_PCPU;
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -1455,7 +1455,7 @@
args.pa_verbosity > 0)
warnx(
"WARNING: at least %u event%s were discarded while running.\n"
-"Please consider tuning the \"kern.hwpmc.nbuffers\" tunable.",
+"Please consider tuning the \"kern.hwpmc.nbuffers_pcpu\" tunable.",
ds_end.pm_buffer_requests_failed -
ds_start.pm_buffer_requests_failed,
((ds_end.pm_buffer_requests_failed -

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 30, 7:29 PM (22 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13199566
Default Alt Text
D31704.diff (1 KB)

Event Timeline