[thin_dump] --format custom=<shared lib>
Allow people to use their own emitters held in a shared library. Put a trivial emitter in contrib/ as an example.
This commit is contained in:
@@ -26,8 +26,13 @@ in order to put it back onto a metadata
|
||||
|
||||
This tool cannot be run on live metadata unless the \fB\-\-metadata\-snap\fP option is used.
|
||||
|
||||
.IP "\fB\-f, \-\-format\fP \fI{xml|human_readable}\fP".
|
||||
Print output in XML or human readable format.
|
||||
.IP "\fB\-f, \-\-format\fP \fI{xml|human_readable|custom}\fP".
|
||||
|
||||
Print output in XML or human readable format. Custom formats are
|
||||
supported via shared library plugins. They should be specified as in
|
||||
this example:
|
||||
.sp
|
||||
.B thin_dump --format custom=mylib.so /dev/sda
|
||||
|
||||
.IP "\fB\-r, \-\-repair\fP".
|
||||
Repair the metadata whilst dumping it.
|
||||
|
Reference in New Issue
Block a user