summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorwcohen <wcohen>2006-09-13 13:47:11 +0000
committerwcohen <wcohen>2006-09-13 13:47:11 +0000
commitae966e5f2df152603e36a1b96a0b5d05e89afdbc (patch)
tree4d0b762a685acaaec3a389f91dcc4fbb3aa71c2a /tapsets.cxx
parent906b75a6a8f55713cc0226348012f5fe60f987a1 (diff)
downloadsystemtap-steved-ae966e5f2df152603e36a1b96a0b5d05e89afdbc.tar.gz
systemtap-steved-ae966e5f2df152603e36a1b96a0b5d05e89afdbc.tar.xz
systemtap-steved-ae966e5f2df152603e36a1b96a0b5d05e89afdbc.zip
Do not throw sematic error unless probes actually used.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 0 insertions, 2 deletions
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 */