This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/13306] New: option to skip probes with alias prologue problems
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 17 Oct 2011 11:16:11 +0000
- Subject: [Bug translator/13306] New: option to skip probes with alias prologue problems
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13306
Bug #: 13306
Summary: option to skip probes with alias prologue problems
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
Classification: Unclassified
Tapset aliases may speculatively manipulate $variables or @cast expressions
that may be expected to fail sometimes. In some cases, the tapset author
may remember to wrap these e.g. in try / catch blocks. As an enhancement
to the existing --skip-badvars option that's narrowly focused on $var
runtime errors, we could introduce an implicit try / catch over alias
prologues:
probe a = foo { ..handler prologue.. }
probe a { ..handler.. }
to expand to:
try {
..handler prologue..
} catch { next }
..handler..
It may make sense to credit such events against the MAXSKIPPED counter.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.