summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--elaborate.cxx1
-rw-r--r--session.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index 0a00ebf2..34e6ab16 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1448,6 +1448,7 @@ systemtap_session::systemtap_session ():
timer_derived_probes(0),
profile_derived_probes(0),
mark_derived_probes(0),
+ tracepoint_derived_probes(0),
hrtimer_derived_probes(0),
perfmon_derived_probes(0),
procfs_derived_probes(0),
diff --git a/session.h b/session.h
index 8fa491fd..bc99385b 100644
--- a/session.h
+++ b/session.h
@@ -167,6 +167,8 @@ struct systemtap_session
hrtimer_derived_probe_group* hrtimer_derived_probes;
perfmon_derived_probe_group* perfmon_derived_probes;
procfs_derived_probe_group* procfs_derived_probes;
+ // NB: It is very important for all of the above (and below) fields
+ // to be cleared in the systemtap_session ctor (elaborate.cxx).
// unparser data
translator_output* op;