int handle; /* used has unique identifier for app session */
bool deleted; /* Session deleted flag. Check with lock held. */
int handle; /* used has unique identifier for app session */
bool deleted; /* Session deleted flag. Check with lock held. */
* (ust_app_event_notifier_rule) by their token's value.
*/
struct lttng_ht *token_to_event_notifier_rule_ht;
* (ust_app_event_notifier_rule) by their token's value.
*/
struct lttng_ht *token_to_event_notifier_rule_ht;
-struct fmt::formatter<ust_app> : fmt::formatter<std::string> {
- template <typename FormatCtx>
- typename FormatCtx::iterator format(const ust_app& app, FormatCtx& ctx)
+struct formatter<ust_app> : formatter<std::string> {
+ template <typename FormatContextType>
+ typename FormatContextType::iterator format(const ust_app& app, FormatContextType& ctx)
"{{ procname = `{}`, ppid = {}, pid = {}, uid = {}, gid = {}, version = {}.{}, registration time = {} }}",
app.name, app.ppid, app.pid, app.uid, app.gid, app.v_major,
app.v_minor,
lttng::utils::time_to_iso8601_str(app.registration_time));
}
};
"{{ procname = `{}`, ppid = {}, pid = {}, uid = {}, gid = {}, version = {}.{}, registration time = {} }}",
app.name, app.ppid, app.pid, app.uid, app.gid, app.v_major,
app.v_minor,
lttng::utils::time_to_iso8601_str(app.registration_time));
}
};
void ust_app_global_update(struct ltt_ust_session *usess, struct ust_app *app);
void ust_app_global_update_all(struct ltt_ust_session *usess);
void ust_app_global_update_event_notifier_rules(struct ust_app *app);
void ust_app_global_update(struct ltt_ust_session *usess, struct ust_app *app);
void ust_app_global_update_all(struct ltt_ust_session *usess);
void ust_app_global_update_event_notifier_rules(struct ust_app *app);
int ust_app_recv_registration(int sock, struct ust_register_msg *msg);
int ust_app_recv_notify(int sock);
void ust_app_add(struct ust_app *app);
int ust_app_recv_registration(int sock, struct ust_register_msg *msg);
int ust_app_recv_notify(int sock);
void ust_app_add(struct ust_app *app);