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]

RE: stp_exit change


On Mon, 2006-01-16 at 12:49 +0800, Mao, Bibo wrote:
> I do not know whether we can delete atomic_set (&session_state, STAP_SESSION_STOPPING) sentence from runtime/io.c and add this sentence into file tapset/logging.stp like this:
> function exit () %{
>    atomic_set (&session_state, STAP_SESSION_STOPPING);
>     _stp_exit ();
> %}
That is exactly what the code did before I changed it. I was working
under the assumption that tapsets certainly shouldn't be mucking around
in translator internal state. Frank argued that he prefers that to
having the runtime do it and reverted the change back to what you have
above.

Martin



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