This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/20075] target_set_pid() returns False when execve() syscall is successful
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 16 May 2016 15:08:45 +0000
- Subject: [Bug tapsets/20075] target_set_pid() returns False when execve() syscall is successful
- Auto-submitted: auto-generated
- References: <bug-20075-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20075
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
Perhaps we can smarten-up the target_set tapset, so that it puts dying
processes into a separate grace-period state, from which almost-born children
are still recognized as the same target-set.
Something like
global _target_set_zombie%
probe ...end {
_target_set_zombie[pid()] = gettimeofday_s()
}
probe timer.s(30) {
now = gettimeofday_s()
foreach (time_of_death = pid in _target_set_zombie) {
if (now - time_of_death > 60) delete _target_set[pid]
}
}
--
You are receiving this mail because:
You are the assignee for the bug.