2 * Copyright (C) 2022 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
8 #ifndef LTTNG_UST_REGISTRY_SESSION_UID_H
9 #define LTTNG_UST_REGISTRY_SESSION_UID_H
11 #include "trace-class.hpp"
12 #include "ust-registry-session.hpp"
14 #include <lttng/trace-format-descriptor-internal.hpp>
17 #include <lttng/lttng.h>
24 class registry_session_per_uid : public registry_session {
26 registry_session_per_uid(const struct lttng::sessiond::trace::abi& trace_abi,
29 const char *root_shm_path,
35 const lttng::trace_format_descriptor& trace_format);
37 virtual lttng_buffer_type get_buffering_scheme() const noexcept override final;
38 virtual void accept(lttng::sessiond::trace::trace_class_environment_visitor&
39 environment_visitor) const override final;
43 const uid_t _tracing_uid;
47 } /* namespace sessiond */
48 } /* namespace lttng */
50 #endif /* LTTNG_UST_REGISTRY_SESSION_UID_H */