btrfs-progs: introduce new send-dump object
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Wed, 7 Sep 2016 00:29:33 +0000 (08:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 14 Dec 2016 14:06:34 +0000 (15:06 +0100)
commitfad531e5233343e34f517e46050d860b6225dae0
tree6104e0087f78abe8019fb11b9150f32da402e335
parent4e2275bd27bb20cdd9bb43f65e8f770c891f5280
btrfs-progs: introduce new send-dump object

Introduce send-dump.[ch] which implements a new btrfs_send_ops to
exam and output all operations inside a send stream.

It has a better output format than the old and no longer compilable
send-test tool, but still tries to be script friendly.

Provides the basis for later "inspect-internal dump-send" command.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
[ drop escaping call from __print_dump for now, drop gcc warning tweaks,
  replace empty format strings with NULL ]
Signed-off-by: David Sterba <dsterba@suse.com>
Makefile.in
send-dump.c [new file with mode: 0644]
send-dump.h [new file with mode: 0644]