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)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to