* 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
}
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;
}
}
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