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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2019 15:58:22 +0000 (11:58 -0400)
commit26aa224b21f19b76f649af00e283d20cc4199124
treeb349fb1205967624e0708eb7e402bdfd5291073d
parent526c3a49301fca7a698fc681e3e314e9960cea98
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.024946 seconds and 4 git commands to generate.