From 6ea8d33ca0f645400640aa97bc630cfdce943470 Mon Sep 17 00:00:00 2001 From: Piotr Gwizdala <17101802+thampiotr@users.noreply.github.com> Date: Mon, 4 Dec 2023 16:09:53 +0000 Subject: [PATCH] feedback --- component/pyroscope/ebpf/ebpf_placeholder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }