diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-06-30 15:53:28 +0200 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2016-06-30 15:55:06 +0200 |
commit | f2503b53fe4c520946fcc121c9fa11e02d071d10 (patch) | |
tree | cc76a763e219365294e10552d4c909b4d8ea9d0c | |
parent | 02b15d056e6127f773fb71f69c0c5fe393422a87 (diff) | |
download | rt-tests-f2503b53fe4c520946fcc121c9fa11e02d071d10.tar.gz |
rt-tests: deadline_test: Made '-i' work and added help text for it
Although the interval code was added the 'i' was missing from the getopt
list, and there was no help text for it either.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | src/sched_deadline/deadline_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sched_deadline/deadline_test.c b/src/sched_deadline/deadline_test.c index 196dfec..2a63c5f 100644 --- a/src/sched_deadline/deadline_test.c +++ b/src/sched_deadline/deadline_test.c @@ -72,6 +72,7 @@ static void usage(char **argv) " -b - Bind on the last cpu. (shortcut for -c <lastcpu>)\n" " -r prio - Add an RT task with given prio to stress system\n" " -c cpulist - Comma/hyphen separated list of CPUs to run deadline tasks on\n" + " -i interval - The shortest deadline for the tasks\n" " -p percent - The percent of bandwidth to use (1-90%%)\n" " -P percent - The percent of runtime for execution completion\n" " (Default 100%%)\n" @@ -1804,7 +1805,7 @@ int main (int argc, char **argv) exit(-1); } - while ((c = getopt(argc, argv, "+hbr:c:p:P:t:s:")) >= 0) { + while ((c = getopt(argc, argv, "+hbr:c:i:p:P:t:s:")) >= 0) { switch (c) { case 'b': all_cpus = 0; |