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_PID_H
9 #define LTTNG_UST_REGISTRY_SESSION_PID_H
11 #include "trace-class.hpp"
12 #include "ust-registry-session.hpp"
16 #include <lttng/lttng.h>
24 class registry_session_per_pid : public registry_session {
26 registry_session_per_pid(const struct ust_app& app,
27 const struct lttng::sessiond::trace::abi& trace_abi,
30 const char *root_shm_path,
36 virtual lttng_buffer_type get_buffering_scheme() const noexcept override final;
39 virtual void _visit_environment(
40 lttng::sessiond::trace::trace_class_visitor& trace_class_visitor)
43 const unsigned int _tracer_patch_level_version;
45 const std::string _procname;
46 const std::time_t _app_creation_time;
50 } /* namespace sessiond */
51 } /* namespace lttng */
53 #endif /* LTTNG_UST_REGISTRY_SESSION_PID_H */