From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EMyrExeAI1+5GAAA0tVLHw (envelope-from ) for ; Fri, 31 Jul 2020 02:21:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gFJzDxeAI195VAAA1q6Kng (envelope-from ) for ; Fri, 31 Jul 2020 02:21:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BE2519404CA for ; Fri, 31 Jul 2020 02:21:10 +0000 (UTC) Received: from localhost ([::1]:44954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1KfV-00071V-2W for larch@yhetil.org; Thu, 30 Jul 2020 22:21:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1KfO-000705-Ty for guix-patches@gnu.org; Thu, 30 Jul 2020 22:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1KfO-0006I5-KJ for guix-patches@gnu.org; Thu, 30 Jul 2020 22:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1KfO-0004Lb-Cn for guix-patches@gnu.org; Thu, 30 Jul 2020 22:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42227] BPF in linux-libre Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Jul 2020 02:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42227 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 42227@debbugs.gnu.org Received: via spool by 42227-submit@debbugs.gnu.org id=B42227.159616204016660 (code B ref 42227); Fri, 31 Jul 2020 02:21:02 +0000 Received: (at 42227) by debbugs.gnu.org; 31 Jul 2020 02:20:40 +0000 Received: from localhost ([127.0.0.1]:37017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1Kf2-0004Ke-BD for submit@debbugs.gnu.org; Thu, 30 Jul 2020 22:20:40 -0400 Received: from mail-pl1-f172.google.com ([209.85.214.172]:33409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1Kez-0004KQ-3A for 42227@debbugs.gnu.org; Thu, 30 Jul 2020 22:20:39 -0400 Received: by mail-pl1-f172.google.com with SMTP id g19so3411126plq.0 for <42227@debbugs.gnu.org>; Thu, 30 Jul 2020 19:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6D8y03wfq8jf67eKzIls3w1+ch4+6cUyxIzUeT1h2bk=; b=yHP5pU23mSo5pTIjtAMJvpSTJ4r/L8XoREbqZY/5x0SC1Zc2DNJvziCcf924Fipzuc gGZbzXfLpgQJEK6t7S1blcw6UxRjH6l1fPuUMjchTMIbC3u3lk296JYJiS1rPv8ISVA8 qIgBL+5X1WGHJkx8enqwpnO9GO4TBc1AayDu+VXj4VxKtkcVcaptkP8S7bFUq0qriUPu FkPUS3gLmXwLYhxT6iuaL6Qnper8rJCKSRauaOqjQ1NcTaJtumHE2QJUBLyVt51ZZjXS /rS/VWzmGUQ3i5Izp0MKPWZ/czs8+LDghIhFGWzuneYyjKz7O/wGUOB9uN2X1GULSZ/4 XH1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=6D8y03wfq8jf67eKzIls3w1+ch4+6cUyxIzUeT1h2bk=; b=JjjrymD3OkvCr4a7X7MivRQHkkhfpN0PfKMM6DfMUIGI6mYHsyUU1gIbC87aag3Ot1 PHwS4Qca0zaLcrpmxow16mGP9FoVS2L8BNI85dwCEVpF88a+hXwChRqHN1mHD0DeSlHA XR3GswCa6nKKGSYMIJsFTw15bzQ639A630zPswgkxBR000vyPjzzgVQDrYV4hIAXTGkp Ek3jfWXN01neeem0PsXtaOZ6uMnLJIVZuADwVGb/cp6azclhl5eohoPPQYkFatMqz6No u9h7+aYRKZFNaal/7in/VHx49g2JeJZuOMEarxJH5mD0Z7cr1VnaR4wlKyDLhhoxPpUc sDCA== X-Gm-Message-State: AOAM532A2GlUnQuHaMSkwntLWiTIVEDgI4qXHX15ENlbbOjLPej/apwn ta5z9Qi0Tlp7XP5vyb2Cc0Wk2ytL1gY= X-Google-Smtp-Source: ABdhPJzQH+tOKCGGp2JbqcGlV/amYMXgtuEDntjwvxVZ3Ci3zr0KXQ4Na2t9+RYnVjYhyevxTH19nQ== X-Received: by 2002:a17:90a:de0d:: with SMTP id m13mr1962571pjv.23.1596162030377; Thu, 30 Jul 2020 19:20:30 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::620]) by smtp.gmail.com with ESMTPSA id my16sm7519134pjb.43.2020.07.30.19.20.28 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Jul 2020 19:20:29 -0700 (PDT) From: John Soo References: <44046537-51AD-4BD7-8442-41738C4D8C98@asu.edu> <87lfkqknla.fsf@gnu.org> <87h7vdd6ms.fsf@asu.edu> <87wo46uhdr.fsf@gnu.org> <87zh8wph7h.fsf@asu.edu> <87wo3uxfrq.fsf@gnu.org> <871rlsegf2.fsf@asu.edu> <87h7umjruz.fsf@gnu.org> <87zh8dlbeu.fsf@asu.edu> <87d0587p1o.fsf@gnu.org> <87r1ti9fto.fsf@asu.edu> <87d04cvnxk.fsf@gnu.org> Date: Thu, 30 Jul 2020 19:20:27 -0700 In-Reply-To: <87d04cvnxk.fsf@gnu.org> (Mathieu Othacehe's message of "Thu, 30 Jul 2020 20:48:55 +0200") Message-ID: <87v9i48lxw.fsf@asu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=yHP5pU23; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: T1ZHiU3hf26M Hi Mathieu! > Thanks for your patience! No problem. I'm quite busy too. >> I also added debugfs as a requirement for a bpf system. To use it >> %bpf-file-systems can be used in place of %base-file-systems in the >> operating system definition. > > Actually, I wonder if we could mount debugfs by default, by adding it to > %base-file-systems. Any objections? That seems ok. I did find a few questions about debugfs on old irc logs and mailing lists. My only concern again is that I would prefer to opt in to such a thing. debugfs is much simpler than the bpf kernel flags though, so maybe it will be ok to remove in the future. > In the meantime I pushed the bcc patch with a few edits. Regarding > bpftrace, I'd like to avoid the "-DHAVE_BFD_DISASM=OFF" patching, I > found this ticket which seems related: > https://github.com/iovisor/bpftrace/issues/1106, but didn't make any > significant progress yet. I have tried every which way I can to make HAVE_BFD_DISASM work. A kind persn from the bpftrace irc directed me to this PR: https://github.com/iovisor/bpftrace/pull/1095 But I cannot see anything guix does differently that would cause it to fail. My only feeling is perhaps our configure flags for binutils might be causing the issue. As is, however, bpftrace does work even with out HAVE_BFD_DISASM and I even used it to debug a few processes recently. Thanks again! - John