Date: Tue, 29 May 2018 18:30:37 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334346 - head/lib/libpmc Message-ID: <201805291830.w4TIUbDR084390@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmacy Date: Tue May 29 18:30:37 2018 New Revision: 334346 URL: https://svnweb.freebsd.org/changeset/base/334346 Log: libpmc: remove fixed counter diagnostic Modified: head/lib/libpmc/libpmc_pmu_util.c (contents, props changed) Modified: head/lib/libpmc/libpmc_pmu_util.c ============================================================================== --- head/lib/libpmc/libpmc_pmu_util.c Tue May 29 18:26:12 2018 (r334345) +++ head/lib/libpmc/libpmc_pmu_util.c Tue May 29 18:30:37 2018 (r334346) @@ -315,10 +315,8 @@ pmc_pmu_pmcallocate(const char *event_name, struct pmc return (ENOENT); for (idx = 0; fixed_mode_cntrs[idx] != NULL; idx++) - if (strcmp(fixed_mode_cntrs[idx], event_name) == 0) { + if (strcmp(fixed_mode_cntrs[idx], event_name) == 0) isfixed = 1; - printf("%s is fixed\n", event_name); - } if (isfixed) { if (strcasestr(pe->desc, "retired") != NULL)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805291830.w4TIUbDR084390>