Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Using userspace tracepoints with icc
@ 2013-11-08  4:50 Raphaël Beamonte
  2013-11-08 13:55 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Raphaël Beamonte @ 2013-11-08  4:50 UTC (permalink / raw)


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.

Rapha?l




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [lttng-dev] Using userspace tracepoints with icc
  2013-11-08  4:50 [lttng-dev] Using userspace tracepoints with icc Raphaël Beamonte
@ 2013-11-08 13:55 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2013-11-08 13:55 UTC (permalink / raw)


----- Original Message -----
> From: "Rapha?l Beamonte" <raphael.beamonte@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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-08 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-08  4:50 [lttng-dev] Using userspace tracepoints with icc Raphaël Beamonte
2013-11-08 13:55 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox