perf upstream has long had debuginfod client code: `HAVE_DEBUGINFOD_SUPPORT`, which is a compile-time feature. Ask your linux distro to build with that turned on.