Wrap bt_trace_set_uid and bt_trace_get_uid.
Change-Id: I610c426424214334fb210421809adae3e214c4e3
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10154
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12728
return bt2s::nullopt;
}
+ void uid(const bt2c::CStringView uid) const noexcept
+ {
+ bt_trace_set_uid(this->libObjPtr(), uid);
+ }
+
+ bt2c::CStringView uid() const noexcept
+ {
+ return bt_trace_get_uid(this->libObjPtr());
+ }
+
std::uint64_t length() const noexcept
{
return bt_trace_get_stream_count(this->libObjPtr());