Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Separate trace file per app
@ 2013-11-28 10:16 Anand Neeli
  0 siblings, 0 replies; only message in thread
From: Anand Neeli @ 2013-11-28 10:16 UTC (permalink / raw)


Hi All,
How can i create separate trace-file per app?

As shown below, i have created two trace sessions and filtered based on
procname.
Is this the correct way? or is there any other efficient way to do it?


./lttng create app_1_trace
./lttng enable-event -s app_1_trace -u -a --filter '$ctx.procname ==
"app_1"'
./lttng start app_1_trace
now run app_1    ./app_1


./lttng create app_2_trace
./lttng enable-event -s app_2_trace -u -a --filter '$ctx.procname ==
"app_2"'
./lttng start app_2_trace
now run app_2     ./app_2



Thanks,
Anand Neeli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131128/b2456814/attachment-0001.html>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-28 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-28 10:16 [lttng-dev] Separate trace file per app Anand Neeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox