summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* version bump to 0.47v0.47Clark Williams2009-07-051-1/+1
|
* updated change logClark Williams2009-07-051-0/+6
|
* change options for --policy to be string names rather than integersClark Williams2009-07-052-12/+87
| | | | | | | moved policy display from individual threads to header with load average did some sanity checking so that policy and priority match Signed-off-by: Clark Williams <williams@redhat.com>
* Subject: [PATCH]cyclictest: Arrange alphabetically for readability ofClark Williams2009-07-051-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "cyclictest --help". From: GeunSik Lim <leemgs1@gmail.com> Reply-To: leemgs1@gmail.com To: williams <williams@redhat.com> Cc: linux-rt-users <linux-rt-users@vger.kernel.org>, tglx <tglx@linutronix.de> When we use "#> cyclictest --help" command, we are confusing because of random order of many options. Arrange alphabetically. After Patch) [root@fedora11 rt-tests]# ./cyclictest --help cyclictest V 0.46 Usage: cyclictest <options> -a [NUM] --affinity run thread #N on processor #N, if possible with NUM pin all threads to the processor NUM -b USEC --breaktrace=USEC send break trace command when latency > USEC -B --preemptirqs both preempt and irqsoff tracing (used with -b) -c CLOCK --clock=CLOCK select clock 0 = CLOCK_MONOTONIC (default) 1 = CLOCK_REALTIME -C --context context switch tracing (used with -b) -d DIST --distance=DIST distance of thread intervals in us default=500 -D --duration=t specify a length for the test run default is in seconds, but 'm', 'h', or 'd' maybe added to modify value to minutes, hours or days -E --event event tracing (used with -b) -f --ftrace function trace (when -b is active) -h --histogram=US dump a latency histogram to stdout after the run (with same priority about many threads) US is the max time to be be tracked in microseconds -i INTV --interval=INTV base interval of thread in us default=1000 -I --irqsoff Irqsoff tracing (used with -b) -l LOOPS --loops=LOOPS number of loops: default=0(endless) -m --mlockall lock current and future memory allocations -n --nanosleep use clock_nanosleep -N --nsecs print results in ns instead of ms (default ms) -o RED --oscope=RED oscilloscope mode, reduce verbose output by RED -O TOPT --traceopt=TOPT trace option -p PRIO --prio=PRIO priority of highest prio thread -P --preemptoff Preempt off tracing (used with -b) -q --quiet print only a summary on exit -r --relative use relative timer instead of absolute -s --system use sys_nanosleep and sys_setitimer -t --threads one thread per available processor -t [NUM] --threads=NUM number of threads: without NUM, threads = max_cpus without -t default = 1 -T TRACE --tracer=TRACER set tracing function configured tracers: unavailable (debugfs not mounted) -v --verbose output values on stdout for statistics format: n:c:v n=tasknum c=count v=value in us -w --wakeup task wakeup tracing (used with -b) -W --wakeuprt rt task wakeup tracing (used with -b) -y POLI --policy=POLI policy of realtime thread (1:FIFO, 2:RR) format: --policy=1(default) or --policy=2 Signed-by-off: GeunSik Lim <geunsik.lim@samsung.com> Signed-off-by: Clark Williams <williams@redhat.com>
* Subject: [PATCH] cyclictest: Add policy option to support FIFO or RR byClark Williams2009-07-052-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | users From: GeunSik Lim <leemgs1@gmail.com> To: williams <williams@redhat.com> Cc: linux-rt-users <linux-rt-users@vger.kernel.org>, tglx <tglx@linutronix.de> Current cyclictest support FIFO policy for static priority of RT threads only. Append policy option to support FIFO or RR by user. After this patch. 1) with FIFO about RT threads(default) ./cyclictest -t 5 -p 50 or ./cyclictest -t 5 -p 50 -y 1 or ./cyclictest -t 5 -p 50 --policy 1 2) with RR about RT threads(default) ./cyclictest -t 5 -p 50 -y 2 or ./cyclictest -t 5 -p 50 --policy 2 This is screenshot of threads using cyclictest & tuna utility after patch. http://blogfiles6.naver.net/20090703_5/invain_1246588185266_sc7zEq_PNG/cyclictest-tuna-policy.PNG Signed-off-by: GeunSik Lim <geunsik.lim@samsung.com> Signed-off-by: Clark Williams <williams@redhat.com>
* Subject: [PATCH] cyclictest : Appended man & usage about the same priorityClark Williams2009-07-052-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | of many threads with -h From: GeunSik Lim <leemgs1@gmail.com> Reply-To: leemgs1@gmail.com To: williams <williams@redhat.com> Cc: linux-rt-users <linux-rt-users@vger.kernel.org>, tglx <tglx@linutronix.de>, sdietrich@suse.de If we run a many threads with -t option, "priority--" rt priority will assign per thread in sequence. But, If we use -h option, all threads is same priority. Append man page and cyclictest usage about the same priority of many threads with -h option. ex) cyclictest -t 5 -p 50 [enter] <-- without -h ex) cyclictest -t 5 -p 50 -h 100 [enter] <-- with -h Signed-off-by: GeunSik Lim <geunsik.lim@samsung.com> Acked-by : Sven-Thorsten Dietrich <sdietrich@suse.de> Signed-off-by: Clark Williams <williams@redhat.com>
* changed smidetect to hwlatdetect in .gitignoreClark Williams2009-07-051-1/+1
|
* added fix from Daniel Gollub <dgollub@suse.de> for doomsday latencyv0.46Clark Williams2009-07-022-1/+4
| | | | version bump to 0.46
* Subject: Handle doomsday latency for cyclictest in histogram modeDaniel Gollub2009-07-021-6/+30
| | | | | | | | | | | | | | | Don't miss latency which exceed the histogram limit - instead sample limit exceeding latency in the last bucket. This is a leftover from cyclictest_histogram.patch: -> Todo: Currently cyclictest does not report the number of samples -> that exceeded the histogram max latency. Handle OOM. Signed-off-by: Daniel Gollub <dgollub@suse.de> Reviewed-by: Sven-Thorsten Dietrich <sdietrich@suse.de> --
* updated changelog for 0.45Clark Williams2009-07-021-0/+5
|
* version bump to 0.45; added help target to Makefilev0.45Clark Williams2009-07-021-1/+13
|
* Change output format to allow 6 digits.Sven-Thorsten Dietrich2009-07-021-1/+1
| | | | | | | This is useful when testing PREEMPT_NONE Kernels with cyclictest, where latencies approaching 1 second can be observed. Signed-off-by: Sven-Thorsten Dietrich <sdietrich@suse.de>
* added debug prints and retry logic to hwlatdetect enable/disable code and ↵Clark Williams2009-07-021-4/+4
| | | | detection code
* Avoid segfault of cyclictest if it gets immediately interrupted.Daniel Gollub2009-07-021-5/+12
| | | | | | | | | | | | | | | | | | | | | If clock_nanosleep() gets interrupted this could result in a negative time diff from calcdiff(). With the histogram patch this leads to a segfault, since the time diff is used as index for the histogram array: Core was generated by `/usr/bin/cyclictest -n -q -p 99 -t 2 -i 500 -l 1000000 -h 20000'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000402324 in timerthread (param=<value optimized out>) at src/cyclictest/cyclictest.c:339 339 stat->hist_array[diff] += 1; (gdb) p diff $1 = -751974 Signed-off-by: Daniel Gollub <dgollub@suse.de> Acked-by: Sven-Thorsten Dietrich <sdietrich@suse.de>
* version bump to v0.44v0.44Clark Williams2009-06-301-1/+1
|
* renamed smidetect to hwlatdetect in specfile templateClark Williams2009-06-301-2/+6
|
* added code to resize window/width when setting the other to a smaller valueClark Williams2009-06-301-0/+6
|
* version bump to 0.43v0.43Clark Williams2009-06-252-1/+7
|
* hwlatdetect.8: There is no macro .RUwe Kleine-König2009-06-241-2/+3
| | | | | | | | | You might wonder if this wasn't already fixed. Yes it was (in f16ec27fb3), but the change was undone by 3e04327f7f. While at it add an .br which makes the paragraph look a bit nicer. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* version bump to 0.42v0.42Clark Williams2009-06-121-1/+1
|
* added copyright header to hwlatdetect.pyClark Williams2009-06-121-0/+6
|
* updated hwlatdetect.8 to reflect new options/behaviorClark Williams2009-06-121-21/+42
|
* merge resolutionv0.41Clark Williams2009-06-128-381/+392
|\
| * added hwlatdetect remove in clean target of MakefileClark Williams2009-06-121-0/+1
| |
| * removed internal defaults (went with module defaults); added debugging code; ↵Clark Williams2009-06-121-21/+28
| | | | | | | | make sure window set before width
| * handled module changesClark Williams2009-06-102-45/+51
| |
| * updated distclean targetClark Williams2009-06-101-1/+1
| |
| * the great renaming: smidetect -> hwlatClark Williams2009-06-104-83/+54
| |
| * added smidetect and generated spec file to .gitignoreClark Williams2009-06-091-0/+2
| |
| * added non-blocking open+polling read to handle new module logic; added debug ↵Clark Williams2009-06-091-44/+54
| | | | | | | | statements
| * rewrite to match updated smi_detector moduleClark Williams2009-05-303-65/+79
| |
| * cyclictest: calcdiff calculated wrong seconds if the difference was bigger ↵Stefan Agner2009-05-281-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | than 2147s Hello, My first fix didn't took into account that long is 4 byte long on ARM. Therefor I changed it to long long now, which works on my ARM board... Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Clark Williams <williams@redhat.com>
* | Make comment describing set_debugfileprefix a bit clearerUwe Kleine-König2009-06-121-1/+1
| | | | | | | | | | | | | | | | | | This was noticed by GeunSik Lim. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: GeunSik Lim <leemgs1@gmail.com> Cc: Luis Claudio R. Goncalves <lclaudio@uudg.org> Cc: Clark Williams <williams@redhat.com>
* | smidetect.8: There is no macro .RUwe Kleine-König2009-05-141-1/+1
|/ | | | | | For a normal font just use nothing. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* added smidetectv0.40Clark Williams2009-05-133-2/+12
|
* added rule to ignore emacs backupfilesClark Williams2009-05-121-0/+1
|
* initial checkinClark Williams2009-05-121-0/+85
|
* initial checkinClark Williams2009-05-121-0/+352
|
* initial checkinClark Williams2009-05-121-0/+137
|
* version bump to 0.39v0.39Clark Williams2009-05-061-1/+1
|
* Makefile: don't override DESTDIR, prefix, bindir and mandirUwe Kleine-König2009-05-021-4/+4
| | | | | | This eases packaging rt-tests and shouldn't have any further impact. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* signaltest: fix typo in copyright headerUwe Kleine-König2009-05-021-1/+1
| | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Thomas Gleixner <tglx@linutronix.de>
* escape minus signs in manpagesUwe Kleine-König2009-05-022-15/+15
| | | | | | | | '-' chars are interpreted as hyphens by groff, not as minus signs. This means that if you're using an UTF-8 locale searching for '-' to find options doesn't work. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* version bump to 0.38v0.38Clark Williams2009-04-301-1/+1
|
* added code to usage message to show configured tracers if debugfs mountedClark Williams2009-04-301-3/+15
| | | | Signed-off-by: Clark Williams <williams@redhat.com>
* cyclictest: Remove duplicate entry for -m from manpageTobias Klauser2009-04-301-3/+0
| | | | | | | | | | | Hi Thomas, The patch below removes the duplicate entry for the -m/--mlockall option from the cyclictest manpage. Patch is againnst current HEAD of rt-tests.git Cheers, Tobias Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* updated version string to 0.37v0.37Clark Williams2009-04-291-1/+1
|
* added --tracer and --traceopt optionsClark Williams2009-04-291-0/+8
|
* added --tracer and --traceopt optionsClark Williams2009-04-291-4/+52
|
* correct usage message for -w and -WClark Williams2009-04-241-3/+3
|