This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/11338] New: use @defined in tapsets
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 2 Mar 2010 16:27:17 -0000
- Subject: [Bug tapsets/11338] New: use @defined in tapsets
- Reply-to: sourceware-bugzilla at sourceware dot org
Now that the @defined() predicate for compile-time $var error catching has been
implemented (bug #11005), the tapsets need to actually use this new feature.
This will change code segments like:
%( kernel_vr >= "2.6.24" %?
prot = $prot
%:
prot = $__prot
%)
to:
prot = (@defined($prot) ? $prot : $__prot)
--
Summary: use @defined in tapsets
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11338
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.