Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109447575
D31704.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31704.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 4:47 AM (20 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16487204
Default Alt Text
D31704.diff (1 KB)
Attached To
Mode
D31704: Update sysctl name in hwpmc.4 and pmcstat
Attached
Detach File
Event Timeline
Log In to Comment