Fix: mismatch of ust_app_get_size_one_more_packet_per_stream prototype
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index 59db98e6ec6911e7233e3fbab746adf4586d4fa6..a385cfcd3e5faf06ea2ab7f3616e1d2b838628ce 100644 (file)
@@ -297,6 +297,11 @@ struct ust_app {
         * to a negative value indicating that the agent application is gone.
         */
        int agent_app_sock;
+       /*
+        * Time at which the app is registred.
+        * Used for path creation
+        */
+       time_t registration_time;
 };
 
 #ifdef HAVE_LIBLTTNG_UST_CTL
@@ -531,7 +536,7 @@ void ust_app_destroy(struct ust_app *app)
 }
 static inline
 enum lttng_error_code ust_app_snapshot_record(struct ltt_ust_session *usess,
-               struct consumer_output *output, int wait, uint64_t max_stream_size)
+               const struct consumer_output *output, int wait, uint64_t max_stream_size)
 {
        return 0;
 }
@@ -558,7 +563,7 @@ struct ust_app *ust_app_find_by_pid(pid_t pid)
 }
 static inline
 uint64_t ust_app_get_size_one_more_packet_per_stream(
-               struct ltt_ust_session *usess, uint64_t cur_nr_packets) {
+               const struct ltt_ust_session *usess, uint64_t cur_nr_packets) {
        return 0;
 }
 static inline
This page took 0.024729 seconds and 4 git commands to generate.