From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0MskOiP7I18bQwAA0tVLHw (envelope-from ) for ; Fri, 31 Jul 2020 11:06: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 mp1 with LMTPS id oN7SNSP7I192AgAAbx9fmQ (envelope-from ) for ; Fri, 31 Jul 2020 11:06: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 552BC9403CB for ; Fri, 31 Jul 2020 11:06:11 +0000 (UTC) Received: from localhost ([::1]:34746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1SrZ-0004pc-Oj for larch@yhetil.org; Fri, 31 Jul 2020 07:06:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1SrS-0004nT-MS for guix-patches@gnu.org; Fri, 31 Jul 2020 07:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1SrS-0006iK-Co for guix-patches@gnu.org; Fri, 31 Jul 2020 07:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1SrS-0004hu-8e for guix-patches@gnu.org; Fri, 31 Jul 2020 07:06:02 -0400 Subject: bug#42227: BPF in linux-libre Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 31 Jul 2020 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42227 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: John Soo Cc: 42227-done@debbugs.gnu.org Mail-Followup-To: 42227@debbugs.gnu.org, othacehe@gnu.org, othacehe@gnu.org Received: via spool by 42227-done@debbugs.gnu.org id=D42227.159619350317865 (code D ref 42227); Fri, 31 Jul 2020 11:06:02 +0000 Received: (at 42227-done) by debbugs.gnu.org; 31 Jul 2020 11:05:03 +0000 Received: from localhost ([127.0.0.1]:37395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1SqU-0004e1-UT for submit@debbugs.gnu.org; Fri, 31 Jul 2020 07:05:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1SqR-0004dJ-0n for 42227-done@debbugs.gnu.org; Fri, 31 Jul 2020 07:05:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35523) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1SqL-0006Tr-4H; Fri, 31 Jul 2020 07:04:53 -0400 Received: from [2a01:cb18:832e:5f00:c08f:7d21:ea98:a1c5] (port=49114 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k1SqJ-0003Rk-2f; Fri, 31 Jul 2020 07:04:52 -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> <87d04cvnxk.fsf@gnu.org> <87v9i48lxw.fsf@asu.edu> Date: Fri, 31 Jul 2020 13:04:47 +0200 In-Reply-To: <87v9i48lxw.fsf@asu.edu> (John Soo's message of "Thu, 30 Jul 2020 19:20:27 -0700") Message-ID: <87r1ss0wts.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: -1.01 X-TUID: N9Zby2zNFjDG Hey, > 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. Yeah, but I saw that Ubuntu for instance is enabling it by default, so I guess it could help to have the same behaviour in Guix System. Added it with: 6bb07e91e1ab9367f636a3a5e9d52a9e0772aa89. > 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. Gave it another try and I think if we could get "binutils" to produce a dynamic version of libbfd.a, that would make the trick. Anyway, let's proceed without BFD support for now. Pushed bpftrace as c55acb073248392b1387017378f36a1d378fa7c4. Closing the serie, thank you! Mathieu