btrfs.c: use print_array

* btrfs.c (print_btrfs_data_container_logical_ino,
print_btrfs_data_container_ino_path, print_uint64,
print_btrfs_ioctl_search_header, print_objectid_callback,
print_btrfs_ioctl_space_info): New functions.
(btrfs_print_logical_ino_container, btrfs_print_ino_path_container):
Rewrite printers of struct btrfs_data_container.val array
using print_array.
(btrfs_print_qgroup_inherit): Rewrite printer of
struct btrfs_qgroup_inherit.qgroups array using print_array.
(btrfs_print_tree_search): Rewrite printer of
struct btrfs_ioctl_search_header array using print_array.
(btrfs_ioctl): Rewrite printer of
struct btrfs_ioctl_send_args.clone_sources and
struct btrfs_ioctl_space_args.spaces using print_array.
1 file changed
tree: 2f420682bda8eb237e5cb422009ff2b626b7b830
  1. debian/
  2. linux/
  3. m4/
  4. maint/
  5. qemu_multiarch_testing/
  6. test/
  7. tests/
  8. xlat/
  9. .gitignore
  10. .mailmap
  11. .travis.yml
  12. access.c
  13. affinity.c
  14. aio.c
  15. alpha.c
  16. AUTHORS
  17. bjm.c
  18. block.c
  19. bootstrap
  20. bpf.c
  21. btrfs.c
  22. build_static_example.sh
  23. cacheflush.c
  24. capability.c
  25. caps0.h
  26. caps1.h
  27. ChangeLog-CVS
  28. chdir.c
  29. chmod.c
  30. clone.c
  31. configure.ac
  32. copy_file_range.c
  33. COPYING
  34. count.c
  35. CREDITS.in
  36. defs.h
  37. desc.c
  38. dirent.c
  39. dirent64.c
  40. empty.h
  41. epoll.c
  42. errnoent.sh
  43. evdev.c
  44. eventfd.c
  45. execve.c
  46. exit.c
  47. fadvise.c
  48. fallocate.c
  49. fanotify.c
  50. fchownat.c
  51. fcntl.c
  52. fetch_seccomp_fprog.c
  53. fetch_struct_flock.c
  54. fetch_struct_statfs.c
  55. file.c
  56. file_handle.c
  57. file_ioctl.c
  58. flock.c
  59. flock.h
  60. fstatfs.c
  61. fstatfs64.c
  62. futex.c
  63. gcc_compat.h
  64. generate_mpers_am.sh
  65. generate_sen.sh
  66. generate_xlat_in.sh
  67. get_robust_list.c
  68. getcpu.c
  69. getcwd.c
  70. getrandom.c
  71. git-set-file-times
  72. git-version-gen
  73. gitlog-to-changelog
  74. HACKING-scripts
  75. hostname.c
  76. inotify.c
  77. INSTALL
  78. io.c
  79. ioctl.c
  80. ioctlsort.c
  81. ioperm.c
  82. iopl.c
  83. ioprio.c
  84. ipc_defs.h
  85. ipc_msg.c
  86. ipc_msgctl.c
  87. ipc_sem.c
  88. ipc_shm.c
  89. ipc_shmctl.c
  90. kcmp.c
  91. kernel_types.h
  92. kexec.c
  93. keyctl.c
  94. ldt.c
  95. link.c
  96. lookup_dcookie.c
  97. loop.c
  98. lseek.c
  99. make-dist
  100. Makefile.am
  101. mem.c
  102. membarrier.c
  103. memfd_create.c
  104. mknod.c
  105. mount.c
  106. mpers.awk
  107. mpers.sh
  108. mpers_test.sh
  109. mpers_type.h
  110. mq.c
  111. mtd.c
  112. native_defs.h
  113. net.c
  114. NEWS
  115. numa.c
  116. open.c
  117. or1k_atomic.c
  118. pathtrace.c
  119. perf.c
  120. personality.c
  121. poll.c
  122. prctl.c
  123. print_mq_attr.c
  124. print_msgbuf.c
  125. print_sigevent.c
  126. print_statfs.c
  127. print_time.c
  128. print_timex.c
  129. printmode.c
  130. printrusage.c
  131. printsiginfo.c
  132. printsiginfo.h
  133. printstat.h
  134. process.c
  135. process_vm.c
  136. ptp.c
  137. ptrace.h
  138. quota.c
  139. readahead.c
  140. readlink.c
  141. README
  142. README-hacking
  143. README-linux-ptrace
  144. README-mpers
  145. README.md
  146. reboot.c
  147. regs.h
  148. renameat.c
  149. resource.c
  150. rtc.c
  151. sched.c
  152. scsi.c
  153. seccomp.c
  154. seccomp_fprog.h
  155. sendfile.c
  156. sigaltstack.c
  157. sigevent.h
  158. signal.c
  159. signalent.sh
  160. signalfd.c
  161. sigreturn.c
  162. sock.c
  163. socketutils.c
  164. sram_alloc.c
  165. statfs.c
  166. statfs.h
  167. statfs64.c
  168. strace-graph
  169. strace-log-merge
  170. strace.1
  171. strace.c
  172. strace.spec
  173. swapon.c
  174. sync_file_range.c
  175. sync_file_range2.c
  176. syscall.c
  177. syscallent.sh
  178. sysctl.c
  179. sysinfo.c
  180. syslog.c
  181. sysmips.c
  182. term.c
  183. time.c
  184. times.c
  185. travis-ci.sh
  186. truncate.c
  187. uid.c
  188. uid16.c
  189. umask.c
  190. umount.c
  191. uname.c
  192. unwind.c
  193. upeek.c
  194. userfaultfd.c
  195. util.c
  196. utime.c
  197. utimes.c
  198. v4l2.c
  199. vsprintf.c
  200. wait.c
  201. xattr.c
  202. xlat.h
  203. xlate.el
  204. xmalloc.c
README.md

This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.

strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.

See the file NEWS for information on what has changed in recent versions.

Please send bug reports and enhancements to the strace mailing list.

Build Status Code Coverage