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 ms0.migadu.com with LMTPS id GN8wCmnmL2ESYAEAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 22:45:29 +0200 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 OBC8BWnmL2EuLAAAbx9fmQ (envelope-from ) for ; Wed, 01 Sep 2021 20:45:29 +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 D62361AB3C for ; Wed, 1 Sep 2021 22:45:28 +0200 (CEST) Received: from localhost ([::1]:40864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLX6t-0002dF-KI for larch@yhetil.org; Wed, 01 Sep 2021 16:45:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLX6U-0002cw-M7 for guix-patches@gnu.org; Wed, 01 Sep 2021 16:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLX6U-0003MK-CQ for guix-patches@gnu.org; Wed, 01 Sep 2021 16:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLX6U-0002OZ-1j for guix-patches@gnu.org; Wed, 01 Sep 2021 16:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50325] [PATCH v2] gnu: Add fatrace. References: <20210901190436.13571-1-raphael.melotte@mind.be> In-Reply-To: <20210901190436.13571-1-raphael.melotte@mind.be> Resent-From: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 20:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50325 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50325@debbugs.gnu.org Cc: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Received: via spool by 50325-submit@debbugs.gnu.org id=B50325.16305290699156 (code B ref 50325); Wed, 01 Sep 2021 20:45:02 +0000 Received: (at 50325) by debbugs.gnu.org; 1 Sep 2021 20:44:29 +0000 Received: from localhost ([127.0.0.1]:39089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLX5x-0002Nb-E7 for submit@debbugs.gnu.org; Wed, 01 Sep 2021 16:44:29 -0400 Received: from mail-ed1-f42.google.com ([209.85.208.42]:39898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLX5v-0002NP-Dp for 50325@debbugs.gnu.org; Wed, 01 Sep 2021 16:44:27 -0400 Received: by mail-ed1-f42.google.com with SMTP id r7so795057edd.6 for <50325@debbugs.gnu.org>; Wed, 01 Sep 2021 13:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FafC6n428iQjN8Fipwmb+FTpk/DaxJezYV6UvDT+K8c=; b=ODk1QiBUM6mVCndjtbPp0EmEO3yjM/nJXb+SiA5AoH0C+/Ga3DISRPIs/oApYdn1AX 9DDhUItkyMMGYZsveh/CQHyV+d/eEsQ3I2ntTTjmDFgT67uahE8hYhT2Q6JV3x00ddGH zpVqpEWrsS0zkYf1K+dcTOC5nZ66ZKeHMWmRCfq4PQNwnQz5BT/IFiEWO17uA3kKaviL crso7a5C8ClYWzsHHLUaPA1UdzU5aPyLgWbxRadvVF3efZfhJsnkTgOKH8Ee1yKPHQWz 4oG8zLnyus6kHtTStuoxGdDFYbWly8nuZEMXEgxq5RWKFoi5nOXp9E3Jd4yI0V3zM64r 4oZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FafC6n428iQjN8Fipwmb+FTpk/DaxJezYV6UvDT+K8c=; b=g900Zy4ZPVyp8StYoGF6flk853TNK+X/PI6NIKMrK/rFaNHKyOhONgPFhvInwhZFAy Yer/+G8lHRfKqGlpYsL2kPJK1aju/Tz9/IzS17OAVFk5VVEX8ifuC2p+29Al5SvZDSJQ 7xOHktYFP5RcxPpaCsHs9h/VKfs5COCok6VnsROqO8pa3THk5NyTCowfQqhtTo0iwJ2g p7YgdCrqqf4Fg8VrbEkLCioPBKAMx+qOMIrJ70e1gy4VgnL0DcZwGFVCllvEUvTdPy5J KWM/HkAHZW82O1YG2D1T1uFHzVoBClYUpOYZOoNhKcLgahZr2JcWIzviKqQ9BmWAwdHF fRKg== X-Gm-Message-State: AOAM531tDSLdTWcxKXEW8HAacWLtrRXVgIqEtPCQ6BtS3844VWda/G0L lCQp+hVXyOflTfpKqA3KpBxa2bn5r8ex7Dav X-Google-Smtp-Source: ABdhPJxnzwfxu60YNzKdBHwOESi0r3pJtwH8pQUMz0Tn5+vrZRQJLHzVSsN5f9AQu6mxGU6IFJHBHA== X-Received: by 2002:a05:6402:1642:: with SMTP id s2mr1469269edx.135.1630529061393; Wed, 01 Sep 2021 13:44:21 -0700 (PDT) Received: from localhost.localdomain (5.26-130-109.adsl-dyn.isp.belgacom.be. [109.130.26.5]) by smtp.gmail.com with ESMTPSA id b3sm387678ejb.7.2021.09.01.13.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 13:44:20 -0700 (PDT) From: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Date: Wed, 1 Sep 2021 22:43:35 +0200 Message-Id: <20210901204335.17131-1-raphael.melotte@mind.be> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630529128; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: 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:dkim-signature; bh=FafC6n428iQjN8Fipwmb+FTpk/DaxJezYV6UvDT+K8c=; b=HSt8fEOM4qzWdIO2+X4WdTqcIiMSBlpC/Y+f46WcqG3Bkw3hkCjNJYjyPGqrCgjuHWhLzn KJ3puR0r32aQ+U3SnTimfUUSlESzNwAqIQNsZ9qyTCrBLFxTHSvMOGTnYYODIHhMlPk1TG TBU3gN6dJGeQ7+HL6Nw03R+vNX8lr4Wj43DGb2WDSiIePo/kdmvfE/3C5XaL7x9PLUS0nF AN1RYkWUx2rBF81Fnl9B2Arb+Odt2FZEKuMZDqnOEb2N+nOhQHpKHGre5AozPsRiYxFW6h lHNgR5oPmD1e7Qjn46xiCVDMGBbE8FIdn8gcx4bTzfJ5c4PQHKic7uWDCdPEnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630529128; a=rsa-sha256; cv=none; b=gzH5xsqJQwcVI1u3g4JIkynO48IzTo5l6DWbjFNQjzQNDYgMK40bCD6x56f/ScaCUG2Tc+ trsoCk42Lbcjapq2PwNqOKBDvI7piFmKitLUls/+X2TbHB56/HeQGBPUtRqUgwTrH5O3s2 ofZ6QwR9vcXYyAkbsRCchiexPZ79CY4+3ezIkiNndYzeEuGjPqMb47/QnIgy4kkr61LCbI wJ+3wLEn6HlxcHMXUgOErOQm58GhluiLgZr7RrnsgbDLAh4vC5Z5h0NoI3rp6RUQLchj74 n4lvg+0Bx+jC7u3TrNXQFUgqKg/kYDxq5JbpL9do6YIECSP9twkhOupYQVhWpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mind.be header.s=google header.b=ODk1QiBU; 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-Migadu-Spam-Score: 1.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mind.be header.s=google header.b=ODk1QiBU; 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-Migadu-Queue-Id: D62361AB3C X-Spam-Score: 1.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: x7S8z6Nbk3zC * gnu/packages/monitoring.scm (fatrace): New variable. --- Changes v1 -> v2 (all suggested by Xinglu Chen): - put modify-phases on its own line. - update the description. - fix the comment for the check phase. gnu/packages/monitoring.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index d2aef0eaab..46dea5eeb8 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2021 Marius Bakke ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2021 Raphaël Mélotte ;;; ;;; This file is part of GNU Guix. ;;; @@ -650,3 +651,35 @@ LAN, if wanted, and clients can switch between multiple hosts on the network. Hostscope features a bridge to Influx DB. So Grafana can be used to visualize the recorded data over time.") (license license:gpl3+))) + +(define-public fatrace + (package + (name "fatrace") + (version "0.16.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/martinpitt/fatrace") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bxz6v1z0icp716jnv3knjyqp8bv6xnkz8gqd8z3g2b6yxj5xff3")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + ;; tests need root to run as root, + ;; and there is no make target for them: + (delete 'check)) + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)))) + (synopsis "File access events monitor") + (description "This package provides a utility to report system wide file +access events from all running processes. Its main purpose is to find +processes which keep waking up the disk unnecessarily and thus prevent some +power saving.") + (home-page "https://github.com/martinpitt/fatrace") + (license license:gpl3+))) -- 2.32.0