This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10822] procfs file created too late
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 21 Oct 2009 22:22:51 -0000
- Subject: [Bug translator/10822] procfs file created too late
- References: <20091021211006.10822.dsmith@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jistone at redhat dot com 2009-10-21 22:22 -------
While we are in our initialization phase, any probes that fire will quietly skip
their handlers. We have a guarantee that begin probes will fire before any
others, so we can't run a procfs handler before then. If you changed the
initialization order, then you might get your procfs file created sooner, but
reads/writes to it might be ignored.
This race between procfs creation and STAP_SESSION_RUNNING actually exists
regardless. If we can't block users until RUNNING (instead of ignoring them),
then we probably need to wait to create the procfs in the first place.
As for the testcase, it could just use some other trigger than begin for the
first "advance" call. Maybe a short timer probe would work, or even just run
the first echo as a "-c" command.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10822
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.