1. 11 Nov, 2020 1 commit
  2. 10 Nov, 2020 1 commit
  3. 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>
      f20f616f
  4. 13 Sep, 2020 1 commit
  5. 16 Jul, 2020 2 commits
  6. 04 Jul, 2020 1 commit
  7. 14 Jun, 2020 3 commits
  8. 01 Jun, 2020 3 commits
  9. 27 May, 2020 2 commits
  10. 26 May, 2020 1 commit
  11. 24 May, 2020 1 commit
  12. 23 May, 2020 4 commits
  13. 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>
      1377720f
  14. 16 May, 2020 1 commit
  15. 14 May, 2020 1 commit
  16. 11 May, 2020 2 commits
  17. 10 May, 2020 2 commits
  18. 04 May, 2020 3 commits
  19. 03 May, 2020 2 commits
  20. 01 May, 2020 1 commit
  21. 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
      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: default avatarPhilippe Gerum <rpm@xenomai.org>
      3fef97c6
    • 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>
      f27fc993
  22. 26 Apr, 2020 1 commit
  23. 23 Apr, 2020 3 commits