On Sun, 5 Apr 2009, GeunSik Lim wrote: > [root@fedora9 tracing]# ./cyclictest -n -t 3 -b 1000000 -P-D 2 --> Success > [root@fedora9 tracing]#./cyclictest -n -t 3 -b 1000000 -I -D 2 --> Failed > [root@fedora9 tracing]#./cyclictest -n -t 3 -b 1000000 -B-D 2 --> Failed > > So I made patch file to consider above case. > If I mistake, correct me. Good catch. Can you please clean up the patch and resend it with a patch description and your Signed-off-by line ? > -------------------------------------------------- > [root@fedora9 cyclictest]# diff -urN ./cyclictest.c.ori ./cyclictest.c > --- ./cyclictest.c.ori 2009-04-05 23:48:03.000000000 +0900 > +++ ./cyclictest.c 2009-04-06 00:15:51.000000000 +0900 > @@ -320,7 +320,7 @@ > char name[100]; > FILE *fp; > int ret; > - int i; > + //int i; Please remove > /* Make sure tracer is available */ > strncpy(filename, debugfileprefix, sizeof(filename)); > @@ -330,7 +330,7 @@ > if (!fp) > return -1; > > - for (i = 0; i < 10; i++) { > + while(1) { while (1) { please > ret = fscanf(fp, "%99s", name); > if (!ret) { > ret = -1; Thanks, tglx -- 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