Skip to contentSkip to conversation

Using userspace tracepoints with icc

DISCUSSION Mathieu Desnoyers 1 participant 1 message Nov 8, 2013 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

----- Original Message -----

Quoted 13 lines

From: "Raphaël Beamonte" <[email protected]>
To: [email protected]
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.

Quoted 7 lines

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

Quoted 9 lines

Raphaël

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 8 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev