From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OBhZOLmETGHttgAAgWs5BA (envelope-from ) for ; Thu, 23 Sep 2021 15:44:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IEQXNLmETGHGagAA1q6Kng (envelope-from ) for ; Thu, 23 Sep 2021 13:44:25 +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 624D712CFF for ; Thu, 23 Sep 2021 15:44:25 +0200 (CEST) Received: from localhost ([::1]:53522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTP1T-0003vV-1X for larch@yhetil.org; Thu, 23 Sep 2021 09:44:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTOWA-0008Lc-Aw for guix-patches@gnu.org; Thu, 23 Sep 2021 09:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTOWA-0004VU-2e for guix-patches@gnu.org; Thu, 23 Sep 2021 09:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTOW9-00049v-Pl for guix-patches@gnu.org; Thu, 23 Sep 2021 09:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50756] [PATCH] gnu: Add lttng-tools. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Sep 2021 13:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50756 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50756@debbugs.gnu.org Cc: Olivier Dion X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163240268815927 (code B ref -1); Thu, 23 Sep 2021 13:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2021 13:11:28 +0000 Received: from localhost ([127.0.0.1]:52960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTOVb-00048n-Be for submit@debbugs.gnu.org; Thu, 23 Sep 2021 09:11:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:57108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTO1j-0003Eg-IJ for submit@debbugs.gnu.org; Thu, 23 Sep 2021 08:40:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTO1f-0003FY-Ue for guix-patches@gnu.org; Thu, 23 Sep 2021 08:40:35 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:58595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTO1c-0004ef-1t for guix-patches@gnu.org; Thu, 23 Sep 2021 08:40:30 -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 18NCe8tE007964 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 23 Sep 2021 08:40:19 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 18NCe8tE007964 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1632400819; bh=DlS4a9Fmoe7NxvPYFA5d0rj4BqLcs0DqwaKYxM1oFJA=; h=From:To:Cc:Subject:Date:From; b=mFdn/8TucU9oURHooGv133xYe/HBUaGZW5Cg0Blhh+j0cac88tGl7264WRTYv0yEG KGTjKW06qaS3RR31Yrgw9uyrmU+rn6wI4KwlcIRC0l0VE6v6A9M3Nw8W6n3IbWbOUo fPss6uTj70xTq8phUZ7wy8IT+1s+RdrvypKHqj4E= Date: Thu, 23 Sep 2021 08:40:04 -0400 Message-Id: <20210923124004.3164-1-olivier.dion@polymtl.ca> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Thu, 23 Sep 2021 12:40:08 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 23 Sep 2021 09:11:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 23 Sep 2021 09:44:18 -0400 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632404665; 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-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DlS4a9Fmoe7NxvPYFA5d0rj4BqLcs0DqwaKYxM1oFJA=; b=q96coqkirq/qysD36MDa1ye4NchZQ/IeBodiJvs+unctO2Ggl9nRwm4n+mLMBhNQsly4Pa 1hDz0mpvqTgmtfku4dUtToDIR0QPPNOdZm8c1uYkvBtkNoFM1Ew+7Pk4tOncTNKBYmsvrB absg34G88eoJjrb77qOJxHB4AIYtkpFC5VLP1RmBbYRRpCNeTJwC/JAwOtAyc3eqwDYQsV 5taUR2iIwckK2+p1QtVchPG1DaC5flLHjWz84TWQkhWbaxxjAIM6lr7T823CrmD45f/7X9 to++67tyxjlOA8ZWlJtfaLoMPalwZnQANJtmv7Vf0bj1lZ8FG9jZO0jhq08AUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632404665; a=rsa-sha256; cv=none; b=EOJDAYtkTZxI7apkJqMDLrcnWrmoVtC8g7u4cPthwH3AQzJJinP65F7sCqqcONBET2ZjPf BO2UZZ9Awyepo6CgjljdT8Wd08GJO0nfN9zzRevMjfv0yHKKQC8hzs6/EBeJJy4jyK7VGK JCbv/+PamgD4JqGQ8MDBTpfxs4LMWyaLiGRyaJ8zP2a0MPkiQN9QVCHexS5NXgP7yxGQ7L hR+MaA46l1csnZ8f7vL5o+z2l3xgCH4HwZyOQjpzO0j5ZhgbCRAK/p9v4rv6/S8YjNQPEq +J9x/ME8EykXGGG6+FmVnzmsppC10+4m18hzj3VVQUn8ynWMFoPBr64nJpNRZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b="mFdn/8Tu"; 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: -2.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polymtl.ca header.s=default header.b="mFdn/8Tu"; dmarc=pass (policy=none) header.from=gnu.org; 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: 624D712CFF X-Spam-Score: -2.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: h/BqgI47MEPD * gnu/packages/linux.scm (lttng-tools): New variable. Note that tests are not yet working. Signed-off-by: Olivier Dion --- gnu/packages/linux.scm | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9bb90e599e..a8cb4fd05a 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -53,6 +53,7 @@ ;;; Copyright © 2020 pukkamustard ;;; Copyright © 2021 B. Wilson ;;; Copyright © 2021 Ivan Gankevich +;;; Copyright © 2021 Olivier Dion ;;; ;;; This file is part of GNU Guix. ;;; @@ -8051,6 +8052,59 @@ enable and disable specific instrumentation points, and writes event records to ring buffers shared with a consumer daemon.") (license license:lgpl2.1+))) +(define-public lttng-tools + (package + (name "lttng-tools") + (version "2.12.5") + (source (origin + (method url-fetch) + (uri (string-append "https://lttng.org/files/lttng-tools/" + "lttng-tools-" version ".tar.bz2")) + (sha256 + (base32 "0bgk35423v6z17j1w80m7dcza7gigs1pwyq24sdmgqwg6j2d1zmc")))) + + (build-system gnu-build-system) + + (arguments + `(#:tests? #f + #:parallel-tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'configure 'set-environment-variables + (lambda _ + (setenv "HOME" "/tmp") + (setenv "LTTNG_HOME" "/tmp")))))) + + (inputs + `(("liburcu" ,liburcu) + ("popt" ,popt) + ("numactl" ,numactl))) + + (propagated-inputs + `(("libkmod" ,kmod) + ("modprobe" ,module-init-tools))) + + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl) + ("libpfm4" ,libpfm4) + ("python" ,python-3) + ("procps" ,procps) + ("which" ,which) + ("flex" ,flex) + ("bison" ,bison) + ("asciidoc" ,asciidoc) + ("libxml2" ,libxml2) + ("lttng-ust" ,lttng-ust))) + + (home-page "https://lttng.org/") + (synopsis "LTTng userspace tracer libraries") + (description "The lttng-tools project provides a session +daemon (lttng-sessiond) that acts as a tracing registry, the \"lttng\" command +line for tracing control, a lttng-ctl library for tracing control and a +lttng-relayd for network streaming.") + (license license:gpl2))) + (define-public kexec-tools (package (name "kexec-tools") -- 2.33.0