From 30a279be821027bc416119ad6060c102402ff502 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 30 Mar 2006 15:15:28 +0000 Subject: 2006-03-30 Frank Ch. Eigler 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*. --- elaborate.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'elaborate.cxx') 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; -- cgit