<div dir="ltr">Hi All,<div>How can i create separate trace-file per app?</div><div><br></div><div>As shown below, i have created two trace sessions and filtered based on procname.</div><div>Is this the correct way? or is there any other efficient way to do it?</div>
<div><br></div><div><br></div><div><div>./lttng create app_1_trace</div><div>./lttng enable-event -s app_1_trace -u -a --filter '$ctx.procname == "app_1"'</div><div>./lttng start app_1_trace</div><div>now run app_1 ./app_1</div>
<div><br></div><div><br></div><div>./lttng create app_2_trace</div><div>./lttng enable-event -s app_2_trace -u -a --filter '$ctx.procname == "app_2"'</div><div>./lttng start app_2_trace</div><div>now run app_2 ./app_2</div>
<div><br></div></div><div><br></div><div><br></div><div>Thanks,</div><div>Anand Neeli</div></div>