1. 10 Nov, 2020 1 commit
  2. 20 Sep, 2020 1 commit
    • lio's avatar
      lib:fix possible returning EINVAL when evl_attach* called by SCHED_RR threads · f20f616f
      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: default avatarlio <liu.hailong6@zte.com.cn>
  3. 13 Sep, 2020 1 commit
  4. 16 Jul, 2020 2 commits
  5. 04 Jul, 2020 1 commit
  6. 14 Jun, 2020 3 commits
  7. 01 Jun, 2020 3 commits
  8. 27 May, 2020 2 commits
  9. 26 May, 2020 1 commit
  10. 24 May, 2020 1 commit
  11. 23 May, 2020 4 commits
  12. 19 May, 2020 1 commit
    • Philippe Gerum's avatar
      benchmarks/latmus: latmon: fix retrieval of histogram data · 1377720f
      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: default avatarPhilippe Gerum <rpm@xenomai.org>
  13. 16 May, 2020 1 commit
  14. 14 May, 2020 1 commit
  15. 11 May, 2020 2 commits
  16. 10 May, 2020 2 commits
  17. 04 May, 2020 3 commits
  18. 03 May, 2020 2 commits
  19. 01 May, 2020 1 commit
  20. 30 Apr, 2020 2 commits
    • Philippe Gerum's avatar
      lib: convert to HM diagnostic messages · 3fef97c6
      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
      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
      The API rev. is bumped to #17 as a result of these changes.
      Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
    • Philippe Gerum's avatar
      lib: introduce the interface to observables · f27fc993
      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: default avatarPhilippe Gerum <rpm@xenomai.org>
  21. 26 Apr, 2020 1 commit
  22. 23 Apr, 2020 4 commits