Cannot load injection library as Nsight Systems profiling

Hi ,

I’m trying to profiling an app in remote server(x86) with two self-defined .so libs by using Nsight Sys. I changed Evironment variable LD_PRELOAD as …/lib/libtrt.so:./libfeature.so to include these two libs. However, result report still gave me an error which said “Failed to connect to the application. Has it been run with Injection library?” . I also tried absolute path, but it didn’t work, either. What the problem is ?

Many thanks!

On x86_64, Power, and SBSA (ARM server) targets Nsight Systems cannot attach to a running process, you need to launch the application with Nsys directly.

If you wish, you can use either delay analysis or interactive CLI so that the actual processing waits for the part of your application you are most interested in.