From patchwork Wed Oct 18 09:38:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 54955 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 A10C427BBE2; Wed, 18 Oct 2023 10:40:33 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 E0C4427BBE9 for ; Wed, 18 Oct 2023 10:40:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qt328-0008H3-R1; Wed, 18 Oct 2023 05:40:09 -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 1qt31n-00083v-3K for guix-patches@gnu.org; Wed, 18 Oct 2023 05:39:47 -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 1qt31m-0001t7-EL for guix-patches@gnu.org; Wed, 18 Oct 2023 05:39:46 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qt32C-0003qI-A6 for guix-patches@gnu.org; Wed, 18 Oct 2023 05:40:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66603] [PATCH 19/29] gnu: Add go-github-com-felixge-fgprof. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Oct 2023 09:40:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66603 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66603@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 66603-submit@debbugs.gnu.org id=B66603.169762199614544 (code B ref 66603); Wed, 18 Oct 2023 09:40:12 +0000 Received: (at 66603) by debbugs.gnu.org; 18 Oct 2023 09:39:56 +0000 Received: from localhost ([127.0.0.1]:33262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qt31w-0003mO-5a for submit@debbugs.gnu.org; Wed, 18 Oct 2023 05:39:56 -0400 Received: from mail.wmeyer.eu ([95.216.196.112]:43838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qt31Z-0003hN-1v for 66603@debbugs.gnu.org; Wed, 18 Oct 2023 05:39:33 -0400 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1697621934; bh=90ZWxqAmF2RHylTmzeHmRM9WrsXYsQ+X/llOKC8M9S0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=BAaYQWZmUJJebxksIBjExFiFHDPCh2t+IIeddP4gaCL3513f6P8uRWbUdrdjKTHkE q8E91aml04KSv/He7FuzUPvWDdmcQ7rWuI227GlkG2HD74uocGUfLvN1T4WVTn8NJc DPTq2nudEy3wBh03V0Qr49PTTTGSMWct7TOkovec= Date: Wed, 18 Oct 2023 11:38:17 +0200 Message-ID: <20231018093836.2056-19-w@wmeyer.eu> In-Reply-To: <20231018093836.2056-1-w@wmeyer.eu> References: <20231018093836.2056-1-w@wmeyer.eu> MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-felixge-fgprof): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 2fe4443ce0..e1fa16e895 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2147,6 +2147,32 @@ (define-public go-github-com-google-pprof "pprof is a tool for collection, manipulation and visualization of performance profiles.") (license license:asl2.0))) + +(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")) + (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 "🚀 fgprof - The Full Go Profiler") + (description + "fgprof is a sampling Go profiler that allows you to analyze On-CPU as well as +[Off-CPU](@@url{http://www.brendangregg.com/offcpuanalysis.html,http://www.brendangregg.com/offcpuanalysis.html}) +(e.g. I/O) time together.") + (license license:expat))) (define-public go-github-com-pkg-xattr (package (name "go-github-com-pkg-xattr")