summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tapsets.cxx2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c0190a73..56586f06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-13 Will Cohen <wcohen@redhat.com>
+
+ * tapsets.cxx (perfmon_derived_probe_group::emit_module_init):
+ Do not throw sematic error unless probes actually used.
+
2006-09-12 Will Cohen <wcohen@redhat.com>
PR 909
diff --git a/tapsets.cxx b/tapsets.cxx
index ddea8f94..d0792362 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -5366,8 +5366,6 @@ perfmon_derived_probe_group::emit_probes (translator_output* op, unparser* up)
void
perfmon_derived_probe_group::emit_module_init (translator_output* o)
{
- string msg(string("Cannot generate perfmon probes"));
- throw semantic_error(msg);
}
#endif /* PERFMON */