History log of /external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
354ebb48db8e66a853a58379a4808d5dcd1ceac3 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> cleanup code indent

Cleanup the code indent using:

find . -name *.c -exec Lindent {} \;

It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
ef78227f9275d780649e14a8785c6913c18b7462 07-Feb-2011 Cyril Hrubis <chrubis@suse.cz> Unbreak realtime testsuite compilation.

The realtime testsuite is not using ltp tst_xxx interface.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
1e6f5a673655551de5734ff31ef48cd63b604e6d 19-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Resolving all compile errors via a script

This may leave dupe calls to tst_exit in main, but those are easier
to deal (and much less) than no-compile scenarios.

As a side-effect, fix all trailing whitespace issues.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
7d0a4a57fbcd47f72b67c08df532e8ef47f6fdae 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Cleanup style and get rid of conflicts problems.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
82f8e8fdfe892266d7346792b71783ac23bfa1a2 27-May-2010 Subrata Modak <subratamodak@subratamodak.linux.ibm.com> Following set of patches applies functional changes in pi-tests for better reliability in recent kernels and their order is:
[PATCH 1/6] realtime: reuse init_pi_mutex from librttest
[PATCH 2/6] realtime: add test descriptions
[PATCH 3/6] realtime: threads need not set cpu affinity while main does
[PATCH 4/6] realtime: use busy_work_ms from librttest to burn cpu cycles
[PATCH 5/6] realtime: remove thread_stop which is not used anywhere
[PATCH 6/6] realtime: synchronization fixes for high priority noise thread

All need to be applied in their order on top or code clean up patch series sent previously.
Signed-off-by: Gowrishankar <gowrishankar.m@in.ibm.com>,
Tested-by: Gowrishankar <gowrishankar.m@in.ibm.com>,
Acked-by: Darren Hart <dvhltc@us.ibm.com>,
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
e1c39ef4f1d61c05f176d063d1afa6f704bc6740 27-May-2010 Subrata Modak <subratamodak@subratamodak.linux.ibm.com> realtime: code cleanup on pi-tests to adapt C coding standard: Following bulk of patches applies the coding style in pi-tests to follow the C coding standard. All are tested and they go in order:
[PATCH 1/5] realtime: code cleanup on pi-test 0
[PATCH 2/5] realtime: code cleanup on pi-test 1
[PATCH 3/5] realtime: code cleanup on pi-test 2
[PATCH 4/5] realtime: code cleanup on pi-test 5
[PATCH 5/5] realtime: code cleanup on pi-test 6
Signed-off-by: Gowrishankar <gowrishankar.m@in.ibm.com>,
Tested-by: Gowrishankar <gowrishankar.m@in.ibm.com>,
Acked-by: John Stultz <johnstul@us.ibm.com>,
Acked-by: Darren Hart <dvhltc@us.ibm.com>,
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
ce93bf4f8bc383bec6f4c228a5237d31fb0a150e 13-Oct-2009 subrata_modak <subrata_modak> realtime: Remove printing of cpu affinity masks in pi-tests: Some tests under realtime/func/pi-tests in LTP display junk values for cpu affinity masks:
Start ./testpi-2
protocol in mutexattr is 1
Thread 14574 started running with priority 10 on CPU 1110536304
Thread 14574 at start pthread pol 2 pri 10 - Got global lock
Thread 14575 started running with prio 20 on CPU 1084272752
Thread 14576 started running with prio 30 on CPU 1118929008
Thread 14577 started running with prio 40 on CPU 1127321712
Noise Thread 14578 started running with prio 40 on CPU 1099915376

testpi-1 and testpi-4 also report similar wrong values.

The cause of this problem is the incorrect way in which sched_getaffinity output is used in the tests. I think there is no need to call getaffinity() to know the cpu mask, because we test the return value of setaffinity() before that. The following patch removes all calls to sched_affinity() and removes printing cpu affinity masks.
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>,
Acked-by: Gowrishankar <gowrishankar.m@in.ibm.com>,
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
4ce8327beabab97264810705c509a50c1e6330d9 28-Nov-2008 subrata_modak <subrata_modak> Remove references of jvmsim from the tests: Most of the testcases, have an option (-j) which runs the jvmsim as a background load so as to simulate the behavior of the JVM.This patch removes the references of jvmsim from all the testcases. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>, Acked-by: Sripathi Kodi <sripathik@in.ibm.com>.
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
d0f013f49cb667e3bfd782eca9f41f32cc6eba22 20-Apr-2008 subrata_modak <subrata_modak> Now that the realtime tests are part of the LTP, there is no need to have any longer specific compilation directives comments in the source files. And in most cases they are incorrect. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>. Cc: Darren Hart <dvhltc@us.ibm.com>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
d93eb3eeece016658bce9504009c30b71458e34d 28-Feb-2008 subrata_modak <subrata_modak> 1) The pi-tests don't use the librttest infrastructure and simply duplicate code. This patch ensures that those tests use librttest.
2) The thread-clock test doesn't use the librttest infrastructure. This patch ensures that it does.
3) Adds missing headers to the following files,
Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>,
Acked-By: Dinakar Guniguntala <dino@in.ibm.com>,
Acked-By: Sebastien Dugue <sebastien.dugue@bull.net>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
1378205b23aad2d399f74f0ab2e97a1cd3f8ecf9 22-Feb-2008 subrata_modak <subrata_modak> There are numerous cleanups, fixes and features went into our locally maintained version of realtime tests, since its intergration in LTP december last year. This patch merges those changes into LTP tree. The patch majorly contains :
- All features, cleanups and fixes done by IBM realtime team over last two month or so.
- Change in copyrights( year, symbil and limiting columns to 80 chars)
- Other few cleanups to ltp-realtime tests.

Signed-off-by : Sudhanshu Singh < sudh@linux.vnet.ibm.com>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c
6acdc8efa73ceb0c3b515cd34c333d929e8b4273 26-Dec-2007 subrata_modak <subrata_modak> Initial Set of Real Time Linux Test Cases, by Nivedita Singhvi <niv@us.ibm.com> & sudhanshu Singh <sudhanshusingh@in.ibm.com>
/external/ltp/testcases/realtime/func/pi-tests/testpi-1.c