public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/13306] New: option to skip probes with alias prologue problems
@ 2011-10-17 11:16 fche at redhat dot com
  2011-12-01  1:01 ` [Bug translator/13306] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2011-10-17 11:16 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/13306] option to skip probes with alias prologue problems
  2011-10-17 11:16 [Bug translator/13306] New: option to skip probes with alias prologue problems fche at redhat dot com
@ 2011-12-01  1:01 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2011-12-01  1:01 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13306

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2011-12-01 00:59:24 UTC ---
commit 8bf9072 et prior

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-01  1:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 11:16 [Bug translator/13306] New: option to skip probes with alias prologue problems fche at redhat dot com
2011-12-01  1:01 ` [Bug translator/13306] " fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).