- 12 Dec, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 11 Nov, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 10 Nov, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 20 Sep, 2020 1 commit
-
-
lio authored
When evl_attach_thread() was called, a local stack variable *attrs* will copy- from-user to linux-evl. The problem is that *attrs* initializes only two of its members:attrs.sched_policy and attrs.sched_priority, but none of the other members are initialized. These uninitialized may be "zero" or any other random values, for example: attrs->sched_rr_quantum may be some none-zero value when the threads under discussion is a SCHED_RR task. In this case, *attrs* copyed to linux-evl in *thread_common_ioctl()*, and attrs->sched_rr_quantum is none-zero value; then fllowed call *set_time_slice* will lead to a -EINVAL return for meet *quantum <= evl_get_clock_gravity()*. This patch will initialize all members of *attrs* to zero. Signed-off-by:
lio <liu.hailong6@zte.com.cn>
-
- 13 Sep, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 16 Jul, 2020 2 commits
-
-
lio authored
Libevl use *-Wshadow=local* flags in config.mk. However this flag is only valid when version >=7, otherwise gcc will complain : "unrecognized command line option ‘-Wshadow=local’; did you mean ‘-Wshadow-ivar’?" and compile will be failed. This patch fix this probelm. Signed-off-by:
lio <liu.hailong6@zte.com.cn> Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Kernel entry instrumentation/debug code has to run in the hot path by definition, add it to the list of settings which may increase latency. This feature is only available for x86 as of kernel 5.8, but it is likely going to spread all over the place in the future, so register it as generic. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 04 Jul, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 14 Jun, 2020 3 commits
-
-
Philippe Gerum authored
Add back a 1s warm-up time, making sure not to include the delta values collected during this period in the histogram distribution this time. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
We cannot rule out one-time PTE misses at startup. Add back a 1s warm-up time for the unusual case. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
We may not get back to the test sitter upon signal (SIGINT/SIGALRM), so move the code parsing the last data bulk behind the sigwait() call instead. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 01 Jun, 2020 3 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Using -C bypasses the CPU checks, allowing to set the CPU affinity to a non-isolated core. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
This mode measures the delay between the moment a synthetic interrupt is posted from the oob stage and when it is eventually received by its in-band handler. When measured under significant pressure, this gives the typical interrupt latency experienced by the in-band kernel due to local interrupt disabling. Therefore, this is an in-band only test which measures IRQ latency experienced by the common kernel infrastructure, _NOT_ by EVL. Measurement is requested with '-s' option. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 27 May, 2020 2 commits
-
-
Philippe Gerum authored
An ugly work-around to pass the test on armv6l (e.g. Raspberry PI Zero targeting the softfp floating-point ABI). Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Using [SCHED_FIFO, 98] for running the responder thread will work for both EVL and native preemption configurations (i.e. GPIO mode). On the latter, it won't compete with high-priority housekeeping threads running in kernel space (prio 99) which is recommended and saner. On both, this leaves lower priority levels for common application-level threads. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 26 May, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 24 May, 2020 1 commit
-
-
Philippe Gerum authored
We have been dealing properly with cells having no sample logged for many moons. There is no reason to increment all cell counts anymore. This makes the overall sample count consistent with the sum of all cell counts. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 23 May, 2020 4 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 19 May, 2020 1 commit
-
-
Philippe Gerum authored
This is a general fix addressing several issues in the retrieval of histogram data from latmon, which reverts #6b2425d8 in the same move: - use a safe socket send loop in order to cope with partial writes on the latmon side. - drop the very notion of warmup time, the system must be ready to respond with no delay or preparation, and the average figures won't be affected over long enough runs anyway. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 16 May, 2020 1 commit
-
-
Philippe Gerum authored
Losing the whole result log upon network error communicating with latmon is very annoying, especially when this happens at the very end of an overnight test. Since we have a TCP connection, we can trust the results received so far, so dump them to the result file regardless. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 14 May, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 11 May, 2020 2 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 10 May, 2020 2 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Since ABI 24, we can read from the target file connected to a proxy. The EVL_CLONE_INPUT, EVL_CLONE_OUTPUT creation flags select the direction (may be combined for a single proxy instance). The evl_new_proxy() short call form sticks with the original behavior, creating an output-only proxy. There is actually no change needed to libevl in order to enable this feature. Just add a test for peace of mind. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 04 May, 2020 3 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Do build them unconditionally though. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 03 May, 2020 2 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 01 May, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 30 Apr, 2020 2 commits
-
-
Philippe Gerum authored
Since ABI 23, the core is able to channel T_WOSS, T_WOLI and T_WOSX error notifications through the offender's observable component if present. Convert all SIGDEBUG_xxx cause codes to the new EVL_HMDIAG_xxx naming, so that we have a single nomenclature for these errors regardless of whether threads are notified via SIGDEBUG or their observable component. The API rev. is bumped to #17 as a result of these changes. Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Since ABI 23, the core provides the new observable element, which enables the observer design pattern. Any EVL thread is in and of itself an observable which can be monitored for events too. As a by-product, the poll interface can now be given a user-defined opaque data when subscribing file descriptors to poll elements, which the core passes back on return to evl_poll(). Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 26 Apr, 2020 1 commit
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
- 23 Apr, 2020 2 commits
-
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-
Philippe Gerum authored
Signed-off-by:
Philippe Gerum <rpm@xenomai.org>
-