This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/15982] process.end probes broken on RHEL6
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 26 Sep 2013 21:44:25 +0000
- Subject: [Bug runtime/15982] process.end probes broken on RHEL6
- Auto-submitted: auto-generated
- References: <bug-15982-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15982
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
There are a couple of possible solutions to this problem that I've been working
with:
1) Let the process.end probe fire even when the the module's session state
isn't STAP_SESSION_RUNNING. This works a good bit of the time, but not 100%
consistently.
2) Switch the task_finder from using UTRACE_DEATH (Thread has died) to
UTRACE_EXIT (Thread exit in progress). The UTRACE_EXIT event happens before the
signal is sent to the dying thread's parent, so we won't miss the event.
In the tracepoint-based utrace replacement (for kernels without built-in
utrace), the 'sched_process_exit' tracepoint (which we use for process.end
probes) happens in a similar place as the UTRACE_EXIT hook, so this should work
reasonably well.
--
You are receiving this mail because:
You are the assignee for the bug.