Blame SOURCES/bz1431263.4.patch

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