Sorry, I donβt know the answer why LD_PROFILE does not work with LD_PRELOAD.
However, for profiling binary files compiled with -g, I really like the valgrind tool along with the kcachegrind graphics tool.
valgrind --tool = callgrind / path / to / some / binary with parameters
will create a file called as callgrind.out.1234, where 1234 was the pid of the program at startup. This file can be analyzed with:
kcachegrind callgrind.out.1234
kcachegrind , , . , . , , .
, valgrind , LD_PROFILE. valgrind , , valgrind .