1. 07 Feb, 2021 1 commit
    • Philippe Gerum's avatar
      utils: evl-trace: add support for trace groups · 969ec9c1
      Philippe Gerum authored
      
      
      It comes in handy to be able to enable a set of related tracepoints
      for specific tracing purposes.
      
      The -e option can now take an optional parameter specifying a
      pre-defined group of related tracepoints to enable, so far:
      
      irq = pipeline_entry, pipeline_exit, handler_entry, handler_exit
      timer = tracepoints related to timer event handling with latmus (used in
      chasing latency in the timer handling path)
      evl = all core tracepoints
      all = all tracepoints ftrace knows about
      
      -eall is identical to -f.
      
      -E<tracepoint_file> enables the tracepoints mentioned in the
       user-provided <file>.
      
      -t can be passed to dry-run the enable command, getting the list of
       ftrace settings which would have been set without this option when
       enabling the trace.
      Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
      969ec9c1
  2. 13 Dec, 2020 5 commits
  3. 12 Dec, 2020 4 commits
  4. 11 Nov, 2020 1 commit
  5. 10 Nov, 2020 1 commit
  6. 20 Sep, 2020 1 commit
    • lio's avatar
      lib:fix possible returning EINVAL when evl_attach* called by SCHED_RR threads · f20f616f
      lio authored and Philippe Gerum's avatar Philippe Gerum committed
      
      
      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
  7. 13 Sep, 2020 1 commit
  8. 16 Jul, 2020 2 commits
  9. 04 Jul, 2020 1 commit
  10. 14 Jun, 2020 3 commits
  11. 01 Jun, 2020 3 commits
  12. 27 May, 2020 2 commits
  13. 26 May, 2020 1 commit
  14. 24 May, 2020 1 commit
  15. 23 May, 2020 4 commits
  16. 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: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
      1377720f
  17. 16 May, 2020 1 commit
  18. 14 May, 2020 1 commit
  19. 11 May, 2020 2 commits
  20. 10 May, 2020 2 commits
  21. 04 May, 2020 2 commits