* [patch] cyclictest: bugfix getopt_long() for -C and -F.
@ 2009-04-08 13:49 GeunSik Lim
0 siblings, 0 replies; only message in thread
From: GeunSik Lim @ 2009-04-08 13:49 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Clark Williams, linux-rt-users@vger.kernel.org
Author: Lim,GeunSik <leemgs1@gmail.com>
Date: Wed Apr 8 22:21:59 2009 +0900
[patch] cyclictest: bugfix getopt_long() for -C and -F.
We can not use -C option without --context option for tracing context switching.
ex) ./cyclictest -t 10 -m -b 100 -C
We can not use -E option without --event option for tracing events.
ex) ./cyclictest -t 10 -m -b 100 -E
Append -C and -E option on getopt_long() function to solve this problems.
Signed-off-by: GeunSik Lim <leemgs1@gmail.com>
---
src/cyclictest/cyclictest.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index f878217..1660893 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -777,7 +777,7 @@ static void process_options (int argc, char *argv[])
{"help", no_argument, NULL, '?'},
{NULL, 0, NULL, 0}
};
- int c = getopt_long (argc, argv, "a::b:Bc:d:fh:i:Il:nNo:p:Pmqrst::vD:",
+ int c = getopt_long (argc, argv, "a::b:Bc:Cd:Efh:i:Il:nNo:p:Pmqrst::vD:",
long_options, &option_index);
if (c == -1)
break;
---------------------------------------------------------------------------
GeunSik Lim, Embedded Linux Solution, OS Group, Software Lab, SAIT
e-Mail : 1) geunsik.lim@samsung.com
2) leemgs@gmail.com , leemgs1@gmail.com
MSN : invain@hanmail.net
ICQ : 46455794gTalker : leemgs@gamil.com , leemgs1@gmail.com
HomePage: http://intomail.dnip.net/invain/me/
¢À If you continue to keep a dream, you come to realize. - Goethe
---------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-08 13:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08 13:49 [patch] cyclictest: bugfix getopt_long() for -C and -F GeunSik Lim
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).