- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
our 64bit application has to fork off and exec a 32bit app we only have in 32bit. Currently this fails becuase
the LD_PRELOAD variable is set to a 64bit library that cannot be called.
How to say VTune that it should not profile child processes?
our 64bit application has to fork off and exec a 32bit app we only have in 32bit. Currently this fails becuase
the LD_PRELOAD variable is set to a 64bit library that cannot be called.
How to say VTune that it should not profile child processes?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Christoph,
Could you please add some details? Which VTune version do you use, which collector (Callgraph or Sampling) and VTune error output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use version 9.0 from the vtune_linux_9.0.833.tar.gz package. Sampling does not work as described in another post. Therefore I try the Callgraph collector.
The error message is not from VTune. The application fails with:
error while loading shared libraries: /opt/intel/vtune/rdc/analyzer/bin32/libLauncherPreload.so: cannot open shared object file: No such file or directory
However it seems as if the following script helps:
#!/bin/bash
REALPROGRAM=/path/to/32bit/binary
unset LD_PRELOAD
exec $REALPRPGRAM $*
Maybre VTune should offer an option to do this automatically for selected childs
The error message is not from VTune. The application fails with:
error while loading shared libraries: /opt/intel/vtune/rdc/analyzer/bin32/libLauncherPreload.so: cannot open shared object file: No such file or directory
However it seems as if the following script helps:
#!/bin/bash
REALPROGRAM=/path/to/32bit/binary
unset LD_PRELOAD
exec $REALPRPGRAM $*
Maybre VTune should offer an option to do this automatically for selected childs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Christoph,
Could you please tell, which processor do you use? Because that dll (/opt/intel/vtune/rdc/analyzer/bin32/libLauncherPreload.so) should only be loaded on ia32,but according to your post, profiling is run on EM64T machine.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page