Bug 12785 - systemd-managed tasks not visible to process probes on fedora 15
Summary: systemd-managed tasks not visible to process probes on fedora 15
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: tapsets (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 13:23 UTC by Frank Ch. Eigler
Modified: 2011-05-19 21:59 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2011-05-19 13:23:08 UTC
Due to stap commit #c796d81, stap's task_finder refuses to attach to pid=1.
This is a problem because on fedora 15, systemd hogs pid=1, and forks
service daemons, which renders them invisible to stap probing.

We should remove the pid <= 1 tests from task-finder unless a good reason
for them is found.  mjw notes that linux commit 00cd5c37afd5f431ac1 enabled
ptrace on pid=1 some years ago.
Comment 1 David Smith 2011-05-19 21:59:26 UTC
Commit fa942c5 fixes this.  No regressions seen in the testsuite.