projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng list of channels should return errors
[lttng-tools.git]
/
include
/
lttng
/
channel.h
diff --git
a/include/lttng/channel.h
b/include/lttng/channel.h
index 622ce85e9f30bbcf01cd15cb1a3abc418813f3de..e20ed4f4fce981cff071482817ca5108677df026 100644
(file)
--- a/
include/lttng/channel.h
+++ b/
include/lttng/channel.h
@@
-33,7
+33,7
@@
extern "C" {
*/
#define LTTNG_CHANNEL_ATTR_PADDING1 LTTNG_SYMBOL_NAME_LEN + 12
struct lttng_channel_attr {
*/
#define LTTNG_CHANNEL_ATTR_PADDING1 LTTNG_SYMBOL_NAME_LEN + 12
struct lttng_channel_attr {
- int overwrite; /* 1: overwrite, 0: discard */
+ int overwrite; /*
-1: session default,
1: overwrite, 0: discard */
uint64_t subbuf_size; /* bytes, power of 2 */
uint64_t num_subbuf; /* power of 2 */
unsigned int switch_timer_interval; /* usec */
uint64_t subbuf_size; /* bytes, power of 2 */
uint64_t num_subbuf; /* power of 2 */
unsigned int switch_timer_interval; /* usec */
@@
-68,6
+68,14
@@
struct lttng_channel {
char padding[LTTNG_CHANNEL_PADDING1];
};
char padding[LTTNG_CHANNEL_PADDING1];
};
+/*
+ */
+extern struct lttng_channel *lttng_channel_create(struct lttng_domain *domain);
+
+/*
+ */
+extern void lttng_channel_destroy(struct lttng_channel *channel);
+
/*
* List the channel(s) of a session.
*
/*
* List the channel(s) of a session.
*
@@
-124,6
+132,12
@@
extern int lttng_channel_get_discarded_event_count(struct lttng_channel *chan,
extern int lttng_channel_get_lost_packet_count(struct lttng_channel *chan,
uint64_t *lost_packets);
extern int lttng_channel_get_lost_packet_count(struct lttng_channel *chan,
uint64_t *lost_packets);
+extern int lttng_channel_get_monitor_timer_interval(struct lttng_channel *chan,
+ uint64_t *monitor_timer_interval);
+
+extern int lttng_channel_set_monitor_timer_interval(struct lttng_channel *chan,
+ uint64_t monitor_timer_interval);
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
This page took
0.023619 seconds
and
4
git commands to generate.