Linux perf tool does not work in container correctly

Hello,
I am trying to profile ffmpeg using the Linux perf command in docker. In the first run, the output is fine with all function names displayed by “perf report”. In the second run, it only shows addresses rather than function names. I am using a script that runs the ffmpeg twice in a docker.

For more details please see link

Thank you in advacne.