Skip to content

redhat/kernel: disable perl support in perf for Hyperscale Facebook

By default perf will pull in both libperl (because the binary is linked against it) and the perl interpreter itself (because it ships a number of scripts with perl in the shebang). This is a problem for minimal deployments (e.g. container base images) because including perf ends up pulling in the whole perl stack.

This commit excises perl support entirely from perf. It's gated to the Facebook build only for now, as it's a deviation from upstream that might not be desirable for general systems.

Signed-off-by: Davide Cavalca dcavalca@centosproject.org

Merge request reports

Loading