Blame SOURCES/bz1431263.4.patch

aea179
commit 77c4dcf7aa81f59532859783e4775143ebf17a23
aea179
Author: David Smith <dsmith@redhat.com>
aea179
Date:   Mon Mar 27 11:16:53 2017 -0500
aea179
aea179
    BZ1431263: Remove "too many hardware breakpoint probes" warning.
aea179
    
aea179
    * tapsets.cxx (hwbkpt_derived_probe_group::enroll): Remove warning about
aea179
      too many hardware breakpoint probes, since we can't really know how many
aea179
      this system supports until we try to register them.
aea179
aea179
diff --git a/tapsets.cxx b/tapsets.cxx
aea179
index ccd7cbb..c80e831 100644
aea179
--- a/tapsets.cxx
aea179
+++ b/tapsets.cxx
aea179
@@ -10166,16 +10166,6 @@ void hwbkpt_derived_probe::join_group (systemtap_session& s)
aea179
 void hwbkpt_derived_probe_group::enroll (hwbkpt_derived_probe* p, systemtap_session& s)
aea179
 {
aea179
   hwbkpt_probes.push_back (p);
aea179
-
aea179
-  unsigned max_hwbkpt_probes_by_arch = 0;
aea179
-  if (s.architecture == "i386" || s.architecture == "x86_64")
aea179
-    max_hwbkpt_probes_by_arch = 4;
aea179
-  else if (s.architecture == "s390")
aea179
-    max_hwbkpt_probes_by_arch = 1;
aea179
-
aea179
-  if (hwbkpt_probes.size() >= max_hwbkpt_probes_by_arch)
aea179
-    s.print_warning (_F("Too many hardware breakpoint probes requested for %s (%zu vs. %u)",
aea179
-                          s.architecture.c_str(), hwbkpt_probes.size(), max_hwbkpt_probes_by_arch));
aea179
 }
aea179
 
aea179
 void