<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi all,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I am a new lttng-ust user. I would like to leave tracepoints compiled into production code. I have verified that inactive tracepoints have extremely low overhead, but I am concerned about startup time and LTTNG_UST_REGISTER_TIMEOUT. Our typical use case is that we are not tracing and there is no lttng-sessiond, we enable tracing only in development or QA.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The specific questions:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
1) What scenarios might the timeout come into play? I have tested with and without lttng-sessiond running and I have seen no more than 10ms overhead during app startup caused by lttng. That's no problem, but if there is some unforeseen scenario where I introduce 3s overhead I am in a world of hurt!</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">2) If I set LTTNG_UST_REGISTER_TIMEOUT=0, what scenario would this fail and how would it fail? (Silently or detectably?)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Actually I think these are more or less the same question viewed from two different angles.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks much. BTW I should say, I've been doing coordinated userspace and kernel tracing for performance issues in Linux for many, many years using a variety of homegrown tools and LTTng is fantastic, just the right feature set and excellent performance. It's what I wish I'd built. :)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Martin</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div></div>