From patchwork Thu Jan 20 14:27:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 36650 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9FB9F27BBEA; Thu, 20 Jan 2022 19:42:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7510427BBE9 for ; Thu, 20 Jan 2022 19:42:54 +0000 (GMT) Received: from localhost ([::1]:54202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAdKf-0000KR-Le for patchwork@mira.cbaines.net; Thu, 20 Jan 2022 14:42:53 -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 X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, Olivier Dion skribis: > * gnu/packages/instrumentation.scm: (uftrace): New variable. Applied with the following tweaks. Thanks! Ludo’. 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