all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: 40083@debbugs.gnu.org
Subject: [bug#40083] [PATCH] gnu: Add blktrace.
Date: Sun, 15 Mar 2020 21:52:18 +0100	[thread overview]
Message-ID: <CAEwRq=r6iuWO-DQcSwBPmfkY4Mm_75DDF8Q0O0XNydR+GA+2Vg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 64 bytes --]

Lightly tested on qemu VM, seems working OK

-- 
Vincent Legoll

[-- Attachment #2: 0001-gnu-Add-blktrace.patch --]
[-- Type: text/x-patch, Size: 2019 bytes --]

From 016265a4594239a9fa3f98031b0d89397b89cfe3 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 15 Mar 2020 21:25:54 +0100
Subject: [PATCH] gnu: Add blktrace.

* gnu/packages/linux.scm (blktrace): New variable.
---
 gnu/packages/linux.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index fda7570d89..4d966a2cad 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4013,6 +4013,37 @@ system calls, important for the performance of databases and other advanced
 applications.")
     (license license:lgpl2.1+)))
 
+(define-public blktrace
+  (let ((commit "f4f8ef7cdea138cfaa2f3ca0ee31fa23d3bcf1cc")
+        (revision "0"))
+    (package
+      (name "blktrace")
+      (version (git-version "1.2.0" revision commit))
+      (home-page
+        "https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url home-page)
+                      (commit commit)))
+                (sha256
+                 (base32 "1ihdfimg7mfcgdm6l09xfqx5kdyv42x743dxp3z3w65q5vd7xy89"))
+                (file-name (git-file-name name version))))
+      (build-system gnu-build-system)
+      (arguments
+       '(#:make-flags
+         (list "CC=gcc" (string-append "prefix=" %output))
+         #:tests? #f ; no tests
+         #:phases
+         (modify-phases %standard-phases (delete 'configure)))) ; no configure script
+      (inputs
+       `(("libaio" ,libaio)))
+      (synopsis "Block layer IO tracing mechanism")
+      (description "Blktrace is a block layer IO tracing mechanism which provides
+detailed information about request queue operations to user space.  It extracts
+event traces from the kernel (via the relaying through the debug file system).")
+      (license license:gpl2))))
+
 (define-public sbc
   (package
     (name "sbc")
-- 
2.25.1


             reply	other threads:[~2020-03-15 20:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15 20:52 Vincent Legoll [this message]
2020-03-15 21:00 ` [bug#40083] [PATCH] gnu: Add blktrace Vincent Legoll
2020-03-15 21:47   ` Vincent Legoll
2020-03-19 14:04     ` Ludovic Courtès
2020-03-19 15:05       ` Vincent Legoll
2020-03-19 15:48         ` Marius Bakke
2020-03-19 16:01           ` Vincent Legoll
2020-03-19 17:25             ` Vincent Legoll
2020-03-20 17:35               ` bug#40083: " Marius Bakke
2020-03-20 21:52 ` [bug#40083] cleanups submitted upstream Vincent Legoll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEwRq=r6iuWO-DQcSwBPmfkY4Mm_75DDF8Q0O0XNydR+GA+2Vg@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=40083@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.