svn commit: r334130 - head/lib/libpmcstat

Matt Macy mmacy at FreeBSD.org
Thu May 24 04:38:18 UTC 2018


Author: mmacy
Date: Thu May 24 04:38:17 2018
New Revision: 334130
URL: https://svnweb.freebsd.org/changeset/base/334130

Log:
  fix !amd64 signature for pmu_sample_rate_get

Modified:
  head/lib/libpmcstat/libpmcstat_pmu_util.c

Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c
==============================================================================
--- head/lib/libpmcstat/libpmcstat_pmu_util.c	Thu May 24 04:31:53 2018	(r334129)
+++ head/lib/libpmcstat/libpmcstat_pmu_util.c	Thu May 24 04:38:17 2018	(r334130)
@@ -124,5 +124,5 @@ pmcstat_pmu_sample_rate_get(const char *event_name)
 }
 
 #else
-uint64_t pmcstat_pmu_sample_rate_get(void) { return (DEFAULT_SAMPLE_COUNT); }
+uint64_t pmcstat_pmu_sample_rate_get(const char *event_name __unused) { return (DEFAULT_SAMPLE_COUNT); }
 #endif


More information about the svn-src-all mailing list