summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorfche <fche>2006-03-30 15:15:28 +0000
committerfche <fche>2006-03-30 15:15:28 +0000
commit30a279be821027bc416119ad6060c102402ff502 (patch)
tree6583de92871e71699bcadaa6770a8972d6b6856e /elaborate.cxx
parent56894e91234245e0d343101489bd36f25f58dcb9 (diff)
downloadsystemtap-steved-30a279be821027bc416119ad6060c102402ff502.tar.gz
systemtap-steved-30a279be821027bc416119ad6060c102402ff502.tar.xz
systemtap-steved-30a279be821027bc416119ad6060c102402ff502.zip
2006-03-30 Frank Ch. Eigler <fche@elastic.org>
PR 953, part 1 * tapsets.cxx: (mark_derived_probe*): New classes. (register_standard_tapsets): Register kernel/module.mark() family. * stapmark.h: New header for static instrumentation markers. * gen-stapmark.h: New perl script to generate it. * elaborate.cxx (derived_probe ctor): Ignore null location*.
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index 48a3cbb3..6dc0ecd8 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1,5 +1,5 @@
// elaboration functions
-// Copyright (C) 2005 Red Hat Inc.
+// Copyright (C) 2005, 2006 Red Hat Inc.
//
// This file is part of systemtap, and is free software. You can
// redistribute it and/or modify it under the terms of the GNU General
@@ -54,7 +54,8 @@ derived_probe::derived_probe (probe *p):
derived_probe::derived_probe (probe *p, probe_point *l):
base (p)
{
- this->locations.push_back (l);
+ if (l)
+ this->locations.push_back (l);
if (p)
{
this->tok = p->tok;