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
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to