ctf: add internal ctf_metadata_decoder_get_trace_class_uuid()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Jul 2019 00:18:43 +0000 (20:18 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2019 15:38:52 +0000 (11:38 -0400)
commit1a6da3f9c9a9377973679ca269cd81079d834044
tree30af5d90a91c6446762a3151f39b8bcad192d6ca
parent06be99464988953e390114337ccdd20622fb50d1
ctf: add internal ctf_metadata_decoder_get_trace_class_uuid()

This new internal function gets the trace class's UUID from the AST,
without having to create trace IR and CTF IR trace classes, which is a
much slower process (many allocations and checks).

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I04d58c66a461219ca01bf120417d629d9a1b9d10
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1843
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/ctf/common/metadata/ast.h
src/plugins/ctf/common/metadata/decoder.c
src/plugins/ctf/common/metadata/decoder.h
src/plugins/ctf/common/metadata/visitor-generate-ir.c
src/plugins/ctf/lttng-live/metadata.c
This page took 0.024517 seconds and 4 git commands to generate.