projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UST consumer: perform buffer flush on hang up
[lttng-tools.git]
/
include
/
lttng
/
lttng-ustconsumer.h
diff --git
a/include/lttng/lttng-ustconsumer.h
b/include/lttng/lttng-ustconsumer.h
index 90d6588b90e7a75a5da244b4f13f9f8bd5b3438b..217c592d7c9adebaa22892d38c3a20e7b171586c 100644
(file)
--- a/
include/lttng/lttng-ustconsumer.h
+++ b/
include/lttng/lttng-ustconsumer.h
@@
-70,6
+70,8
@@
int lttng_ustconsumer_read_subbuffer(struct lttng_consumer_stream *stream,
struct lttng_consumer_local_data *ctx);
int lttng_ustconsumer_on_recv_stream(struct lttng_consumer_stream *stream);
struct lttng_consumer_local_data *ctx);
int lttng_ustconsumer_on_recv_stream(struct lttng_consumer_stream *stream);
+void lttng_ustconsumer_on_stream_hangup(struct lttng_consumer_stream *stream);
+
#else /* HAVE_LIBLTTNG_UST_CTL */
static inline
#else /* HAVE_LIBLTTNG_UST_CTL */
static inline
@@
-146,6
+148,11
@@
int lttng_ustconsumer_on_recv_stream(struct lttng_consumer_stream *stream)
return -ENOSYS;
}
return -ENOSYS;
}
+static inline
+void lttng_ustconsumer_on_stream_hangup(struct lttng_consumer_stream *stream)
+{
+}
+
#endif /* HAVE_LIBLTTNG_UST_CTL */
#endif /* _LTTNG_USTCONSUMER_H */
#endif /* HAVE_LIBLTTNG_UST_CTL */
#endif /* _LTTNG_USTCONSUMER_H */
This page took
0.026 seconds
and
5
git commands to generate.