X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=a3440e21c4ebd41ab208091b4aaa383d7861c31d;hb=2198c1e1b48c9c98f17cce24adde8408b5cd1c64;hp=4f25f147c85d9444d735b5619011a70be900b96d;hpb=135347bd92b3e432a973613e0e673db3b50e6044;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 4f25f147c..a3440e21c 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -328,8 +328,8 @@ void ust_app_destroy(struct ust_app *app); int ust_app_snapshot_record(struct ltt_ust_session *usess, struct snapshot_output *output, int wait, uint64_t nb_packets_per_stream); -uint64_t ust_app_get_size_one_more_packet_per_stream(struct ltt_ust_session *usess, - uint64_t cur_nr_packets); +uint64_t ust_app_get_size_one_more_packet_per_stream( + struct ltt_ust_session *usess, uint64_t cur_nr_packets); struct ust_app *ust_app_find_by_sock(int sock); static inline @@ -538,6 +538,11 @@ struct ust_app *ust_app_find_by_pid(pid_t pid) { return NULL; } +static inline +uint64_t ust_app_get_size_one_more_packet_per_stream( + struct ltt_ust_session *usess, uint64_t cur_nr_packets) { + return 0; +} #endif /* HAVE_LIBLTTNG_UST_CTL */