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, 28 Mar 2024 19:31:16 +0000 (15:31 -0400)
commitcf7e5f0026e05a5044d079f5fcc6264df29828fd
tree12c02e851031b1395a60f246fb06b9b1fe9bf866
parentc03a0ff462df61b6d38fb112aa846356d4aa6c0f
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.025488 seconds and 4 git commands to generate.