From: anand.neeli@gmail.com (Anand Neeli)
Subject: [lttng-dev] Separate trace file per app
Date: Thu, 28 Nov 2013 15:46:31 +0530 [thread overview]
Message-ID: <CAM5kDqxQgXi+o4tfb6pZ+Po0qsMTm3aM2_tfLi3TAJNucUtHbQ@mail.gmail.com> (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>
reply other threads:[~2013-11-28 10:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM5kDqxQgXi+o4tfb6pZ+Po0qsMTm3aM2_tfLi3TAJNucUtHbQ@mail.gmail.com \
--to=anand.neeli@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox