* [LTP] [PATCH v1 1/3] realtime:hrtimer-prio: fix misleading help message
@ 2021-09-13 16:37 ` Bogdan Lezhepekov via ltp
2021-09-13 16:37 ` Bogdan Lezhepekov via ltp
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Bogdan Lezhepekov via ltp @ 2021-09-13 16:37 UTC (permalink / raw)
To: ltp
The argument "-m" had been removed years ago, but the help
message mistakenly offered to set "maximum timer
latency in microseconds".
Signed-off-by: Bogdan Lezhepekov <bogdan.lezhepekov@suse.com>
---
testcases/realtime/func/hrtimer-prio/hrtimer-prio.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c b/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
index 4ae49a713..cbc2343f6 100644
--- a/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
+++ b/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
@@ -76,9 +76,6 @@ void usage(void)
printf
(" -f# #:rt fifo priority of busy threads (1,98), defaults to %d\n",
DEF_MED_PRIO);
- printf
- (" -m# #:maximum timer latency in microseconds, defaults to %d\n",
- DEF_CRITERIA);
}
int parse_args(int c, char *v)
--
2.32.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [LTP] [PATCH v1 2/3] realtime:hrtimer-prio:run_auto: jump to current dir
@ 2021-09-13 16:37 ` Bogdan Lezhepekov via ltp
2021-09-14 5:30 ` Petr Vorel
0 siblings, 1 reply; 7+ messages in thread
From: Bogdan Lezhepekov via ltp @ 2021-09-13 16:37 UTC (permalink / raw)
To: ltp
The patch makes possible to run the test from LTP root dir.
Signed-off-by: Bogdan Lezhepekov <bogdan.lezhepekov@suse.com>
---
testcases/realtime/func/hrtimer-prio/run_auto.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/realtime/func/hrtimer-prio/run_auto.sh b/testcases/realtime/func/hrtimer-prio/run_auto.sh
index ec3d83a85..a20dbe540 100644
--- a/testcases/realtime/func/hrtimer-prio/run_auto.sh
+++ b/testcases/realtime/func/hrtimer-prio/run_auto.sh
@@ -2,6 +2,7 @@
profile=${1:-default}
+cd $(dirname $0) # Move to test directory
if [ ! $SCRIPTS_DIR ]; then
# assume we're running standalone
export SCRIPTS_DIR=../../scripts/
--
2.32.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [LTP] [PATCH v1 3/3] realtime:profiles: support hrtimer-prio
@ 2021-09-13 16:37 ` Bogdan Lezhepekov via ltp
2021-09-14 5:40 ` Petr Vorel
0 siblings, 1 reply; 7+ messages in thread
From: Bogdan Lezhepekov via ltp @ 2021-09-13 16:37 UTC (permalink / raw)
To: ltp
Signed-off-by: Bogdan Lezhepekov <bogdan.lezhepekov@suse.com>
---
testcases/realtime/profiles/default | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/testcases/realtime/profiles/default b/testcases/realtime/profiles/default
index b0bb6b890..440096fbe 100644
--- a/testcases/realtime/profiles/default
+++ b/testcases/realtime/profiles/default
@@ -46,11 +46,15 @@ func/matrix_mult matrix_mult -c 0.75
# Default maxduration=0.5 s
func/thread_clock tc-2 -c 0.5
+# Pass if maximum timer latency is less than criterium (us).
+# Default latency=10 us
+func/hrtimer-prio hrtimer-prio
+
# The below tests have no pass/fail criterium.
func/gtod_latency gtod_latency
func/sched_jitter sched_jitter
-func/periodic_cpu_load periodic_cpu_load
-func/periodic_cpu_load periodic_cpu_load_single
+func/periodic_cpu_load periodic_cpu_load
+func/periodic_cpu_load periodic_cpu_load_single
func/prio-wake prio-wake
func/sched_football sched_football
func/pi-tests testpi-0
@@ -60,4 +64,4 @@ func/pi-tests testpi-4
func/pi-tests testpi-5
func/pi-tests testpi-6
func/pi-tests sbrk_mutex
-func/rt-migrate rt-migrate
+func/rt-migrate rt-migrate
--
2.32.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 1/3] realtime:hrtimer-prio: fix misleading help message
@ 2021-09-14 5:30 ` Petr Vorel
0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2021-09-14 5:30 UTC (permalink / raw)
To: Bogdan Lezhepekov; +Cc: ltp
Hi Bogdan,
good catch, merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 2/3] realtime:hrtimer-prio:run_auto: jump to current dir
@ 2021-09-14 5:30 ` Petr Vorel
0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2021-09-14 5:30 UTC (permalink / raw)
To: Bogdan Lezhepekov; +Cc: ltp
Merged also this one, thanks!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 3/3] realtime:profiles: support hrtimer-prio
@ 2021-09-14 5:40 ` Petr Vorel
2021-09-14 7:13 ` Bogdan Lezhepekov via ltp
0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2021-09-14 5:40 UTC (permalink / raw)
To: Bogdan Lezhepekov; +Cc: ltp
Hi Bogdan,
I moved whitespace change into separated commit and both merged.
Thanks!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] [PATCH v1 3/3] realtime:profiles: support hrtimer-prio
@ 2021-09-14 7:13 ` Bogdan Lezhepekov via ltp
0 siblings, 0 replies; 7+ messages in thread
From: Bogdan Lezhepekov via ltp @ 2021-09-14 7:13 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp
[-- Attachment #1.1: Type: text/plain, Size: 446 bytes --]
Hi Petr,
Thank you for reviewing!
-Bogdan
________________________________
From: Petr Vorel <pvorel@suse.cz>
Sent: Tuesday, September 14, 2021 8:40
To: Bogdan Lezhepekov <bogdan.lezhepekov@suse.com>
Cc: ltp@lists.linux.it <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v1 3/3] realtime:profiles: support hrtimer-prio
Hi Bogdan,
I moved whitespace change into separated commit and both merged.
Thanks!
Kind regards,
Petr
[-- Attachment #1.2: Type: text/html, Size: 1663 bytes --]
[-- Attachment #2: Type: text/plain, Size: 60 bytes --]
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-09-14 7:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 16:37 [LTP] [PATCH v1 1/3] realtime:hrtimer-prio: fix misleading help message Bogdan Lezhepekov via ltp
2021-09-13 16:37 ` Bogdan Lezhepekov via ltp
2021-09-13 16:37 ` [LTP] [PATCH v1 2/3] realtime:hrtimer-prio:run_auto: jump to current dir Bogdan Lezhepekov via ltp
2021-09-13 16:37 ` Bogdan Lezhepekov via ltp
2021-09-14 5:30 ` Petr Vorel
2021-09-14 5:30 ` Petr Vorel
2021-09-13 16:37 ` [LTP] [PATCH v1 3/3] realtime:profiles: support hrtimer-prio Bogdan Lezhepekov via ltp
2021-09-13 16:37 ` Bogdan Lezhepekov via ltp
2021-09-14 5:40 ` Petr Vorel
2021-09-14 5:40 ` Petr Vorel
2021-09-14 7:13 ` Bogdan Lezhepekov via ltp
2021-09-14 7:13 ` Bogdan Lezhepekov via ltp
2021-09-14 5:30 ` [LTP] [PATCH v1 1/3] realtime:hrtimer-prio: fix misleading help message Petr Vorel
2021-09-14 5:30 ` Petr Vorel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.