<div dir="ltr">Hi!<div><br></div><div>Is it possible to enable user-space tracepoint in specific process (of given PID)?</div><div><br></div><div>AFAIUĀ </div><div>lttng enable-event -u prov:probe --filter '$ctx.vpid==12345'</div>
<div>enables probe for all processes and then drops unmatched.<br></div><div><br></div><div>In my case I'm doing rather heavyweight thing in probe (getting stack trace) and want to do that only in the process of interest.</div>
<div><br></div><div>Is it possible?</div><div><br></div><div>The only way I can do it now is playing with LTTNG_HOME variable setting it to different paths for each process.</div><div><br></div><div>Thanks!</div></div>