Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, sys-cluster/extrae/
Date: Fri, 27 May 2022 11:28:17
Message-Id: 1653650887.bf29e9e3c553b337bff444abf9a85d6ad063363c.Alessandro-Barbieri@gentoo
1 commit: bf29e9e3c553b337bff444abf9a85d6ad063363c
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu May 26 23:42:54 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Fri May 27 11:28:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf29e9e3
7
8 sys-cluster/extrae: move INSTRUMENT use expand to profiles/desc
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 profiles/desc/instrument.desc | 8 ++++++++
13 sys-cluster/extrae/extrae-3.8.3-r10.ebuild | 14 +++++++-------
14 sys-cluster/extrae/metadata.xml | 3 ---
15 3 files changed, 15 insertions(+), 10 deletions(-)
16
17 diff --git a/profiles/desc/instrument.desc b/profiles/desc/instrument.desc
18 new file mode 100644
19 index 000000000..8311329db
20 --- /dev/null
21 +++ b/profiles/desc/instrument.desc
22 @@ -0,0 +1,8 @@
23 +# Copyright 2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +# This file contains descriptions of INSTRUMENT USE_EXPAND flags.
27 +
28 +dynamic-memory - Enables instrumentation for dynamic memory (malloc, free, realloc) calls
29 +io - Enables instrumentation for basic I/O (read, write) calls
30 +syscall - Enables instrumentation for system calls (other than I/O and mallocs)
31
32 diff --git a/sys-cluster/extrae/extrae-3.8.3-r10.ebuild b/sys-cluster/extrae/extrae-3.8.3-r10.ebuild
33 index de4da9133..20f867fe8 100644
34 --- a/sys-cluster/extrae/extrae-3.8.3-r10.ebuild
35 +++ b/sys-cluster/extrae/extrae-3.8.3-r10.ebuild
36 @@ -1,4 +1,4 @@
37 -# Copyright 2019-2021 Gentoo Authors
38 +# Copyright 2019-2022 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI=7
42 @@ -16,9 +16,9 @@ SLOT="0"
43 KEYWORDS="~amd64"
44
45 IUSE_INSTRUMENT="
46 - +instrument-dynamic-memory
47 - +instrument-io
48 - +instrument-syscall
49 + +instrument_dynamic-memory
50 + +instrument_io
51 + +instrument_syscall
52 "
53 IUSE="${IUSE_INSTRUMENT} clustering dlsym doc dyninst heterogeneous inotify memkind
54 merge-in-trace nanos online opencl openmp openshmem +parallel-merge pebs-sampling
55 @@ -122,9 +122,9 @@ src_configure() {
56 $(use_enable doc)
57 $(use_enable heterogeneous)
58 $(use_enable inotify)
59 - $(use_enable instrument-dynamic-memory)
60 - $(use_enable instrument-io)
61 - $(use_enable instrument-syscall)
62 + $(use_enable instrument_dynamic-memory)
63 + $(use_enable instrument_io)
64 + $(use_enable instrument_syscall)
65 $(use_enable merge-in-trace)
66 $(use_enable nanos)
67 $(use_enable online)
68
69 diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
70 index 9e8da6d6f..88f029630 100644
71 --- a/sys-cluster/extrae/metadata.xml
72 +++ b/sys-cluster/extrae/metadata.xml
73 @@ -25,9 +25,6 @@ process). Extrae generates trace files that can be later visualized with sys-clu
74 <flag name="dyninst">Build with <pkg>sys-cluster/dyninst</pkg></flag>
75 <flag name="heterogeneous">Enable support for heterogeneous tracing</flag>
76 <flag name="inotify">Enable inotify support</flag>
77 - <flag name="instrument-dynamic-memory">Enables instrumentation for dynamic memory (malloc, free, realloc) calls</flag>
78 - <flag name="instrument-io">Enables instrumentation for basic I/O (read, write) calls</flag>
79 - <flag name="instrument-syscall">Enables instrumentation for system calls (other than I/O and mallocs)</flag>
80 <flag name="java">Enable support for tracing Java. This is necessary to create the connectors between |TRACE| and Java applications.</flag>
81 <flag name="memkind">Enable <pkg>dev-libs/memkind</pkg> support</flag>
82 <flag name="merge-in-trace">Embed the merging process in the tracing library so the final tracefile can be generated automatically from the application run</flag>