projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: replace uses of `int enabled` with boolean flags
[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..0c4f71d47b84bfb264120073e6be66427363a013 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;
This page took
0.022988 seconds
and
4
git commands to generate.