Hi All,

   The LTP tracing test case would run failed on the non-SMP ARM Platforms.

   Because the "CONFIG_SMP" kernel configure was disabled on these platforms, 
   then it would not print "processor" key word in the "/proc/cpuinfo".

   The ftrace_buffer_size.sh test case would report the "division by 0" error 
informatin,
   then it would auto exit.
   So the whole tracing test would check failed when it could not find the 
"ftrace_buffer_size.sh"
   script running at last.

   The ftrace buffer size test failed log :
root@at91sam9g20:/root> ./ftrace_buffer_size.sh 
./ftrace_buffer_size.sh: line 21: 25552 / 10 / 200 / 0 : division by 0 (error 
token is " ")
root@at91sam9g20:/root>
root@at91sam9g20:/root> cat /proc/cpuinfo | egrep "^processor.*:" | wc -l
0
root@at91sam9g20:/root> cat /proc/cpuinfo 
Processor       : ARM926EJ-S rev 5 (v5l)
BogoMIPS        : 197.01
Features        : swp half fastmult edsp java 
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant     : 0x0
CPU part        : 0x926
CPU revision    : 5

Hardware        : Atmel AT91SAM9G20-EK
Revision        : 0000
Serial          : 0000000000000000
root@at91sam9g20:/root> 
root@at91sam9g20:/root> zcat /proc/config.gz | grep SMP
CONFIG_BROKEN_ON_SMP=y
root@at91sam9g20:/root> 

Thanks,
Guojian Zhou

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to