<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>On Mon, 29 Jul 2019 at 21:23, Jonathan Rajotte-Julien <<a href="mailto:jonathan.rajotte-julien@efficios.com" target="_blank">jonathan.rajotte-julien@efficios.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
For those at home wondering why this would be relevant to lttng,<br>
lttng-ust comes with a utility shared object allowing you to leverage the<br>
-finstrument-function sites to hook lttng tracepoints [1].<br>
<br>
[1] <a href="https://lttng.org/man/3/lttng-ust-cyg-profile/v2.10/" rel="noreferrer" target="_blank">https://lttng.org/man/3/lttng-ust-cyg-profile/v2.10/</a><br>
<br></blockquote><div><br></div><div>Thank you for providing some context!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks Christophe for this contribution.<br>
<br>
Do you know why GCC does not support this out of the box?<br></blockquote><div> </div><div>I'm not sure. I looked at the the relevant parts of the gcc codebase, and came to the conclusion that it just wasn't written with this feature in mind (which is why the plugin uses a sort of workaround).</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is this something that<br>could be presented to the GCC community?</blockquote><div><br></div><div>If people think it should be presented!</div><div><br></div><div><br></div><div>Christophe</div></div></div>