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>
This commit is contained in:
John Kacur 2016-03-24 15:40:03 +01:00
parent 967cb01bd7
commit ba4dd1bf54
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}