unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>
Cc: 31226-done@debbugs.gnu.org
Subject: bug#31226: [PATCH] gnu: Add libpfm4.
Date: Thu, 26 Apr 2018 15:29:26 +0200	[thread overview]
Message-ID: <87o9i62j0p.fsf@gnu.org> (raw)
In-Reply-To: <20180420153057.14400-1-pierre-antoine.rouby@inria.fr> (Rouby Pierre-Antoine's message of "Fri, 20 Apr 2018 17:30:57 +0200")

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

Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr> skribis:

> * gnu/packageslinux.scm (libpfm4): New variable.

Applied with the following changes based on their README.

Thank you!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1460 bytes --]

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b6d00c853..4d2446317 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4712,12 +4712,18 @@ high-speed networking devices.")
                                 (string-append "PREFIX=" out)
                                 "install")
                         #t))))))
-    (synopsis "Performance events monitoring library for Linux perf_events")
+    (synopsis "Performance event monitoring library")
     (description
-     "This package is a user library called libpfm4 to help setup performance
-events for use with the perf_events Linux kernel interface.
+     "This package provides a library called libpfm4, which is used to develop
+monitoring tools exploiting the performance monitoring events such as those
+provided by the Performance Monitoring Unit (PMU) of modern processors.
 
-This is a complete rewrite of libpfm3 and it is NOT backward compatible
-with it.")
+Libpfm4 helps convert from an event name, expressed as a string, to the event
+encoding that is either the raw event as documented by the hardware vendor or
+the OS-specific encoding.  In the latter case, the library is able to prepare
+the OS-specific data structures needed by the kernel to setup the event.
+
+libpfm4 provides support for the @code{perf_events} interface, which was
+introduced in Linux 2.6.31.")
     (home-page "http://perfmon2.sourceforge.net/")
     (license license:expat)))

      reply	other threads:[~2018-04-26 13:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-20 15:30 [bug#31226] [PATCH] gnu: Add libpfm4 Rouby Pierre-Antoine
2018-04-26 13:29 ` Ludovic Courtès [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87o9i62j0p.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=31226-done@debbugs.gnu.org \
    --cc=pierre-antoine.rouby@inria.fr \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).