Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2022908pxb; Sun, 24 Apr 2022 02:14:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAAB9tUtTY9D3Hk8UmOtSGeGf1Jiqa4tZPK/B3G1MMFOOCl//eOIYtPzmKkqTfprFaBw/Z X-Received: by 2002:a17:906:dc8b:b0:6ef:86e8:777 with SMTP id cs11-20020a170906dc8b00b006ef86e80777mr11878402ejc.326.1650791661715; Sun, 24 Apr 2022 02:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650791661; cv=none; d=google.com; s=arc-20160816; b=i7uCXI6gRQAFjdpEf3k/ARoq8n9NsvArlVFlGw0qAwZIxjvn4cxUQfODcIbbHGH+9y 9aIRUpGSz4NDETwWK8rLl/dqITv9fX+wDsB49RS0iVR+01OqRetdp6veMqsF1E6Ty82A toZHOH75HmrgowCOUddsmFWxqdaxgz0/B5F4duDecS9XOjBco/0GPrHXu4ec9crjmr4v l0AMLy8cYHnsnqaQSRbdxshYv16zj/sJkb05mK3mHcqxDpbiQK6muREAUh60ElK9yJr4 z1E5efeDeh3ZubrrbZHWfKMONxzMqHowzwzIgRa7riXzFrf/AsFwnINWOw8Ye6bnZA2M CkgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=d1VjK1xtkmP9URRCXEubGmmd5y56XLQCRFwZdbrT84s=; b=qzct6lHQNjF1dgeBwWLI2jtn1N7K7l/93XhrIFXGn6DogjAo89nCgUGpnPnSQc9tg8 xj2iluCDZCUUWgHapDKJUGuK2uPOUivqm0alU69dSg7vwAZjrEkZt6vPv7TngKaE5X9X GiO0Qk5jRihAc7RA6L30T6m8+uk9sxryxSZyorE6DnlSnFaK3nXuCS7Aq5x/bjsKmIHX +HKnM/omeR2zKNIJxc3tZtvH7O/R4jECRcnrPKV+uMY7MJEaEsVbUjHi8cYnDWxdIden IKUq/AIwklLc0qBU0qGN/kXVSm0PhW73u8aKdkBM2YLuZFczUbVv24S9jHAqpgDblabq CpZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=2EEFaDHK; dkim=pass header.i=@codewreck.org header.s=2 header.b=2EEFaDHK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bo19-20020a170906d05300b006df76385bc2si10933178ejb.98.2022.04.24.02.13.58; Sun, 24 Apr 2022 02:14:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=2EEFaDHK; dkim=pass header.i=@codewreck.org header.s=2 header.b=2EEFaDHK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237389AbiDXHCB (ORCPT + 99 others); Sun, 24 Apr 2022 03:02:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233788AbiDXHCA (ORCPT ); Sun, 24 Apr 2022 03:02:00 -0400 Received: from nautica.notk.org (nautica.notk.org [91.121.71.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF70E1A61E4; Sat, 23 Apr 2022 23:59:00 -0700 (PDT) Received: by nautica.notk.org (Postfix, from userid 108) id 9C2E7C01C; Sun, 24 Apr 2022 08:58:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1650783537; bh=d1VjK1xtkmP9URRCXEubGmmd5y56XLQCRFwZdbrT84s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2EEFaDHKB74Y41gspMjN58AfcMH0nOu581BoBWpuRMtCruEUbfUBzJ667erlgE77y OfpaY0jpdZlOUM+sYPdaUx4oY+QnXWN/Cfir8QJUNb1NGMZ2ZNZcvZkizEHHz4X3uw qybPYksS394xjitQHLWWvyILQsd64C+P3jv5d6kNJqd+yCHxPVgTY8YP5ZmHlw7sw/ X/dobP2ssY70GowhEU3ip3N6ua5CAkaZA+OHngQ+mYXAvNPmKICkEhJGYiQER9akcI d+wkCTbPcEE52gOs5iN1ykpdBFj2V8TQ5/TGUH+Z+8gb2F3M8o8D9khmeMVjzR28Tj dq12z9n4x1t+Q== X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from odin.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id DC08BC009; Sun, 24 Apr 2022 08:58:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1650783537; bh=d1VjK1xtkmP9URRCXEubGmmd5y56XLQCRFwZdbrT84s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2EEFaDHKB74Y41gspMjN58AfcMH0nOu581BoBWpuRMtCruEUbfUBzJ667erlgE77y OfpaY0jpdZlOUM+sYPdaUx4oY+QnXWN/Cfir8QJUNb1NGMZ2ZNZcvZkizEHHz4X3uw qybPYksS394xjitQHLWWvyILQsd64C+P3jv5d6kNJqd+yCHxPVgTY8YP5ZmHlw7sw/ X/dobP2ssY70GowhEU3ip3N6ua5CAkaZA+OHngQ+mYXAvNPmKICkEhJGYiQER9akcI d+wkCTbPcEE52gOs5iN1ykpdBFj2V8TQ5/TGUH+Z+8gb2F3M8o8D9khmeMVjzR28Tj dq12z9n4x1t+Q== Received: from localhost (odin.codewreck.org [local]) by odin.codewreck.org (OpenSMTPD) with ESMTPA id 0fdac319; Sun, 24 Apr 2022 06:58:50 +0000 (UTC) Date: Sun, 24 Apr 2022 15:58:35 +0900 From: Dominique Martinet To: bpf@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, KP Singh , John Fastabend , Yonghong Song , Song Liu , Martin KaFai Lau , Andrii Nakryiko , Daniel Borkmann , Alexei Starovoitov Subject: Re: [PATCH 1/4] tools/bpf/runqslower: musl compat: explicitly link with libargp if found Message-ID: References: <20220424051022.2619648-1-asmadeus@codewreck.org> <20220424051022.2619648-2-asmadeus@codewreck.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220424051022.2619648-2-asmadeus@codewreck.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dominique Martinet wrote on Sun, Apr 24, 2022 at 02:10:19PM +0900: > After having done this work I noticed runqslower is not actually > installed, so ideally instead of all of this it'd make more sense to > just not build it: would it make sense to take it out of the defaults > build targets? > I could just directly build the appropriate targets from tools/bpf > directory with 'make bpftool bpf_dbg bpf_asm bpf_jit_disasm', but > ideally I'd like to keep alpine's build script way of calling make from > the tools parent directory, and 'make bpf' there is all or nothing. Well, it turns out runqslower doesn't build if the current kernel or vmlinux in tree don't have BTF enabled, so the current alpine builder can't build it. I've dropped this patch from my alpine MR[1] and built things directly with make bpftool etc as suggested above, so my suggestion to make it more easily buildable that way is probably the way to go? [1] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33554 Thanks, -- Dominique