rt-fixes (0) experimental :: add stp_rwlock_t which can be raw_spinlock on RT

There is no raw_rwlock_t type on most kernels, so use a regular spinlock instead.
(Using rwlock_t in the wrong context can prevent probes from locking data entirely,
and causes kernel freeze in the conversions_profile.stp stress test.)

changes made throughout translator and runtime
- add stp_rwlock_t either rwlock_t or raw_spinlock_t
- ensure DEFINE_RWLOCK -> DEFINE_STP_RWLOCK
- ensure {read,write}_{,un,try}lock -> stp_{read,write}_{,un,try}lock
4 files changed
tree: 8abb83f12446df0f7c3052225592240945914909
  1. doc/
  2. emacs/
  3. httpd/
  4. includes/
  5. initscript/
  6. java/
  7. m4/
  8. man/
  9. po/
  10. python/
  11. runtime/
  12. scripts/
  13. stap-exporter/
  14. stapbpf/
  15. stapdyn/
  16. staprun/
  17. tapset/
  18. testsuite/
  19. vim/
  20. .gitignore
  21. .mailmap
  22. ABOUT-NLS
  23. aclocal.m4
  24. AUTHORS
  25. AUTHORS.sh
  26. bpf-base.cxx
  27. bpf-bitset.cxx
  28. bpf-bitset.h
  29. bpf-internal.h
  30. bpf-opt.cxx
  31. bpf-shared-globals.h
  32. bpf-translate.cxx
  33. bpf.h
  34. buildrun.cxx
  35. buildrun.h
  36. cache.cxx
  37. cache.h
  38. client-http.cxx
  39. client-http.h
  40. client-nss.cxx
  41. client-nss.h
  42. cmdline.cxx
  43. cmdline.h
  44. compile
  45. config.guess
  46. config.in
  47. config.rpath
  48. config.sub
  49. configure
  50. configure.ac
  51. COPYING
  52. coveragedb.cxx
  53. coveragedb.h
  54. csclient.cxx
  55. csclient.h
  56. cscommon.cxx
  57. cscommon.h
  58. depcomp
  59. dtrace.in
  60. dwarf_wrappers.cxx
  61. dwarf_wrappers.h
  62. dwflpp.cxx
  63. dwflpp.h
  64. elaborate.cxx
  65. elaborate.h
  66. git_version.sh
  67. HACKING
  68. hash.cxx
  69. hash.h
  70. INSTALL
  71. install-sh
  72. interactive.cxx
  73. interactive.h
  74. INTERNALS
  75. loc2stap.cxx
  76. loc2stap.h
  77. macros.systemtap.in
  78. main.cxx
  79. Makefile.am
  80. Makefile.in
  81. mdfour.c
  82. mdfour.h
  83. missing
  84. NEWS
  85. nss-server-info.cxx
  86. nss-server-info.h
  87. nsscommon.cxx
  88. nsscommon.h
  89. parse.cxx
  90. parse.h
  91. privilege.cxx
  92. privilege.h
  93. py-compile
  94. README
  95. README.security
  96. README.stapregex
  97. README.unprivileged
  98. remote.cxx
  99. remote.h
  100. rpm_finder.cxx
  101. rpm_finder.h
  102. run-stap.in
  103. runtest.sh
  104. sdt_types.h
  105. session.cxx
  106. session.h
  107. setupdwfl.cxx
  108. setupdwfl.h
  109. smileytap.svg
  110. stap-authorize-cert.cxx
  111. stap-env
  112. stap-gen-cert.cxx
  113. stap-prep
  114. stap-report
  115. stap-server
  116. stap-server.conf
  117. stap-server.service
  118. stap-serverd.cxx
  119. stap-sign-module.cxx
  120. stap-start-server
  121. stap-stop-server
  122. staplog.c
  123. stapregex-defines.h
  124. stapregex-dfa.cxx
  125. stapregex-dfa.h
  126. stapregex-parse.cxx
  127. stapregex-parse.h
  128. stapregex-tree.cxx
  129. stapregex-tree.h
  130. stapregex.cxx
  131. stapregex.h
  132. stapsslerr.h
  133. staptree.cxx
  134. staptree.h
  135. stapvirt.c
  136. stringtable.cxx
  137. stringtable.h
  138. systemtap.spec
  139. tapset-been.cxx
  140. tapset-dynprobe.cxx
  141. tapset-dynprobe.h
  142. tapset-itrace.cxx
  143. tapset-mark.cxx
  144. tapset-method.cxx
  145. tapset-netfilter.cxx
  146. tapset-perfmon.cxx
  147. tapset-procfs.cxx
  148. tapset-python.cxx
  149. tapset-timers.cxx
  150. tapset-utrace.cxx
  151. tapsets.cxx
  152. tapsets.h
  153. task_finder.cxx
  154. task_finder.h
  155. translate.cxx
  156. translate.h
  157. translator-output.cxx
  158. translator-output.h
  159. util.cxx
  160. util.h
  161. version.h
  162. zanata.xml