/usr/lib/linux-tools/4.15.0-39-generic/perf is in linux-tools-4.15.0-39-generic 4.15.0-39.42.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/linux-tools/4.15.0-39-generic/../../linux-tools-4.15.0-39/perf