From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Fri, 8 Nov 2013 13:55:46 +0000 (UTC) Subject: [lttng-dev] Using userspace tracepoints with icc In-Reply-To: <527C6D8D.1010103@gmail.com> References: <527C6D8D.1010103@gmail.com> Message-ID: <246183477.63073.1383918946763.JavaMail.zimbra@efficios.com> ----- Original Message ----- > From: "Rapha?l Beamonte" > 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