[patch] cyclictest: bugfix getopt_long() for -C and -F.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Author: Lim,GeunSik <leemgs1@xxxxxxxxx>
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@xxxxxxxxx>
---
 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@xxxxxxxxxxx
           2) leemgs@xxxxxxxxx , leemgs1@xxxxxxxxx
MSN      : invain@xxxxxxxxxxx 
ICQ      : 46455794gTalker  : leemgs@xxxxxxxxx , leemgs1@xxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux