From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mNxiAEC76WEyZwAAgWs5BA (envelope-from ) for ; Thu, 20 Jan 2022 20:42:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QIB5OT+76WGhOwEA9RJhRA (envelope-from ) for ; Thu, 20 Jan 2022 20:42:55 +0100 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 8176EA9EF for ; Thu, 20 Jan 2022 20:42:55 +0100 (CET) Received: from localhost ([::1]:54202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAdKg-0000KR-LO for larch@yhetil.org; Thu, 20 Jan 2022 14:42:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAYQx-0002kL-DM for guix-patches@gnu.org; Thu, 20 Jan 2022 09:29:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAYPy-0003Sl-AX for guix-patches@gnu.org; Thu, 20 Jan 2022 09:29:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAYPy-0007e2-8r for guix-patches@gnu.org; Thu, 20 Jan 2022 09:28:02 -0500 Subject: bug#53324: [PATCH] gnu: Add uftrace. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 20 Jan 2022 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Olivier Dion Cc: 53324-done@debbugs.gnu.org Mail-Followup-To: 53324@debbugs.gnu.org, ludo@gnu.org, olivier.dion@polymtl.ca Received: via spool by 53324-done@debbugs.gnu.org id=D53324.164268887629367 (code D ref 53324); Thu, 20 Jan 2022 14:28:02 +0000 Received: (at 53324-done) by debbugs.gnu.org; 20 Jan 2022 14:27:56 +0000 Received: from localhost ([127.0.0.1]:56982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAYPs-0007da-AP for submit@debbugs.gnu.org; Thu, 20 Jan 2022 09:27:56 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:50230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAYPq-0007dM-1v for 53324-done@debbugs.gnu.org; Thu, 20 Jan 2022 09:27:54 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6E27E40E; Thu, 20 Jan 2022 15:27:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iO3V2DZ0dJlx; Thu, 20 Jan 2022 15:27:46 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 799073EB; Thu, 20 Jan 2022 15:27:46 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <444ae3feb5c1de399608abb52ba9238a61019098.1642454641.git.olivier.dion@polymtl.ca> Date: Thu, 20 Jan 2022 15:27:46 +0100 In-Reply-To: <444ae3feb5c1de399608abb52ba9238a61019098.1642454641.git.olivier.dion@polymtl.ca> (Olivier Dion's message of "Mon, 17 Jan 2022 16:25:11 -0500") Message-ID: <87tudy7a8t.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 6E27E40E X-Spamd-Result: default: False [0.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; R_MIXED_CHARSET(0.56)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642707775; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=dNOdWZ5lfLh/MbqOrqzfDpl3F1TOVY0t0ulm8oKQGyc=; b=nsEhiStlO96QQA0/jYQCukdqp6A4ccOgHck2lBbe19v6avegp00YwRW+dDH3UcRZ31s3gZ 9bQT2pLnRytgSaTGeFuT9bFi4H+ZVx1yMDGBjPCFNOhUl4fZcg+03Ae4fd+UzZDM/OEJQy kxZTAvyF5m789KjS/cOWhDdcTUxAcHNpjQcKhreH/wOhO2QuSiPVPRzgQxxiBaJIYxLjLS /vgsOoECCvgfrd8dZnVfPtTbLYpGGf2JTrxamI+4kfxYyGMKSRF11oT08AHrU0a5phSZpL IzSV4nQNnoUaLIfhItLnjGKOSrrYV0SHlb+OJBmeYlRj4xDNyVSIf63h7ZOeaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642707775; a=rsa-sha256; cv=none; b=WVe8Lz6jcL4tMxX4AF4SuZh1urwnfeJOgUCzrK9TWENZGL2+I4mRmZnDFsJ+ZJmNrWXNKn BCcfEnoTbKZaOIHI2LQvCq4O5cFrOABgQgUpsDWCgv3PT7p+gqKaLidTGRo1fGNNwVm31z CDftt3GleKQZZIxhXaRWIjUkBrDuxahgMKU4I/1sNSA5LQKYKfleEPOo0bIEMfjo9o8vtK nJ33g3Fg6Ej2ViwQX1JSTazuzumJCvHtmX8mZJJ2Bx3KJpUu+MuorBjyQ9RdpC5oJGFrVU R1FTfNT06T7UqHTJIyV5nOwUrvNzwPYSxtANJuovWsXx/05sTszCoReU1C8GUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8176EA9EF X-Spam-Score: -2.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: qjWY++4DRNlN --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Olivier Dion skribis: > * gnu/packages/instrumentation.scm: (uftrace): New variable. Applied with the following tweaks. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm index 29c15d1deb..a58a474a38 100644 --- a/gnu/packages/instrumentation.scm +++ b/gnu/packages/instrumentation.scm @@ -283,22 +283,16 @@ (define-public uftrace (invoke "./configure" (string-append "--prefix=" (assoc-ref outputs "out")))))))) - (native-search-paths - (list (search-path-specification - (variable "TERMINFO_DIRS") - (files '("share/terminfo"))))) (inputs - (list - capstone - elfutils - libunwind - ncurses)) + (list capstone + elfutils + libunwind + ncurses)) (native-inputs - (list - luajit - pandoc - pkg-config - python-wrapper)) + (list luajit + pandoc + pkg-config + python-wrapper)) (home-page "https://github.com/namhyung/uftrace") (synopsis "Function graph tracer for C/C++/Rust") (description "uftrace is a tool for tracing and analyzing the execution of --=-=-=--