[LTP] [PATCH V2 9/9] ftrace_stress: cleanup and use ltp API
Cyril Hrubis
chrubis@suse.cz
Wed May 4 18:32:32 CEST 2016
Hi!
> > > diff --git
> > > a/testcases/kernel/tracing/ftrace_test/ftrace_stress/ftrace_tracing_max_latency.sh
> > > b/testcases/kernel/tracing/ftrace_test/ftrace_stress/ftrace_tracing_max_latency.sh
> > > index fbaceb8..6090a91 100755
> > > ---
> > > a/testcases/kernel/tracing/ftrace_test/ftrace_stress/ftrace_tracing_max_latency.sh
> > > +++
> > > b/testcases/kernel/tracing/ftrace_test/ftrace_stress/ftrace_tracing_max_latency.sh
> > > @@ -15,12 +15,13 @@
> > >
> > > MAX_LATENCY=100000
> > >
> > > -for ((; ;))
> > > -{
> > > - for ((i = 0; i < $MAX_LATENCY; i += 400))
> > > - {
> > > +while true; do
> > > + i=0;
> > > + while [ $i -lt $MAX_LATENCY ]; do
> > > echo $i > "$TRACING_PATH"/tracing_max_latency
> > > - }
> > > + i=$((i + 400))
> > > + done
> > >
> > > sleep 1
> > > -}
> > > +
> > > +Vdone
> > ^
> > Typo?
>
> Here it is weird, I checked my repo and my email in ltp list, there is no char 'V',
> I will have a deeper check.
Looks like this was a typo on my side. I've must have pressed the key by
accident when I was editing a reply to the email. Sorry for the
confusion.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list