X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fuuid.c;h=72c5c0a0c7f37c941a872d783ac63a698465a77a;hp=25dccbb836611eccf1b9d338cc5b4f4dd3c672bc;hb=482b1157950e665c952ca8393e491fc9fc699157;hpb=4c97f6bddcc8ba836e26049db6949e88df75044c diff --git a/src/common/compat/uuid.c b/src/common/compat/uuid.c index 25dccbb83..72c5c0a0c 100644 --- a/src/common/compat/uuid.c +++ b/src/common/compat/uuid.c @@ -41,3 +41,8 @@ bool lttng_uuid_is_nil(const lttng_uuid uuid) { return memcmp(nil_uuid, uuid, sizeof(lttng_uuid)) == 0; } + +void lttng_uuid_copy(lttng_uuid dst, const lttng_uuid src) +{ + memcpy(dst, src, sizeof(lttng_uuid)); +}