Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

/lib32/ld-2.19.so _init() instrumentation failed

Xiaofeng_J_
Beginner
833 Views

I use tried to use vtune 2013/2015 to get info from some pin-based simulator on ubuntu12.03.

/opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-cl -collect hotspots -app-working-dir /home/parsec -- /home/parsec/run.parsec.sh

The result:

amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /home/zsim/r000hs -command stop.
amplxe: Warning: [2016.01.20 16:19:07] /lib32/ld-2.19.so _init() instrumentation failed.
amplxe: Warning: [2016.01.20 16:19:07] /lib32/ld-2.19.so _init() instrumentation failed.
amplxe: Warning: [2016.01.20 16:19:07] /lib/x86_64-linux-gnu/ld-2.19.so _init() instrumentation failed.
amplxe: Warning: [2016.01.20 16:19:07] /lib/x86_64-linux-gnu/ld-2.19.so _init() instrumentation failed.
amplxe: Warning: [2016.01.20 16:19:07] /lib/x86_64-linux-gnu/ld-2.19.so _init() instrumentation failed.


E:Could not instrument process 4703: need execute and read access to /proc/4703/exe
[SNIPER] End
[SNIPER] Elapsed time: 0.58 seconds

amplxe: Error: Failed to attach to the specified target process. Please make sure the process exists and VTune Amplifier process has enough permissions to attach to the target process. See the Troubleshooting help topic for more details.
amplxe: Error: [Instrumentation Engine]: Attach to pid 4960 failed: Operation not permitted 
amplxe: Collection stopped.
amplxe: Internal Error

What may cause this error? I run vtune with root and how can I give it more permission?

0 Kudos
1 Reply
David_A_Intel1
Employee
833 Views

Are you trying to profile a "pin-based simulator"?  If so, you will not be able to use any of the software-based analysis types (basic hotspots, concurrency, and locks and wait) because the are all pin-based!! :p

Try advanced-hotspots, instead.

0 Kudos
Reply