X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.hpp;h=2071a8984495b93026b49f16b2e478cd956c7bed;hb=31375c424ac115fc0373237207fed795849e26ba;hp=d0cbd217ce857aa48c0e7164e2143de66e2f7986;hpb=b6bbb1d666531bf061f29884da1b0d7c10f59aa0;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.hpp b/src/bin/lttng-sessiond/ust-app.hpp index d0cbd217c..2071a8984 100644 --- a/src/bin/lttng-sessiond/ust-app.hpp +++ b/src/bin/lttng-sessiond/ust-app.hpp @@ -336,8 +336,8 @@ struct ust_app { namespace fmt { template <> struct formatter : formatter { - template - typename FormatCtx::iterator format(const ust_app& app, FormatCtx& ctx) + template + typename FormatContextType::iterator format(const ust_app& app, FormatContextType& ctx) { return format_to(ctx.out(), "{{ procname = `{}`, ppid = {}, pid = {}, uid = {}, gid = {}, version = {}.{}, registration time = {} }}", @@ -374,12 +374,12 @@ int ust_app_add_ctx_channel_glb(struct ltt_ust_session *usess, 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_all_event_notifier_rules(void); +void ust_app_global_update_all_event_notifier_rules(); -void ust_app_clean_list(void); -int ust_app_ht_alloc(void); +void ust_app_clean_list(); +int ust_app_ht_alloc(); struct ust_app *ust_app_find_by_pid(pid_t pid); -struct ust_app_stream *ust_app_alloc_stream(void); +struct ust_app_stream *ust_app_alloc_stream(); 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); @@ -416,7 +416,7 @@ enum lttng_error_code ust_app_open_packets(struct ltt_session *session); int ust_app_setup_event_notifier_group(struct ust_app *app); static inline -int ust_app_supported(void) +int ust_app_supported() { return 1; }