summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-03-08 22:30:30 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-03-08 22:30:30 -0400
commitf9355a6c0645c7efa0b7bc7894231b51b9f7e91c (patch)
tree1737d0a1d1c732f752d34290c4ff4e1b3a82b856 /session.h
parentee53a613180a780ea377b4f1c857aaeabcf44240 (diff)
downloadsystemtap-steved-f9355a6c0645c7efa0b7bc7894231b51b9f7e91c.tar.gz
systemtap-steved-f9355a6c0645c7efa0b7bc7894231b51b9f7e91c.tar.xz
systemtap-steved-f9355a6c0645c7efa0b7bc7894231b51b9f7e91c.zip
tracepoint probes: clear session derived_probe_groups pointer in ctor to avoid SEGV
Diffstat (limited to 'session.h')
-rw-r--r--session.h2
1 files changed, 2 insertions, 0 deletions
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;