Custom upgrade: refactor: ust_app_find_by_pid -> ust_app_with_pid_exists
[deliverable/lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index 4a7a7c92dfe72e62d312652d596302689ca63003..7bdc809881c61c65c19ab9992fd3e81d68b28439 100644 (file)
@@ -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(
This page took 0.024677 seconds and 5 git commands to generate.