From patchwork Sat Aug 5 07:00:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fries X-Patchwork-Id: 52512 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 D064027BBE9; Sat, 5 Aug 2023 09:54:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 AD97027BBE2 for ; Sat, 5 Aug 2023 09:54:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSD2A-0003QU-65; Sat, 05 Aug 2023 04:53:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSD27-0003N4-Li for guix-patches@gnu.org; Sat, 05 Aug 2023 04:53:11 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSD26-0007Ig-9y for guix-patches@gnu.org; Sat, 05 Aug 2023 04:53:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSD26-0007Ll-51 for guix-patches@gnu.org; Sat, 05 Aug 2023 04:53:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65077] [PATCH 06/13] gnu: Add go-github-com-felixge-fgprof Resent-From: Fries Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 08:53:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65077@debbugs.gnu.org Cc: Fries X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169122557428033 (code B ref -1); Sat, 05 Aug 2023 08:53:09 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2023 08:52:54 +0000 Received: from localhost ([127.0.0.1]:55472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSD1p-0007Hz-Vh for submit@debbugs.gnu.org; Sat, 05 Aug 2023 04:52:54 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSBHR-0001sg-RB for submit@debbugs.gnu.org; Sat, 05 Aug 2023 03:00:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSBHM-0006wo-7d for guix-patches@gnu.org; Sat, 05 Aug 2023 03:00:48 -0400 Received: from mail-40138.protonmail.ch ([185.70.40.138]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSBHK-0004ub-8w for guix-patches@gnu.org; Sat, 05 Aug 2023 03:00:47 -0400 Date: Sat, 05 Aug 2023 07:00:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1691218844; x=1691478044; bh=f6SH9Rr9rrD8pl0gkobLBJ5i9kqZcvFtElr5OSFrWCI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=jV2vL3UkJiOei9MWqFFetLVzhK5bhfKvTC2PEzkXV6Bds+9wLi2/od2iJDKprrTKf 8G3PSK2DQ4TqKJG7AUKNHVTrA9GIlEDPM01FUQ7RivhTrUbT7mTwk3EIn8dy1vxg9j NCBdOaVI+NzWAMDA/whofHSWfq1gv/cnjvzR4lPtocVqObdWliIA5Y/O/IBdydNPHd NH+E5tiSd4ZVEA6RmxUXNTYnp+F3pfsl3yN8USM41cBcI9hNcx7kN6uEgJ8ePHA1wy GiFsxfI6TYlCgNb01ucOQ2QahXdJv7QUW50qQ/InnGhMCB/EeQbWOmlTMb4aj9Y5lM qWJaEQXzOJC8Q== Message-ID: In-Reply-To: References: Feedback-ID: 42759890:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.138; envelope-from=fries1234@protonmail.com; helo=mail-40138.protonmail.ch X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 05 Aug 2023 04:52:39 -0400 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: , Reply-to: Fries X-ACL-Warn: , Fries via Guix-patches X-Patchwork-Original-From: Fries via Guix-patches via From: Fries Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-felixge-fgprof): Add variable. --- gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 9f5ef95b82..208b88d934 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2113,6 +2113,36 @@ (define-public go-github-com-dhowett-go-plist types.") (license license:giftware)))) +(define-public go-github-com-felixge-fgprof + (package + (name "go-github-com-felixge-fgprof") + (version "0.9.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/felixge/fgprof") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "03q3vnjd13r944y2qvfncs21lfkgmg0y8z14zz0xda1hz490wha3")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/felixge/fgprof" + #:phases (modify-phases %standard-phases + ;; The tests fails randomly. + (delete 'check)))) + (propagated-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) + ("go-github-com-google-pprof" ,go-github-com-google-pprof))) + (home-page "https://github.com/felixge/fgprof") + (synopsis "The Full Go Profiler") + (description + "Fgprof is a sampling Go profiler that allows you to analyze On-CPU as well as +@uref{https://www.brendangregg.com/offcpuanalysis.html,Off-CPU} (e.g. I/O) time +together.") + (license license:expat))) + (define-public go-github-com-google-pprof (package (name "go-github-com-google-pprof")