* [lttng-dev] getting a notification from 'lttng start|stop'
@ 2012-10-25 11:49 McDermott, Andrew
0 siblings, 0 replies; only message in thread
From: McDermott, Andrew @ 2012-10-25 11:49 UTC (permalink / raw)
Is it possible to see when tracing has actually started (i.e., when
`lttng start' is invoked)?
I can observe that the tracepoint is enabled/disabled by looking at the
'state' field in a 'struct tracepoint'. Is there an equivalent variable
to monitor for `lttng start|stop'? I was trying to dump some additional
process state (via calls to tracepoint) whenever an external
start/stop/start/stop/start sequence occurs.
Also, when I run 'lttng enable-event -u -a' I see that the 'state' value
changes from '0' to '1', but if I run 'lttng disable-event -u -a' it
stays at '1'. Is this expected? If I subsequently run 'lttng destroy'
then it does go to '0'. Shouldn't the disable set it to '0' too?
--
andy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-25 11:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-25 11:49 [lttng-dev] getting a notification from 'lttng start|stop' McDermott, Andrew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox