Skip to content

Commit

Permalink
Bump instrumentation requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Dec 13, 2024
1 parent 91cb142 commit 951378e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ FetchContent_Declare(
FetchContent_Declare(
caliper
GIT_REPOSITORY https://github.com/LLNL/Caliper.git
GIT_TAG v2.10.0
GIT_TAG v2.12.0
)
# cmake-format: on

Expand Down
13 changes: 11 additions & 2 deletions doc/sphinx/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,12 @@ tool. It detects memory leaks and bugs caused by dangling references.

For more details, please consult the tool online documentation [5]_.

On some releases of the Linux kernel, ASAN fails to initialize when running
the executable due to address space layout randomization (ASLR) [10]_.
On affected environments, one can temporarily reduce the entropy via
``sudo sysctl vm.mmap_rnd_bits=28`` (default is usually 32 bits)
for the time of the ASAN analysis, and then revert back to the default value.

.. _UBSAN:

UBSAN
Expand Down Expand Up @@ -871,8 +877,8 @@ graph that can be converted to a static graph using ``gprof2dot`` and ``dot``:
dot -Tpdf ${callgrind_out}.dot -o ${callgrind_out}.pdf
The Valgrind output file generally follows the pattern ``callgrind.out.pid``,
where ``pid`` is the actualy process id. The ``${callgrind_out}`` variable
is populated with the return value of a subshell commands that finds the most
where ``pid`` is the actual process id. The ``${callgrind_out}`` variable
is populated with the return value of a subshell command that finds the most
recent output file that matches that pattern.

It is also possible to open the output file in KCachegrind [4]_ to browse
Expand Down Expand Up @@ -1087,3 +1093,6 @@ ____
.. [9]
https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index.html
.. [10]
https://github.com/google/sanitizers/issues/1614

0 comments on commit 951378e

Please sign in to comment.