Re: cyclictest - fix comparison about flexible word counts of available_tracers file.

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 5 Apr 2009 15:45:33 +0900
GeunSik Lim <leemgs1@xxxxxxxxx> wrote:

> Dear Thomas,
> 
> I found bug at settracer function of cyclictest.c source (rt-test ver 0.33).
> settracer func use 10 times in the for() statement to searching tracer
> like preemptoff , irqsoff , preemptirqsoff.
> But, I think that we have to consider 10+ words in the available_tracers file.
> 

GeunSik,

Good catch!  I applied your patch, but then found a bug in either
fscanf or debugfs (probably debugfs). Since I didn't have IRQSOFF or
PREEMPTOFF set in my kernel, those tracers weren't available and fscanf
never returned EOF (it kept returning the "nop" tracer). So I reworked
your patch to read everything in and parse it using strtok(3). 

The git tree has been updated and an rt-tests-0.34.tar.gz tarball is
available at:

http://www.kernel.org/pub/linux//kernel/people/clrkwllms/rt-tests/

Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAknYxR4ACgkQHyuj/+TTEp3TNwCbBNrEHMLjPmAS6JciwjyXWqME
wpcAn3+nUGdOwCJR6sFGfwundPtaITrk
=dT+3
-----END PGP SIGNATURE-----
ÿôèº{.nÇ+?·?®?­?+%?Ëÿ±éݶ¥?wÿº{.nÇ+?·¥?{±þ»ÿºÇ«³ø§¶?¡Ü¨}©?²Æ zÚ&j:+v?¨þø¯ù®w¥þ?à2?Þ?¨è­Ú&¢)ß¡«a¶Úÿÿûàz¿äz¹Þ?ú+?ù???Ý¢jÿ?wèþf


[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