common: move utils_create_lock_file to its own file
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 12 Dec 2023 21:13:59 +0000 (16:13 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 14 Mar 2024 18:54:21 +0000 (14:54 -0400)
commitf9431861198d04bfa0e14cbe65360412de67f40a
tree16a66dfc0095a82b9bc2057af0cbcbc7374ca684
parentf03ea3f43450abb1a1ea704044e1e8c78cfc0b4c
common: move utils_create_lock_file to its own file

A follow-up change introduces platform-specific implementations of this
functions. Moving the function to a separate file makes it possible to
add other implementations without polluting utils.c with more
platform-specific code.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ibd566d8710380fe378a8f3df9454e21e83655b62
src/bin/lttng-sessiond/main.c
src/common/Makefile.am
src/common/lockfile.c [new file with mode: 0644]
src/common/lockfile.h [new file with mode: 0644]
src/common/utils.c
src/common/utils.h
This page took 0.026393 seconds and 4 git commands to generate.