linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][rt-tests] cyclictest: Make the tracemark option imply notrace
@ 2016-03-24 14:44 John Kacur
  2016-03-24 14:52 ` Luiz Capitulino
  0 siblings, 1 reply; 5+ messages in thread
From: John Kacur @ 2016-03-24 14:44 UTC (permalink / raw)
  To: RT; +Cc: Luiz Capitulino

>From 6b663b39fc5dc7c4e9c78ab22012f07490e53145 Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Thu, 24 Mar 2016 15:40:03 +0100
Subject: [PATCH] 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>
---
 src/cyclictest/cyclictest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 4844dfaf33a6..158bceda1204 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;
 		}
 	}
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-24 16:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-24 14:44 [PATCH][rt-tests] cyclictest: Make the tracemark option imply notrace John Kacur
2016-03-24 14:52 ` Luiz Capitulino
2016-03-24 15:24   ` John Kacur
2016-03-24 15:57     ` Mats Karrman
2016-03-24 16:07     ` Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).