I don't know if this post should go here or in the vtune forum.
I am trying to generet profiling data for one application. I have compiled it with the appropriate options ( -prof-gen -prof-gen-sampling) but I cannot run it with profrun because of this error message: $ profrun -dcache myapp.x VTStartSampling error: unknown error code: 42
On the other hand vtune seem to work well when used directly, e.g. if I run $ vtl activity -d 30 -c sampling -c callgraph -master sampling -app myapp.x -moi myapp.x run it just works.
Ok, I posted it there in the first place because a similar topic (search for VTStartSampling error) was moved in the opposite direction.
I also wished to specify that profiling works, and that the executable correctly produces the *.dyn files if run directly. The error is only triggered by the attempt to use profrun (wich should used hardware collection, if I undestood it correctly) .