Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive #267

Closed
wants to merge 53 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
ccb7ee8
working?
Jul 19, 2024
e2424d2
minize diff
Jul 19, 2024
104853d
fix check
Jul 19, 2024
1c6b713
Update xprof/xprof.rb.in
TApplencourt Jul 19, 2024
ada3558
typo
Jul 19, 2024
feadf20
Consistency
Kerilk Jul 22, 2024
b3c1591
use var
Jul 23, 2024
cc29517
archive name
Jul 23, 2024
8d285e7
Update xprof/xprof.rb.in
TApplencourt Jul 23, 2024
ff1d225
new name for daemon
Jul 23, 2024
3f74039
Update presubmit.yml
TApplencourt Aug 19, 2024
329fdf5
new patch
Aug 19, 2024
e894a08
fix url
Aug 19, 2024
1a93b76
raw...
Aug 19, 2024
60647b6
boostrap
Aug 19, 2024
9ac9407
Update presubmit.yml
TApplencourt Aug 19, 2024
64f04c4
Update presubmit.yml
TApplencourt Aug 19, 2024
88da618
Update presubmit.yml
TApplencourt Aug 19, 2024
e07ed69
Update presubmit.yml
TApplencourt Aug 19, 2024
1791647
Update presubmit.yml
TApplencourt Aug 19, 2024
56b4f76
test merge
Aug 20, 2024
9c9d026
fix deps
Aug 20, 2024
5df33d4
fix depnds
Aug 20, 2024
2cb10d2
lttng ust
Aug 20, 2024
7ff0704
libnuma
Aug 20, 2024
8444793
add space
Aug 20, 2024
f33dfe5
no mange page
Aug 20, 2024
b090524
urcu 14
Aug 20, 2024
6acc77d
Update presubmit.yml
TApplencourt Aug 20, 2024
afd5879
split make and install
Aug 20, 2024
cdb023e
fix typos
Aug 20, 2024
a8450ad
install
TApplencourt Aug 21, 2024
e16a82b
fix other stuff
TApplencourt Aug 21, 2024
0d72c6d
Update presubmit.yml
TApplencourt Aug 23, 2024
a3de9e9
Update presubmit.yml
TApplencourt Aug 23, 2024
be1dabd
indent
Aug 23, 2024
9f1be42
libglib2.0-dev
Aug 23, 2024
5b56ae4
elf
Aug 23, 2024
a507d96
libdw-dev
Aug 23, 2024
8e5ab8f
Update presubmit.yml
TApplencourt Aug 23, 2024
6b1fe60
add patch
Aug 28, 2024
bb57d34
fix path
Aug 28, 2024
40b8c7d
initializations
solo2abera Aug 28, 2024
e3487d3
silent warning for now
Sep 3, 2024
a9a3ea1
add libnuma deps
Sep 3, 2024
988b9a7
timeout
Sep 3, 2024
280065b
40s
Sep 3, 2024
a17cfae
add test
Sep 3, 2024
0cd52a4
fix urcu
Sep 3, 2024
a745146
add timout
Sep 3, 2024
cc62f6d
new install
Sep 3, 2024
814f656
fix shebang
Sep 3, 2024
f971f87
typos
Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/bt_makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 41115106fc5f1f677e42a51929771995f53eed07 Mon Sep 17 00:00:00 2001
From: Simon Marchi <[email protected]>
Date: Wed, 28 Aug 2024 11:22:21 -0400
Subject: [PATCH] Use LTTNGCTL_CFLAGS

Change-Id: I5c50340ada0e7942ac24df1f2deba1f27bf04132
---
src/Makefile.am | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index c6146cec5b24..32b553eb38f3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -767,6 +767,10 @@ plugins_ctf_babeltrace_plugin_ctf_la_SOURCES = \
plugins/ctf/lttng-live/viewer-connection.hpp \
plugins/ctf/plugin.cpp

+plugins_ctf_babeltrace_plugin_ctf_la_CXXFLAGS = \
+ $(AM_CXXFLAGS) \
+ $(LTTNGCTL_CFLAGS)
+
plugins_ctf_babeltrace_plugin_ctf_la_LDFLAGS = \
$(AM_LDFLAGS) \
$(LT_NO_UNDEFINED) \

base-commit: 5d357b9284e77562cbe7d5397def89f686704422
--
2.46.0
68 changes: 47 additions & 21 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
babeltrace2:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Build and cache Babeltrace2
name: Build urcu and lttng-tools
runs-on: ubuntu-24.04
steps:
- uses: actions/cache@v4
Expand All @@ -28,28 +28,54 @@ jobs:
with:
path: ~/babeltrace2/2.0.5
key: ${{ runner.os }}-build-${{ env.cache-name }}
- run: sudo apt update; sudo apt install -y gcc g++ lttng-tools liblttng-ust-dev ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler libglib2.0-dev
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: wget https://www.efficios.com/files/babeltrace/babeltrace2-2.0.5.tar.bz2
- name: Load Env
run: |
echo "PKG_CONFIG_PATH=$HOME/babeltrace2/2.0.5/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
- run: sudo apt update; sudo apt install -y gcc g++ libpopt-dev libnuma-dev liburcu-dev libc-dev libglib2.0-dev elfutils libelf-dev libdw-dev
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: tar -xjvf babeltrace2-2.0.5.tar.bz2
# lttng-ust
- run: git clone https://github.com/lttng/lttng-ust
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: |
wget https://github.com/argonne-lcf/THAPI-spack/raw/main/packages/babeltrace2/d2d2e6cc.patch
patch -p1 < d2d2e6cc.patch
# Avoid https://github.com/lttng/lttng-ust/commit/b187bcd5d99cde54dececee0e5028524d55aa314 who change the signature of
# lttng_ust_ctl_recv_register_event used by lttng-tool anl-ms3
git checkout 4f8afc535e77070f1ef00434674f0417c6f9ef69
./bootstrap
./configure --disable-man-pages --prefix=$HOME/babeltrace2/2.0.5
make -j$(nproc)
make install
working-directory: lttng-ust
if: steps.babeltrace2.outputs.cache-hit != 'true'
working-directory: babeltrace2-2.0.5
- run: mkdir -p babeltrace2-2.0.5/build
# lttng-tools need lttng-ust 2.14+
- run: git clone -b anl-ms3 git://git.efficios.com/deliverable/lttng-tools.git
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: ../configure --prefix=$HOME/babeltrace2/2.0.5
- run: |
./bootstrap
./configure --disable-man-pages --disable-bin-lttng-crash --prefix=$HOME/babeltrace2/2.0.5
make -j$(nproc)
make install
# Put in path
echo "#!/usr/bin/env python"| cat - dirwatch.py > $HOME/babeltrace2/2.0.5/bin/dirwatch.py
chmod 755 $HOME/babeltrace2/2.0.5/bin/dirwatch.py
working-directory: lttng-tools
if: steps.babeltrace2.outputs.cache-hit != 'true'
working-directory: babeltrace2-2.0.5/build
- run: make -j
# babeltrace
- run: git clone -b anl-ms3 git://git.efficios.com/deliverable/babeltrace.git
if: steps.babeltrace2.outputs.cache-hit != 'true'
working-directory: babeltrace2-2.0.5/build
- run: make -j install
- run: |
wget https://raw.githubusercontent.com/argonne-lcf/THAPI/53262fcaaaf45d7d475884d7e63b69abe47e41d6/.github/workflows/str_nullptr.patch
patch -p1 < str_nullptr.patch
wget https://raw.githubusercontent.com/argonne-lcf/THAPI/4418916620496fd66cde0b3d5e241bed0a4c18a3/.github/workflows/bt_makefile.patch
patch -p1 < bt_makefile.patch
working-directory: babeltrace
if: steps.babeltrace2.outputs.cache-hit != 'true'
- run: |
./bootstrap
./configure --disable-man-pages --prefix=$HOME/babeltrace2/2.0.5
make -j$(nproc)
make install
working-directory: babeltrace
if: steps.babeltrace2.outputs.cache-hit != 'true'
working-directory: babeltrace2-2.0.5/build

build-and-check:
needs: [babeltrace2, pre_job]
Expand All @@ -65,7 +91,7 @@ jobs:
with:
path: ~/babeltrace2/2.0.5
key: ${{ runner.os }}-build-${{ env.cache-name }}
- run: sudo apt update; sudo apt install -y gcc g++ lttng-tools liblttng-ust-dev ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler valgrind libglib2.0-dev
- run: sudo apt update; sudo apt install -y gcc g++ ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler valgrind libglib2.0-dev libnuma-dev liburcu-dev
- run: sudo gem install cast-to-yaml nokogiri babeltrace2 opencl_ruby_ffi metababel
- name: Load Babeltrace2
run: |
Expand Down Expand Up @@ -110,7 +136,7 @@ jobs:
with:
path: ~/babeltrace2/2.0.5
key: ${{ runner.os }}-build-${{ env.cache-name }}
- run: sudo apt update; sudo apt install -y gcc g++ lttng-tools liblttng-ust-dev ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler libglib2.0-dev
- run: sudo apt update; sudo apt install -y gcc g++ ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler libglib2.0-dev libnuma-dev liburcu-dev
- run: sudo gem install cast-to-yaml nokogiri babeltrace2 opencl_ruby_ffi metababel
- name: Load Babeltrace2
run: |
Expand Down Expand Up @@ -157,7 +183,7 @@ jobs:
name: thapi-bin
- name: Untar THAPI
run: tar -xvf thapi.tar
- run: sudo apt update; sudo apt install -y lttng-tools liblttng-ust-dev ruby ruby-dev libprotobuf-dev libpocl2 clinfo bats coreutils libglib2.0-dev
- run: sudo apt update; sudo apt install -y ruby ruby-dev libprotobuf-dev libpocl2 clinfo bats coreutils libglib2.0-dev libnuma-dev liburcu-dev
- run: sudo gem install babeltrace2 opencl_ruby_ffi
- name: Load Babeltrace2
run: |
Expand All @@ -181,7 +207,7 @@ jobs:
with:
path: ~/babeltrace2/2.0.5
key: ${{ runner.os }}-build-${{ env.cache-name }}
- run: sudo apt update; sudo apt install -y gcc g++ lttng-tools liblttng-ust-dev ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler valgrind libglib2.0-dev
- run: sudo apt update; sudo apt install -y gcc g++ ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler valgrind libglib2.0-dev libnuma-dev liburcu-dev
- run: sudo gem install cast-to-yaml nokogiri babeltrace2 opencl_ruby_ffi metababel
- name: Load Babeltrace2
run: |
Expand Down Expand Up @@ -219,7 +245,7 @@ jobs:
with:
path: ~/babeltrace2/2.0.5
key: ${{ runner.os }}-build-${{ env.cache-name }}
- run: sudo apt update; sudo apt install -y gcc g++ lttng-tools liblttng-ust-dev ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler valgrind libglib2.0-dev
- run: sudo apt update; sudo apt install -y gcc g++ ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler valgrind libglib2.0-dev libnuma-dev liburcu-dev
- run: sudo gem install cast-to-yaml nokogiri babeltrace2 opencl_ruby_ffi metababel
- name: Load Babeltrace2
run: |
Expand Down Expand Up @@ -251,7 +277,7 @@ jobs:
with:
path: ~/babeltrace2/2.0.5
key: ${{ runner.os }}-build-${{ env.cache-name }}
- run: sudo apt update; sudo apt install -y gcc g++ lttng-tools liblttng-ust-dev ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler valgrind libglib2.0-dev
- run: sudo apt update; sudo apt install -y gcc g++ ruby ruby-dev elfutils libelf-dev libdw-dev libprotobuf-dev protobuf-compiler valgrind libglib2.0-dev libnuma-dev liburcu-dev
- run: sudo gem install cast-to-yaml nokogiri babeltrace2 opencl_ruby_ffi metababel
- name: Load Babeltrace2
run: |
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/str_nullptr.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/src/plugins/ctf/common/src/msg-iter.cpp b/src/plugins/ctf/common/src/msg-iter.cpp
index 36e2088b..eacce78a 100644
--- a/src/plugins/ctf/common/src/msg-iter.cpp
+++ b/src/plugins/ctf/common/src/msg-iter.cpp
@@ -775,12 +775,6 @@ void MsgIter::_handleStrRawDataItem(const RawDataItem& item)
}
});

- if (afterNullCpIt) {
- /* Found U+0000 */
- endIt = *afterNullCpIt;
- _mHaveNullChar = true;
- }
-
/* Append to current string buffer */
_mStrBuf.insert(_mStrBuf.end(), item.data().begin(), endIt);
}
8 changes: 6 additions & 2 deletions integration_tests/general.bats
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,21 @@ teardown_file() {
rm out.pftrace
}

@test "archive_summary" {
timeout 30s $IPROF --debug 0 --archive $THAPI_TEST_BIN
}

@test "replay_summary" {
$IPROF $THAPI_TEST_BIN
$IPROF -r
}

@test "no-analysis_all" {
$IPROF --no-analysis -- $THAPI_TEST_BIN
$IPROF -r
$IPROF -r
$IPROF -t -r | wc -l
$IPROF -l -r
rm out.pftrace
rm out.pftrace
}

@test "trace-output_all" {
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/light_iprof_only_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RT_SIGNAL_FINISH=$((SIGRTMIN + 3))

# Signal handler for capturing signals
handle_signal() {
echo "$PARENT_PID $(date) | Received signal $1 from sync_daemon"
echo "$PARENT_PID $(date) | Received signal $1 from mpi_daemon"
if [ "$1" == "RT_SIGNAL_READY" ]; then
SIGNAL_RECEIVED="true"
fi
Expand Down
9 changes: 9 additions & 0 deletions utils/babeltrace_thapi.in
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def get_components(names)
components_classes = {
'source.ctf.fs' => BT2::BTPlugin.find('ctf').get_source_component_class_by_name('fs'),
'source.ctf.lttng_live' => BT2::BTPlugin.find('ctf').get_source_component_class_by_name('lttng-live'),
'source.ctf.lttng_archive' => BT2::BTPlugin.find('ctf').get_source_component_class_by_name('lttng-archive'),
'filter.utils.muxer' => BT2::BTPlugin.find('utils').get_filter_component_class_by_name('muxer'),
'sink.text.pretty' => BT2::BTPlugin.find('text').get_sink_component_class_by_name('pretty'),
'sink.ctf.fs' => BT2::BTPlugin.find('ctf').get_sink_component_class_by_name('fs'),
Expand Down Expand Up @@ -200,6 +201,10 @@ def get_and_add_components(graph, names, l_inputs)
graph.add(comp, 'source_live',
params: { 'inputs' => $options[:inputs],
'session-not-found-action' => 'end' })
when 'source.ctf.lttng_archive'
graph.add(comp, 'source_archive',
params: { 'session-name' => $options[:archive],
'session-found-file-path' => $options[:'archive-session-found-file-path'] })
when 'source.ctf.fs'
s = Find.find(*l_inputs)
.reject { |path| FileTest.directory?(path) }
Expand Down Expand Up @@ -281,6 +286,8 @@ def bt_graphs(inputs)
@bt_graphs[inputs] ||= begin
g_comps = [if $options[:live]
'source.ctf.lttng_live'
elsif $options[:archive]
'source.ctf.lttng_archive'
else
'source.ctf.fs'
end]
Expand Down Expand Up @@ -354,6 +361,8 @@ class BabeltraceParserThapi < OptionParserWithDefaultAndValidation
'Format: backend_name[:backend_level],...',
default: ['mpi:3', 'omp:2', 'cl:1', 'ze:1', 'cuda:1', 'hip:1'])
on('--debug', default: false)
on('--archive SESSION-NAME')
on('--archive-session-found-file-path PATH')
on('--[no-]muxer')
on('-v', '--version', 'Print the version string') do
puts File.read(File.join(DATADIR, 'version'))
Expand Down
59 changes: 50 additions & 9 deletions xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ PREFIX = '@prefix@'
DATAROOTDIR = File.join(PREFIX, 'share')
DATADIR = DATAROOTDIR

LTTNG_ARCHIVE_SIZE = '50M'
LTTNG_ARCHIVE_TIMER = '60s'
LTTNG_DIRWATCH_SIZE = '500' # In MiB
LTTNG_DIRWATCH_LOCK_RETRY_DELAY = 0.1

$LOAD_PATH.unshift(DATADIR) if File.directory?(DATADIR)
require 'open3'
require 'fileutils'
Expand Down Expand Up @@ -534,8 +539,8 @@ def lm_setup_lttng(backends)
FileUtils.mkdir_p(lttng_home_dir)
FileUtils.mkdir_p(lttng_trace_dir_tmp)
exec('lttng-sessiond --daemonize')
exec("lttng create #{lttng_session_uuid} -o #{lttng_trace_dir_tmp}")

exec("lttng create #{lttng_session_uuid} -o #{lttng_trace_dir_tmp}")
File.write(File.join(lttng_trace_dir_tmp, 'thapi_metadata.yaml'), { type: 'lttng' }.to_yaml)

channel_name = 'blocking-channel'
Expand All @@ -560,11 +565,16 @@ def lm_setup_lttng(backends)
end

end

if OPTIONS[:archive]
exec("lttng enable-rotation --session=#{lttng_session_uuid} --size=#{LTTNG_ARCHIVE_SIZE} --timer=#{LTTNG_ARCHIVE_TIMER}")
end
exec("lttng start #{lttng_session_uuid}")
end

def lm_lttng_teardown_session
raise unless mpi_local_master?
exec("lttng rotate #{lttng_session_uuid}") if OPTIONS[:archive]
exec("lttng destroy #{lttng_session_uuid}")
end

Expand Down Expand Up @@ -596,7 +606,23 @@ def lm_babeltrace(backends)
opts << "--output #{thapi_trace_dir_tmp}"
opts << "--backends #{backends.join(',')}"
opts << '--no-discard-metadata' if type == 'aggreg' && OPTIONS.include?(:'kernel-verbose')
exec("#{BINDIR}/babeltrace_thapi #{opts.join(' ')} -- #{lttng_trace_dir_tmp}")

if OPTIONS[:archive]
read_file = File.join(lttng_trace_dir_tmp, 'bt_archive_ready')
opts << "--archive #{lttng_session_uuid} --archive-session-found-file-path=#{read_file}"
cmd = "#{BINDIR}/babeltrace_thapi #{opts.join(' ')} -- #{lttng_trace_dir_tmp}"
LOGGER.debug(cmd)
pid_bt = spawn(cmd)

cmd = "dirwatch.py --log-level=CRITICAL #{lttng_session_uuid} #{LTTNG_DIRWATCH_SIZE}"
LOGGER.debug(cmd)
pid_laurence = spawn(cmd)

sleep(LTTNG_DIRWATCH_LOCK_RETRY_DELAY) until File.exist?(read_file)
[pid_bt, pid_laurence]
else
exec("#{BINDIR}/babeltrace_thapi #{opts.join(' ')} -- #{lttng_trace_dir_tmp}")
end
end

# _
Expand All @@ -610,10 +636,14 @@ end

def lm_move_to_shared
raise unless mpi_local_master?

if OPTIONS.include?(:trace) || !OPTIONS[:analysis]
# The Apps finished, lttng finished, need to move to the shared tmp folder
FileUtils.mkdir_p(File.dirname(thapi_trace_dir_tmp))
# NOTE: I don't understand `mv`
# File.mv(a, b) will put a into b (aka a/b)
# FileUtils.rename(a,b) will move a as b, but may
# raise Invalid cross-device error.
# So we use `exec(mv -T a b)`, this have the added benefice of logging
exec("mv #{lttng_trace_dir_tmp} #{thapi_trace_dir_tmp}")
else
# `lm_babeltrace` finished, can remove `tmp` folder
Expand All @@ -623,7 +653,6 @@ end

def gm_rename_folder
raise unless mpi_master?

# All process have put their file into `thapi_trace_dir_tmp/hostname`.
# `thapi_trace_dir_tmp` is using the MPI_JOB_ID
# Replace it with a better name, and update the root metadata.
Expand Down Expand Up @@ -653,24 +682,35 @@ def trace_and_on_node_processing(usr_argv)
# All ranks need to set the LLTTNG_HOME env
# so they can have access to the daemon
ENV['LTTNG_HOME'] = lttng_home_dir
# Only local master spawn LTTNG daemon and start session
lm_setup_lttng(backends) if mpi_local_master?
LOGGER.debug("LTTNG_HOME = #{ENV.fetch('LTTNG_HOME', nil)}")
TApplencourt marked this conversation as resolved.
Show resolved Hide resolved

# Only local master spawn LTTNG daemon, start session, and possible babeltrace archibe
pids = if mpi_local_master?
lm_setup_lttng(backends)
lm_babeltrace(backends) if OPTIONS[:archive]
end
# Other local node cannot start before lttng and the daemon
syncd.local_barrier('waiting_for_lttng_setup')
# Launch User Command
launch_usr_bin(h, usr_argv)

# We need to be sure that all the local ranks are finished
# before the local master stops the lttng session
syncd.local_barrier('waiting_for_application_ending')

# Everything from now on is local master processing
return unless mpi_local_master?

# Stop Lttng session
lm_lttng_teardown_session
# Lttng session is finished,
if OPTIONS[:archive]
LOGGER.debug("Waiting for babeltrace_thapi and laurence #{pids} to finish")
pids.each { |pid| Process.wait(pid) }
end
# Lttng session, and babeltrace2 finished,
# we can kill the session daemon
lm_lttng_kill_sessiond
# Preprocess trace
lm_babeltrace(backends)
lm_babeltrace(backends) unless OPTIONS[:archive]
lm_move_to_shared
end
gm_rename_folder if mpi_master?
Expand Down Expand Up @@ -767,6 +807,7 @@ if __FILE__ == $PROGRAM_NAME
parser.on('-b', '--backends BACKENDS', Array, "Select which and how backends' need to handled.",
'Format: backend_name[:backend_level],...',
default: ['mpi:3', 'omp:2', 'cl:1', 'ze:1', 'cuda:1', 'hip:1'])
parser.on('--[no-]archive', 'Trigger for ardhive support', default: false)
bd4 marked this conversation as resolved.
Show resolved Hide resolved

# Analysis
parser.on('-r', '--replay [PATH]', 'Replay traces for post-mortem analysis.',
Expand Down
2 changes: 1 addition & 1 deletion ze/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.DELETE_ON_ERROR:

if STRICT
WERROR = -Werror
WERROR = -Werror -Wno-error=nonnull
else
WERROR =
endif
Expand Down
Loading