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 vMDLOooWI186LQAA0tVLHw (envelope-from ) for ; Thu, 30 Jul 2020 18:50:50 +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 gCVMNooWI19zDQAA1q6Kng (envelope-from ) for ; Thu, 30 Jul 2020 18:50:50 +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 69B229403C9 for ; Thu, 30 Jul 2020 18:50:50 +0000 (UTC) Received: from localhost ([::1]:34050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1Ddf-0000wH-Tw for larch@yhetil.org; Thu, 30 Jul 2020 14:50:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1Dcw-0000Yk-4H for guix-patches@gnu.org; Thu, 30 Jul 2020 14:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1Dcv-00068i-OI for guix-patches@gnu.org; Thu, 30 Jul 2020 14:50:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1Dcv-0006ov-MB for guix-patches@gnu.org; Thu, 30 Jul 2020 14:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42227] BPF in linux-libre In-Reply-To: <87d0587p1o.fsf@gnu.org> Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jul 2020 18:50:01 +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: John Soo Cc: 42227@debbugs.gnu.org Received: via spool by 42227-submit@debbugs.gnu.org id=B42227.159613494726151 (code B ref 42227); Thu, 30 Jul 2020 18:50:01 +0000 Received: (at 42227) by debbugs.gnu.org; 30 Jul 2020 18:49:07 +0000 Received: from localhost ([127.0.0.1]:36723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1Dc3-0006nj-8H for submit@debbugs.gnu.org; Thu, 30 Jul 2020 14:49:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1Dc1-0006n8-IV for 42227@debbugs.gnu.org; Thu, 30 Jul 2020 14:49:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43357) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1Dbv-00063d-Q3; Thu, 30 Jul 2020 14:48:59 -0400 Received: from [2a01:cb18:832e:5f00:c08f:7d21:ea98:a1c5] (port=43578 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k1Dbv-00079S-2M; Thu, 30 Jul 2020 14:48:59 -0400 From: Mathieu Othacehe 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> Date: Thu, 30 Jul 2020 20:48:55 +0200 Message-ID: <87d04cvnxk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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=none; dmarc=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.49 X-TUID: xcYgyAVV3c8s Hey John, Thanks for your patience! > I wrapped the PYTHONPATH around the various provided python tools. > I also found a spare path that required patching. > I am not sure this fixes every tool but I did get a few to work now. Yes, I tested some of them, looks fine :). > 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? 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. Thanks, Mathieu