realtime:hrtimer-prio: fix misleading help message
PATCH 1/3 realtime:hrtimer-prio: fix misleading help message
The argument "-m" had been removed years ago, but the help message mistakenly offered to set "maximum timer latency in microseconds".
--- testcases/realtime/func/hrtimer-prio/hrtimer-prio.c | 3 --- 1 file changed, 3 deletions(-)
testcases/realtime/func/hrtimer-prio/hrtimer-prio.c +0 -3
@@ -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)
Signature · 1 line
2.32.0
PATCH 2/3 realtime:hrtimer-prio:run_auto: jump to current dir
The patch makes possible to run the test from LTP root dir.
--- testcases/realtime/func/hrtimer-prio/run_auto.sh | 1 + 1 file changed, 1 insertion(+)
testcases/realtime/func/hrtimer-prio/run_auto.sh +1 -0
@@ -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/
Signature · 1 line
2.32.0
PATCH 2/3 realtime:hrtimer-prio:run_auto: jump to current dir
Merged also this one, thanks!
Kind regards,
Petr
PATCH 3/3 realtime:profiles: support hrtimer-prio
In reply to Bogdan Lezhepekov--- testcases/realtime/profiles/default | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
testcases/realtime/profiles/default +7 -3
@@ -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
Signature · 1 line
2.32.0
PATCH 3/3 realtime:profiles: support hrtimer-prio
Hi Bogdan,
I moved whitespace change into separated commit and both merged. Thanks!
Kind regards,
Petr
PATCH 3/3 realtime:profiles: support hrtimer-prio
Hi Petr,
Thank you for reviewing!
-Bogdan
________________________________
From: Petr Vorel <[email protected]>
Sent: Tuesday, September 14, 2021 8:40
To: Bogdan Lezhepekov <[email protected]>
Cc: [email protected] <[email protected]>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210914/10d32f9c/attachment.htm>
PATCH 1/3 realtime:hrtimer-prio: fix misleading help message
In reply to Bogdan LezhepekovHi Bogdan,
good catch, merged!
Kind regards,
Petr