A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tracing: new configuration option to control if tracing is active or not
[simgrid.git]
/
src
/
instr
/
interface.c
diff --git
a/src/instr/interface.c
b/src/instr/interface.c
index
ac237fc
..
feab87e
100644
(file)
--- a/
src/instr/interface.c
+++ b/
src/instr/interface.c
@@
-23,6
+23,10
@@
int TRACE_start()
return 0;
}
+ if (!TRACE_is_enabled()){
+ return 0;
+ }
+
if (IS_TRACING) { /* what? trace is already active... ignore.. */
THROW0(tracing_error, TRACE_ERROR_START,
"TRACE_start called, but tracing is already active.");