From a0bf088c008c5f07ac578f488aa11173e955a7c0 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 5 Jul 2016 17:09:20 +0200 Subject: [PATCH] [DOC] Clarify PAPI counters + privileges --- doc/doxygen/options.doc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/doxygen/options.doc b/doc/doxygen/options.doc index 9f338589f3..cdb3654b27 100644 --- a/doc/doxygen/options.doc +++ b/doc/doxygen/options.doc @@ -851,6 +851,8 @@ This is the default value: This feature currently requires superuser privileges, as registers are queried. Only use this feature with code you trust! Call smpirun for instance via smpirun -wrapper "sudo " + or run sudo sh -c "echo 0 > /proc/sys/kernel/perf_event_paranoid" + In the later case, sudo will not be required. \note This option is only available when SimGrid was compiled with PAPI support. -- 2.20.1