summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2016-03-24 15:40:03 +0100
committerJohn Kacur <jkacur@redhat.com>2016-03-24 16:27:12 +0100
commitba4dd1bf540a611ddc577b9f185c7920ad2bc848 (patch)
treea7a1d4b49d8ee3ff93f13f79974634988c5cd7ff
parent967cb01bd7fd4996dc1c6f8a91577468e439bfc5 (diff)
downloadrt-tests-ba4dd1bf540a611ddc577b9f185c7920ad2bc848.tar.gz
rt-tests-ba4dd1bf540a611ddc577b9f185c7920ad2bc848.tar.xz
cyclictest: Make the tracemark option imply notrace
The new --tracemark option can be used to run cyclictest under trace-cmd. This means we don't want cyclictest's built-in tracing to be used, so this option is only compatible with --notrace. Therefore turn --notrace on if --tracemark is invoked even if the user doesn't explicitly request this. Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--src/cyclictest/cyclictest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 4844dfa..158bced 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -1765,6 +1765,7 @@ static void process_options (int argc, char *argv[], int max_cpus)
#endif
break;
case OPT_TRACEMARK:
+ notrace = 1; /* using --tracemark implies --notrace */
trace_marker = 1; break;
}
}