Introduce LTTNG_UST_MAP_POPULATE_POLICY environment variable
[lttng-ust.git] / src / common / populate.h
diff --git a/src/common/populate.h b/src/common/populate.h
new file mode 100644 (file)
index 0000000..f65c485
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2024 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ */
+
+#ifndef _UST_COMMON_POPULATE_H
+#define _UST_COMMON_POPULATE_H
+
+#include <stdbool.h>
+
+bool lttng_ust_map_populate_cpu_is_enabled(int cpu)
+       __attribute__((visibility("hidden")));
+
+bool lttng_ust_map_populate_is_enabled(void)
+       __attribute__((visibility("hidden")));
+
+#endif /* _UST_COMMON_POPULATE_H */
This page took 0.023154 seconds and 4 git commands to generate.