diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2019-09-20 09:01:20 -0400 |
---|---|---|
committer | Thanos <tmakatos@gmail.com> | 2019-09-27 15:59:11 +0100 |
commit | 1d40a7dc7720bf427048ab4a150fc878febcea53 (patch) | |
tree | 2c37049ef266e276df6f3ce3d578fb22ab79a26e /kmod | |
parent | e34a9c9841d38fd30e127af92e2011a68fe278ed (diff) | |
download | libvfio-user-1d40a7dc7720bf427048ab4a150fc878febcea53.zip libvfio-user-1d40a7dc7720bf427048ab4a150fc878febcea53.tar.gz libvfio-user-1d40a7dc7720bf427048ab4a150fc878febcea53.tar.bz2 |
add TODO
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'kmod')
-rw-r--r-- | kmod/muser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kmod/muser.c b/kmod/muser.c index 73df340..4ed388d 100644 --- a/kmod/muser.c +++ b/kmod/muser.c @@ -966,6 +966,10 @@ pin_pages(struct mudev_cmd *mucmd, char __user *buf, size_t count, void dump_buffer(unsigned char const *const buf, uint32_t count) { #if defined(DEBUG) + /* + * TODO would be nice to add an option to print_hex_dump to hide + * repeated lines, e.g. like od(1) + */ print_hex_dump(KERN_INFO, "", DUMP_PREFIX_NONE, 4, 1, buf, count, false); #endif |