From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ULoPHVrh9mJa5wAAbAwnHQ (envelope-from ) for ; Sat, 13 Aug 2022 01:25:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WBgOHVrh9mK4TgAA9RJhRA (envelope-from ) for ; Sat, 13 Aug 2022 01:25:14 +0200 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 5031E21225 for ; Sat, 13 Aug 2022 01:25:14 +0200 (CEST) Received: from localhost ([::1]:36576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMe1g-0004FY-Tv for larch@yhetil.org; Fri, 12 Aug 2022 19:25:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMe1W-0004EJ-QH for guix-patches@gnu.org; Fri, 12 Aug 2022 19:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMe1W-0005T0-GO for guix-patches@gnu.org; Fri, 12 Aug 2022 19:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMe1W-0001h2-BK for guix-patches@gnu.org; Fri, 12 Aug 2022 19:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57164] [PATCH v2] gnu: Add lttng-modules. References: <675d6dc1eb8f512129e8036ca2c4abf1b91e4c9d.1660343726.git.olivier.dion@polymtl.ca> In-Reply-To: <675d6dc1eb8f512129e8036ca2c4abf1b91e4c9d.1660343726.git.olivier.dion@polymtl.ca> Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Aug 2022 23:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57164 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57164@debbugs.gnu.org Cc: Olivier Dion Received: via spool by 57164-submit@debbugs.gnu.org id=B57164.16603466716464 (code B ref 57164); Fri, 12 Aug 2022 23:25:02 +0000 Received: (at 57164) by debbugs.gnu.org; 12 Aug 2022 23:24:31 +0000 Received: from localhost ([127.0.0.1]:59235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMe10-0001gC-Ua for submit@debbugs.gnu.org; Fri, 12 Aug 2022 19:24:31 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:47630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMe0x-0001fx-Fp for 57164@debbugs.gnu.org; Fri, 12 Aug 2022 19:24:29 -0400 Received: from laura.hitronhub.home (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 27CNODOZ006680 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 12 Aug 2022 19:24:21 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 27CNODOZ006680 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1660346661; bh=id2/FJdWFhvIuGeaVUQ5c+KDr4gE2/xkjqRS3CJ9BzA=; h=From:To:Cc:Subject:Date:From; b=BqVbdPwPGenwbttg+Xvwz/5Urfaf93m5/uCWMxZUSo98/PFir94NzZAqMii5vhzAX o7ihRLvwhh8tUfIGih0K/kd9JvARC0/2N88tK1p1dgl8H1LBeqCHk1yrCNk8N5ENlZ WoA36FVxUnuNNjWy2NkBCF8XUJZ7t2XeVBQk4U2M= Date: Fri, 12 Aug 2022 19:24:12 -0400 Message-Id: <1ccae58591bf2bd7b424f3a7a7c3ae78a5b8d849.1660346623.git.olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Fri, 12 Aug 2022 23:24:13 +0000 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" Reply-to: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches From: Olivier Dion via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660346714; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=id2/FJdWFhvIuGeaVUQ5c+KDr4gE2/xkjqRS3CJ9BzA=; b=uA6mWi2u3Huy054x96apFhY9/5LWFnzIm/p6ftL/jlRzcGkjmGKzCoQ+zPlfOu3oqEwcxW BuWJrLoZYGhmoi5qWKtICFpuuoekSaqfV/7I3I3zMJlolkkG26l8H+Obl56pgiB+a0paUY CR1FXTZd8pfRi3WdheYdsXZt2LJ8ddhDR7l4+FdKRpp9bM+2q4Pa45HyUhm6JuKB4lhoDo MaJQKFSxNe5oQO3sABlU4nvzcb/eSDhnkjC0WM6iZgiCYiY+cc8CcSxHzsiSPYm2tQj6iN 0K854xJRrd4FwIz1Q5kXizdGKr5RfTarSwUtfAeydMXxP2u8NSb4J+mjhuewHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660346714; a=rsa-sha256; cv=none; b=lPhyfKio1yezDT/G71HkMp3gHAwmj4rO+/Qc1enrmOG3JNXcu4WrvyTBKwH4gQ/ktRQTgl TDXn0I/gqocz2uZ2/oLnRfjO8aYER+xP5IimErFtHGqA0HQfV2w4d6XDPQ/BkbDdJoR0KG nf9sKtkxI4VO8asNdT9WT6A54zaHzY5bJXnTSTCRHBCbriAiwRWQfHhh0pzPZnGH9bF9Ra QylqiekCaS/50aU94mWMGo4PkHE6tEwbjt4px5unMwlFSjXnGBXGLU/8RYgEO8KPbRFy29 auWCvjTvX5GvJoUdtJBmZ+c0xE53w9BP2/9xU66EX3aSr/oprxG29cHDyzLKRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=BqVbdPwP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b=BqVbdPwP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5031E21225 X-Spam-Score: -2.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: U6aQKWO4DAcX * gnu/packages/instrumentation.scm (lttng-modules): New variable. --- gnu/packages/instrumentation.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm index f52cf11505..9f4ff325f5 100644 --- a/gnu/packages/instrumentation.scm +++ b/gnu/packages/instrumentation.scm @@ -50,6 +50,7 @@ (define-module (gnu packages instrumentation) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) + #:use-module (guix build-system linux-module) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) @@ -206,6 +207,30 @@ (define-public flamegraph with the script @command{flamegraph.pl} and many stackcollapse scripts.") (license license:cddl1.0)))) +(define-public lttng-modules + (package + (name "lttng-modules") + (version "2.13.4") + (source (origin + (method url-fetch) + (uri (string-append "https://lttng.org/files/lttng-modules/" + "lttng-modules-" version ".tar.bz2")) + (sha256 + (base32 + "1vm9nnjvid7acsvgwnjyxd60ih9rmbhnfjldxip58n8x9q7d0nb1")))) + (build-system linux-module-build-system) + (arguments + `(#:tests? #f + #:make-flags (list "CONFIG_LTTNG=m" "CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m"))) + (home-page "https://lttng.org/") + (synopsis "LTTng modules provide kernel tracing capability to the LTTng +tracer toolset") + (description + "LTTng kernel modules are Linux kernel modules which make +LTTng kernel tracing possible. They include essential control modules and +many probes which instrument numerous interesting parts of Linux.") + (license (list license:lgpl2.1 license:gpl2 license:expat)))) + (define-public lttng-ust (package (name "lttng-ust") -- 2.37.1