X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=7bdc809881c61c65c19ab9992fd3e81d68b28439;hb=refs%2Fheads%2F2.13-custom-upgrade;hp=4a7a7c92dfe72e62d312652d596302689ca63003;hpb=31b507bcd7b4c436e6be6fbe7eef46a8e6dea008;p=deliverable%2Flttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 4a7a7c92d..7bdc80988 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -362,7 +362,7 @@ void ust_app_global_update_all_event_notifier_rules(void); void ust_app_clean_list(void); int ust_app_ht_alloc(void); -struct ust_app *ust_app_find_by_pid(pid_t pid); +bool ust_app_with_pid_exists(pid_t pid); struct ust_app_stream *ust_app_alloc_stream(void); int ust_app_recv_registration(int sock, struct ust_register_msg *msg); int ust_app_recv_notify(int sock); @@ -614,9 +614,9 @@ struct ust_app *ust_app_find_by_sock(int sock) return NULL; } static inline -struct ust_app *ust_app_find_by_pid(pid_t pid) +bool ust_app_with_pid_exists(pid_t pid) { - return NULL; + return false; } static inline uint64_t ust_app_get_size_one_more_packet_per_stream(