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 bpf/23480] bpfinterp.cxx should respond to ^C


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

Serhei Makarov <me at serhei dot io> changed:

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

--- Comment #1 from Serhei Makarov <me at serhei dot io> ---
Correction: this only happens when 'probe end { ... }' is being executed. That
is because the signal handler in stapbpf.cxx sets the exit flag, which has no
effect once the end probes are already running.

Fixed in commit 9d29349 by restoring signal handlers before running exit
probes, and having these handlers exit immediately rather than setting exit
status.

-- 
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]