- 9a84db5 This patch ensures that the python scripts support utf encoding. Prior to the patch, the python scripts would exit with this error: by subrata_modak · 16 years ago
- 7859695 This patch fixes a few minor issues in run.sh by subrata_modak · 16 years ago
- 0d8f525 This patch removes outdated (or irrelevant) parts of the existing documentation and updates its. Also incorporated are suggestions made by Darren. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
- fd96e73 While the synchronization in the sched_football testcase under the realtime test suite is not erroneous, it can be enahnced and made more reliable by making use of pthread_barriers, like in other testcases. This patch adds the same. Testing done: Infinite iterations of the testcase run with this patch. by subrata_modak · 16 years ago
- 573e348 This is a patch from John, written a few months back. I have fixed up a few cosmetic whitespace bits, and have refreshed it so it should apply cleanly to LTP today. Will Schmidt <will_schmidt@vnet.ibm.com>. by subrata_modak · 16 years ago
- 3358671 In tsc_minus, changed test (tsc_begin < tsc_end) by (tsc_begin <= tsc_end) since values can be equal as read operations are sometimes very close. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Cc: Tim Chavez <tinytim@us.ibm.com>. Acked-by: Darren Hart <dvhltc@us.ibm.com>. by subrata_modak · 16 years ago
- 49309b9 This macro reads atomically the 64-bit TSC register. Reading the 64-bit register using two 32-bit instructions sometimes causes wrapping when a clock update appears in between. A single 64-bit read fixes this. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Cc: Tim Chavez <tinytim@us.ibm.com>. by subrata_modak · 16 years ago
- 75d0486 First patch regroups TSC functions and macros definition into librttest. Second patch is to have an atomic reading of the 64-bit timebase register of powerpc64. This new function is only valid if -m64 is used when compiling the whole testcase suite with a powerpc64. Thirs patch is a fix to avoid spurious tsc_minus warning. These patches been tested on a ppc64 machine either with 32 or 64 bit binaries. (-m64). by subrata_modak · 16 years ago
- b6438db When compiling powerpc binaries, gcc defaults to 32 bit. To do some tests I needed to have a 64 bit binary. Since I'm using realtime, I modified config.mk as below. My questions: is there any official way to turn LTP in 64bit? If not, what shall we do then? Should LTP default to 32 or native-arch bit? Shall we use something like: "if (uname -m) ..." or use a command line option? Any comment? by subrata_modak · 16 years ago
- a5765f2 This patch ensures that async_handler and async_handler_jk runs by default. Also the profile/default is updated to reflect the same. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 16 years ago
- 2c82e33 It looks like the only thing that didn't apply was the function declaration. It builds (with a warning) and runs just fine. But here is a patch to fix the warning. Signed-off-by: Vernon Mauery <vernux@us.ibm.com>. by subrata_modak · 16 years ago
- 021ed25 I spent some time looking at the sched_latency test trying to see why it took so long to start the thread. The java version of the test takes a comparable amount of time to start the thread as it does for each period. The rt-test version was taking an order of magnitude longer. After digging through the java documentation, I found that the RealtimeThread does not actually start executing until the RealtimeThread.waitForNextPeriod() fulfills the time specified in the PeriodicParameters parameter included in its constructor. So all the tests are scheduled to run about 1 second after the threads are created. This gives the system plenty of time to create the thread (a non-realtime code path), set the scheduling parameters and then sleep until the specified run time. The start latency as measured by the test goes something like this: by subrata_modak · 16 years ago
- d04fedf Ankita Proposed that: by subrata_modak · 16 years ago
- 6f71555 Profiled tests - cleanup. I forgot some useless code in the scripts. These patches do the cleanup. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. by subrata_modak · 16 years ago
- 1ffddf0 Profiled Tests: by subrata_modak · 16 years ago
- 3bfea97 These patches will allow for the plotting of the max over time in discrete segments, rather than as a monotonically increasing value, while maintaining the original behavior by default. The existing test has an infinite window and report the new max each time it is increased. The patch maintains the default behavior and adds a -w option, allowing the user to specify a window (iteration count) for which the max of that window is reported ever w iterations. Signed-off-by: Darren Hart <dvhltc@us.ibm.com>. Acked-by: John Stultz <johnstul@us.ibm.com>. by subrata_modak · 16 years ago
- ba9a5b9 These patches will allow for the plotting of the max over time in discrete segments, rather than as a monotonically increasing value, while maintaining the original behavior by default. Cleanup some whitespace issues here. Signed-off-by: Darren Hart <dvhltc@us.ibm.com>. Acked-by: John Stultz <johnstul@us.ibm.com>. by subrata_modak · 16 years ago
- 0baface Modified sched_latency.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- ab3bbe6 Modified tc-2.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- 22a75d5 Modified hrtimer-prio.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- 758acd6 Modified pi_perf.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- 7288933 Modified async_handler.c and async_handler_jk.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- 38f5dcd Modified matrix_mult.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- 4786315 Modified pthread_kill_latency.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- ffc7b35 Modified prio-preempt.c to consider pass criteria (-c) arg. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- dcb0d30 Added -c arg into rt_init of librttest.c so all tests can use it. This arg sets the global variable (double) pass_criteria. librttest.h declares pass_criteria as external. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- cc6b329 Modified periodic_cpu_load_single.c. Changed arg -c to -l (calculation per loop). In next patch, -c arg is to be used as pass/fail criteria globally for all tests. Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com> by subrata_modak · 17 years ago
- 87191dd Added missing break in parse args switch/case. (-s arg). Signed-off-by: Gilles Carry <gilles.carry@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com> by subrata_modak · 17 years ago
- 6e619ee I believe we had written this test to debug the other test with a lower overhead clocksource. Unfortunately, the tsc is x86 specific, isn't consistent across CPUs on certain systems, and can have it's frequency changed depending on by power states. For all those reasons this test can simply be removed from the LTP. Raied by Daniel Gollub <dgollub@suse.de>, endorsed by Sebastien Dugue <sebastien.dugue@bull.net>, seconded by Darren Hart <dvhltc@us.ibm.com>. by subrata_modak · 17 years ago
- 7540004 Remove the last 2 files missed in the migration, namely: by subrata_modak · 17 years ago
- ec649c6 Some tests have a configurable number of iterations. However those same tests which do calculate quantiles need a number of iterations higher than 100. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- cd9aeee periodic_cpu_load has a '-i iterations' command line argument without it being listed in the help. Add its description to the usage() function. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- b1f31b1 The rttest, stats and jvmsim library archives used by the realtime tests only contain a single object file each. Therefore we can skip the "ar" and "ranlib" steps and directly link with the objects. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com>. by subrata_modak · 17 years ago
- 71189c6 pi_perf is not built by default, so add it to SUBDIRS in testcases/realtime/Makefile. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>. Acked-by: Chirag <chirag@linux.vnet.ibm.com> by subrata_modak · 17 years ago
- d0f013f 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> by subrata_modak · 17 years ago
- d79e1a1 checks return values of asprintf calls else gcc-4.3.0 fails like following; by subrata_modak · 17 years ago
- 4a174f9 dont stick ar flags into AR, and dont set AR/RANLIB by default by vapier · 17 years ago
- ab889c6 split CFLAGS/CPPFLAGS properly and remove inappropriate flags by vapier · 17 years ago
- fb02e2a Fixes a minor issue with pi_perf testcase (testcases/realtime/func/). The wait_dat is intended to measure the amount of time it took for the high priority thread to actually obtain the lock from the time it was released by the low priority thread. The patch fixes this computation to measure it more accurately. The PASS/FAIL computation is unaffected. Signed-off-by: Ankita Garg <ankita@in.ibm.com>, Acked-by: Sripathi Kodi <sripathik@in.ibm.com> by subrata_modak · 17 years ago
- 26b2c9a This patch updates the matrix_mult testcase to closely follow the JVM in the concurrent case. So in the concurrent case we have 'numcpus-1' concurrent threads that are handed out work by the main thread and once we run out of concurrent threads, the main thread does the work itself. Signed-off-by: Dinakar Guniguntala <dino@in.ibm.com> by subrata_modak · 17 years ago
- 30b7df2 Usually the cross compiler is set from the toplevel directory by setting the CROSS_COMPILER variable. This makefile tries to overwrite it, but wrong. It is also possible to push in CFLAGS from the toplevel by using CROSS_CFLAGS. We should use these here as well. Finally, LDFLAGS are set here but not used by the makefiles. Moving the posix libs to LDLIBS makes it build. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> by subrata_modak · 17 years ago
- 6856fb1 Fix by Michael Olbrich <m.olbrich@pengutronix.de>, as, Sebastien´s Patch [[PATCH 3/3] [Realtime] Remove autotools specific stuff] applied on 24/03/2008 breaks this script. by subrata_modak · 17 years ago
- bfd58c8 Forgot to remove include/rttests_config.h.in in the previous patch. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net> by subrata_modak · 17 years ago
- 58f0b1a Remove autotools stuff: by subrata_modak · 17 years ago
- d104a94 Add Makefiles to all the realtime testcases without any autotools dependencies. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net> by subrata_modak · 17 years ago
- 51a6d8b Add 2 scripts for detecting features used by some tests, namely: by subrata_modak · 17 years ago
- ac423fd Whitespaces cleanup and added -i argument for iterations, by, Gilles Carry <gilles.carry@bull.net> by subrata_modak · 17 years ago
- 1db2f5c We have seen that prio_preempt testcase that is part of realtime tests occasionally hangs. This can be easily recreated on a 8-cpu system, but can be recreated on a 4-cpu system as well when run for a number of iterations. The problem occurs because the first worker thread sometimes fails to call cond_wait on the condvar through which the master thread signals it to start. Since the first thread needs to start the chain of signalling from then on, all other threads just sit in a cond_wait without ever being woken up. The fix is to have a barrier to ensure that the first worker thread doesn't miss the cond_signal. I have tested this patch by running 10s of thousands of iterations of the testcase. Without the patch I can recreate the problem fairly easily, by, Sripathi Kodi <sripathik@in.ibm.com> by subrata_modak · 17 years ago
- 8349b3f In a lot of cases, we do not really care about the samples and histogram files and their associated gnuplot command files or do not want to save them for example on embedded platforms with limited or no storage. This patch disables generating those files by default and introduce a new parameter to the tests, namely '-s', for when we really want to. by subrata_modak · 17 years ago
- 255d032 1. Whitespaces cleanup by subrata_modak · 17 years ago
- 4cfd91c This file uses pthread_mutex_lock(), which needs posix.h. by subrata_modak · 17 years ago
- 2ddd737 1. Minor fixes: by subrata_modak · 17 years ago
- 188f280 This patch fixes the testcases mismerge due to the patch "There are numerous cleanups, fixes and features went into our ..." from Sudhanshu Singh. Turned out there was less damage than I thought. Hopefully, it should restore the fixes and cleanups which were reverted before the February Release. by subrata_modak · 17 years ago
- d93eb3e 1) The pi-tests don't use the librttest infrastructure and simply duplicate code. This patch ensures that those tests use librttest. by subrata_modak · 17 years ago
- 1378205 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 : by subrata_modak · 17 years ago
- ac5aaa6 run_auto.sh file for realtime/func/pthread_kill_latency/ testcase got missed out in first release of realtime tests. This patch adds run_auto.sh for testcase which is required to run this particular test through top-level run script, by, sudhanshu <sudh@linux.vnet.ibm.com> by subrata_modak · 17 years ago
- 4ada1ca Here is a second round of cleanup and fixes for the realtime testcases. by subrata_modak · 17 years ago
- 00aa832 do not store cache files by vapier · 17 years ago
- d14a874 A huge Update to the RT Linux Tree by Sebastien Dugu <sebastien.dugue@bull.net> by subrata_modak · 17 years ago
- 3d688dd Some fixes for log directory and execute permission to the script, by Sudhanshu Singh <sudh@linux.vnet.ibm.com> and Jeff Burke <jburke@redhat.com> by subrata_modak · 17 years ago
- 2173c48 Updates for Some Copyright and License Declarations by subrata_modak · 17 years ago
- 6acdc8e Initial Set of Real Time Linux Test Cases, by Nivedita Singhvi <niv@us.ibm.com> & sudhanshu Singh <sudhanshusingh@in.ibm.com> by subrata_modak · 17 years ago