summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-05-20 14:26:53 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-06-09 15:36:54 -0400
commit6aaf7fd02537cb77c783b67eb513c527c662f873 (patch)
treeb218b71c7608ff1e2b432d4cbb9d99d531191ce5 /lib/mpi/mpi-bit.c
parent2675a1f433ea6f0a97c7de99ec15ddd8526266a3 (diff)
tracing: Convert to printbuf
This converts the seq_bufs in dynevent_cmd and trace_seq to printbufs. - read_pos in seq_buf doesn't exist in printbuf, so is added to trace_seq - seq_buf_to_user doesn't have a printbuf equivalent, so is inlined into trace_seq_to_user - seq_buf_putmem_hex currently swabs bytes on little endian, hardcoded to 8 byte units. This patch switches it to prt_hex_bytes(), which does _not_ swab. Otherwise this is largely a direct conversion, with a few slight refactorings and cleanups. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions