1. 13 Oct, 2020 2 commits
  2. 12 Oct, 2020 2 commits
  3. 28 Sep, 2020 1 commit
  4. 17 Sep, 2020 2 commits
  5. 15 Sep, 2020 1 commit
  6. 11 Sep, 2020 1 commit
    • Jan Leupold's avatar
      lib/cobalt: Wrap __open_2/__open64_2 to support _FORTIFY_SOURCE · 89f00a2e
      Jan Leupold authored
      __open_2() and __open64_2() from glibc add runtime precondition tests for the
      'oflag' parameter to the functionality of open()/open64(). They may be used when
      the macro _FORTIFY_SOURCE is defined when compiling the application code. Added
      these wrappers to cover those cases.
      
      If Xenomai itself is not compiled with FORTIFY_SOURCE then the function
      declarations for __open_2() and __open64_2() are not available.
      __STD(__open_2(...)) will not link in this case (would be a very special
      use case anyway?).
      Signed-off-by: default avatarJan Leupold <leupold@rsi-elektrotechnik.de>
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      89f00a2e
  7. 04 Sep, 2020 1 commit
  8. 19 Aug, 2020 1 commit
  9. 12 Aug, 2020 1 commit
    • chensong's avatar
      testsuite: App of gpio loopback/react benchmark · 0bcfce8f
      chensong authored
      This a tool to benchmark the latency of GPIO driver,
      it's able to run 2 kinds of benchmark test:
      
      1, loopback mode
      1) apply 2 gpio pins by calling service in gpio RTDM driver
         like gpio-bcm2835 and gpio-core.c, one is as output,
         the other is as interrupt
      2) call write_rt to send a pulse from output
      3) call read_rt to get timestamps recorded in driver (inner loop)
      4) also record timespace in user space(outer_loop)
         outer_loop is inner_loop plus overhead of event wakeup
      5) ftrace enable/disable
      
      2, react mode
      1) apply 2 gpio pins by calling service in gpio RTDM driver
         like gpio-bcm2835 and gpio-core.c, one is as ourput,
         the other is as interrupt
      2) call read_rt to wait for a pulse from latency box
      3) call write_rt to send a signal back to latency box
         as a reaction
      4) latency box calculates the diff and makes the histogram
      
      e.g.:
      1) react mode:
         gpiobench -o 20 -i 21 -c pinctrl-bcm2835 -m 1 -l 1000
      2) loopback mode:
         gpiobench -o 20 -i 21 -c pinctrl-bcm2835 -m 0 -l 1000 -h 100 -b 50
      
      CC: Jan Kiszka <jan.kiszka@siemens.com>
      CC: Greg Gallagher <greg@embeddedgreg.com>
      Signed-off-by: default avatarchensong <chensong@tj.kylinos.cn>
      [Jan: fixed time delta calculation and output for 32-bit targets]
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      0bcfce8f
  10. 02 Jun, 2020 1 commit
  11. 24 Apr, 2020 2 commits
  12. 19 Apr, 2020 1 commit
  13. 14 Apr, 2020 1 commit
  14. 06 Apr, 2020 1 commit
  15. 02 Mar, 2020 1 commit
  16. 20 Feb, 2020 1 commit
  17. 19 Feb, 2020 1 commit
  18. 17 Feb, 2020 1 commit
  19. 10 Feb, 2020 2 commits
  20. 04 Feb, 2020 1 commit
  21. 03 Feb, 2020 1 commit
  22. 31 Jan, 2020 10 commits
  23. 22 Jan, 2020 1 commit
  24. 21 Jan, 2020 1 commit
  25. 16 Jan, 2020 2 commits