[lttng-dev] Using userspace tracepoints with icc
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Fri Nov 8 08:55:46 EST 2013
----- Original Message -----
> From: "Raphaël Beamonte" <raphael.beamonte at gmail.com>
> To: lttng-dev at lists.lttng.org
> Sent: Thursday, November 7, 2013 11:50:21 PM
> Subject: [lttng-dev] Using userspace tracepoints with icc
>
> Hello folks,
>
> A few weeks ago, I was working on an application which used icc (the
> Intel C Compiler) to compile its sources. I wanted to trace it but
> wasn't able to compile with the tracepoints, the ".c" file was spawning
> a ": internal error: backend signal" from icc. Still, there is a
> workaround to be able to trace.
>
> Using gcc to compile the tracepoints (or using the object file generated
> by lttng-gen-tp, which uses gcc) and linking the object file to the
> application worked like a charm. It is not the best way as it forces to
> use two different compilers, but it still allows to trace.
>
> Just thought I'd share this workaround if someone else search how to use
> LTTng-UST with icc.
You might want to report this internal compiler error to the Intel folks responsible for icc.
Thanks,
Mathieu
>
> Raphaël
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list