sessiond: Move trace_ust_clock to a clock_attributes_sample class
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 2 May 2022 19:35:40 +0000 (15:35 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 13 Jun 2022 20:34:46 +0000 (16:34 -0400)
commitb3647fb885288c63d21478ea9a9c85685bc5c5f2
treef46a9ae689a57972a4f4eb57949e93a368844f81
parent328c2fe7297c941aa9cbcfa4ce944fca1bd7300f
sessiond: Move trace_ust_clock to a clock_attributes_sample class

Move trace clock functions to a class that samples the clock's
attributes on creation. This makes it easier to implement trace format
agnostic serialization facilities in follow-up patches.

Change-Id: Id75b2c6e00779710e02691da107b2e93bf33ff12
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/Makefile.am
src/bin/lttng-sessiond/ust-clock.cpp [new file with mode: 0644]
src/bin/lttng-sessiond/ust-clock.hpp
src/bin/lttng-sessiond/ust-metadata.cpp
This page took 0.025467 seconds and 4 git commands to generate.