projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-format: specify bitfield spacing to fit with the existing code
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
session.hpp
diff --git
a/src/bin/lttng-sessiond/session.hpp
b/src/bin/lttng-sessiond/session.hpp
index 48f3532f182728fc1b7db8ef2cd23a91a9e613eb..49064037d7668db5c3d7e62edbea4d5acdf6e8c4 100644
(file)
--- a/
src/bin/lttng-sessiond/session.hpp
+++ b/
src/bin/lttng-sessiond/session.hpp
@@
-125,12
+125,9
@@
struct ltt_session {
*/
bool has_user_specified_directory;
/* Did at least ONE start command has been triggered?. */
*/
bool has_user_specified_directory;
/* Did at least ONE start command has been triggered?. */
- unsigned int has_been_started:1;
- /*
- * Is the session active? Start trace command sets this to 1 and the stop
- * command reset it to 0.
- */
- unsigned int active:1;
+ bool has_been_started;
+ /* Is the session active? */
+ bool active;
/* Snapshot representation in a session. */
struct snapshot snapshot;
/* Snapshot representation in a session. */
struct snapshot snapshot;
@@
-229,9
+226,9
@@
void session_unlock(struct ltt_session *session);
* In other words, it prevents tracer configurations from changing while they
* are being transmitted to the various applications.
*/
* In other words, it prevents tracer configurations from changing while they
* are being transmitted to the various applications.
*/
-void session_lock_list();
-int session_trylock_list();
-void session_unlock_list();
+void session_lock_list()
noexcept
;
+int session_trylock_list()
noexcept
;
+void session_unlock_list()
noexcept
;
void session_destroy(struct ltt_session *session);
int session_add_destroy_notifier(struct ltt_session *session,
void session_destroy(struct ltt_session *session);
int session_add_destroy_notifier(struct ltt_session *session,
@@
-239,7
+236,7
@@
int session_add_destroy_notifier(struct ltt_session *session,
int session_add_clear_notifier(struct ltt_session *session,
ltt_session_clear_notifier notifier, void *user_data);
int session_add_clear_notifier(struct ltt_session *session,
ltt_session_clear_notifier notifier, void *user_data);
-void session_notify_clear(
struct ltt_session *
session);
+void session_notify_clear(
ltt_session &
session);
bool session_get(struct ltt_session *session);
void session_put(struct ltt_session *session);
bool session_get(struct ltt_session *session);
void session_put(struct ltt_session *session);
@@
-262,7
+259,7
@@
void session_list_wait_empty();
bool session_access_ok(struct ltt_session *session, uid_t uid);
bool session_access_ok(struct ltt_session *session, uid_t uid);
-int session_reset_rotation_state(
struct ltt_session *
session,
+int session_reset_rotation_state(
ltt_session &
session,
enum lttng_rotation_state result);
/* Create a new trace chunk object from the session's configuration. */
enum lttng_rotation_state result);
/* Create a new trace chunk object from the session's configuration. */
This page took
0.024026 seconds
and
4
git commands to generate.