diff --git a/component/pyroscope/ebpf/ebpf_placeholder.go b/component/pyroscope/ebpf/ebpf_placeholder.go index 3c9927e9418f..9c0be2748f3f 100644 --- a/component/pyroscope/ebpf/ebpf_placeholder.go +++ b/component/pyroscope/ebpf/ebpf_placeholder.go @@ -1,4 +1,4 @@ -//go:build !linux || (linux && !arm64 && !amd64) +//go:build !(linux && (arm64 || amd64)) package ebpf @@ -26,7 +26,7 @@ type Component struct { } func New(opts component.Options, args Arguments) (component.Component, error) { - level.Warn(opts.Logger).Log("msg", "the pyroscope.ebpf component only works on linux; enabling it otherwise will do nothing") + level.Warn(opts.Logger).Log("msg", "the pyroscope.ebpf component only works on ARM64 and AMD64 Linux platforms; enabling it otherwise will do nothing") return &Component{}, nil }