This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/16300] New: suppress statement-counting protections in loop-free non-recursive probe handlers


https://sourceware.org/bugzilla/show_bug.cgi?id=16300

            Bug ID: 16300
           Summary: suppress statement-counting protections in loop-free
                    non-recursive probe handlers
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com

Since we have full view of the probe handler's logic & control flow,
we can know that handlers containing only straight-through code and
conditionals cannot trigger an indefinite loop, thus don't need
statement-counting type protection.

This might extended to some loops too, if we pessimistically estimate
small number-of-iterations, such as foreach-limit ones, or loops over
fixed integer ranges, or over small arrays.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]