This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Francis Deslauriers
Recipients Francis Deslauriers, jcea, lukasz.langa, pdmccormick
Date 2017-02-23.21:53:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487886793.32.0.305824819736.issue28909@psf.upfronthosting.co.za>
In-reply-to
Content
I am finally having the time to work in this.

> A nit: the name LTTng-UST is rather unfriendly, especially when used without the dash and in all lowercase characters. Given that we're using "dtrace" and "systemtap", it would be simpler to just use "lttng" (drop the "-ust").
We can certainly drop the "-ust" and have the name in lowercase.

> It's impossible to have DTrace and SystemTap at the same time, so it was natural to choose to auto-detect the engine. With LTTng it becomes less obvious what the configure options should be.
> Should it be possible at all to have *both* LTTng and SystemTap compiled in at the same time? Does this make sense?
It's possible to have both SystemTap and LTTng in the same binary. LTTng-UST has a configure option `--with-sdt` to include a SystemTap SDT probe alongside each LTTng-UST tracepoint. I don't have a  specific usecase in mind but I can picture a setup where a binary is instrumented with both frameworks and the users either decide to use the low overhead tracing of LTTng or the versatile runtime aggregation of SystemTap depending on the problem they are trying to diagnose. So I think keeping both configure options makes sense.

> Do you get unused code warnings without your patch applied? I don't.
I am getting those errors too on Linux with GCC. I will make sure to fix them in the next round.

I am currently working on the tests and documentation and I hope to submit patches for review early next week.

Thank you,
Francis
History
Date User Action Args
2017-02-23 21:53:13Francis Deslaurierssetrecipients: + Francis Deslauriers, jcea, lukasz.langa, pdmccormick
2017-02-23 21:53:13Francis Deslaurierssetmessageid: <1487886793.32.0.305824819736.issue28909@psf.upfronthosting.co.za>
2017-02-23 21:53:13Francis Deslaurierslinkissue28909 messages
2017-02-23 21:53:13Francis Deslaurierscreate