ctf.fs source: add `get-metadata-info` query info action
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 11 Feb 2017 22:30:46 +0000 (17:30 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:38 +0000 (12:57 -0400)
commit33f93973c6b1fb17a8a1c8556d48300b4901ff4c
tree05675728fc8a03389897db15284e4f196a837838
parentc1081aa6b31fb4ff1fa9f0d46f06f1df89bc8dc4
ctf.fs source: add `get-metadata-info` query info action

The `get-metadata-info` query info action of the ctf.fs source returns,
if successful, the (possibly decoded) metadata string and if the
metadata file is packetized or not. It only needs the `path` parameter
which is the trace directory path (non-recursive).

You can test it with the query-info command:

    babeltrace query-info --source ctf.fs get-metadata-info
                          -p 'path="/path/to/trace"'

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/ctf/fs/fs.c
plugins/ctf/fs/fs.h
plugins/ctf/fs/metadata.c
plugins/ctf/fs/metadata.h
plugins/ctf/plugin.c
This page took 0.024497 seconds and 4 git commands to generate.