This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/10822] procfs file created too late


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]