This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/17101] [rfe] timeout for stap
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 30 Jun 2014 14:22:40 +0000
- Subject: [Bug runtime/17101] [rfe] timeout for stap
- Auto-submitted: auto-generated
- References: <bug-17101-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17101
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsmith at redhat dot com
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
For ordinary scripts, we already have a way to kill scripts after a time limit
- just call 'exit()' from a timer probe, something like the following:
====
# Kill the script after 60 seconds.
probe timer.s(60) { exit() }
====
--
You are receiving this mail because:
You are the assignee for the bug.