cyclictest: bugfix getopt_long() for -C and -F.
PATCH 1/1 cyclictest: bugfix getopt_long() for -C and -F.
Author: Lim,GeunSik <[email protected]> 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.
--- src/cyclictest/cyclictest.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
src/cyclictest/cyclictest.c +1 -1
@@ -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) [email protected]
2) [email protected] , [email protected]
MSN : [email protected] ICQ : 46455794gTalker : [email protected] , [email protected] 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html