projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement tracepoint loglevel macros
[lttng-ust.git]
/
include
/
lttng
/
ust-events.h
diff --git
a/include/lttng/ust-events.h
b/include/lttng/ust-events.h
index 63162948d67563028a130ba1c833075f6b5b9d21..afcc67f910795aaf10cfa63a2be3e0fa58f34741 100644
(file)
--- a/
include/lttng/ust-events.h
+++ b/
include/lttng/ust-events.h
@@
-195,6
+195,7
@@
struct lttng_probe_desc {
const struct lttng_event_desc *event_desc;
unsigned int nr_events;
struct cds_list_head head; /* chain registered probes */
const struct lttng_event_desc *event_desc;
unsigned int nr_events;
struct cds_list_head head; /* chain registered probes */
+ struct tracepoint_loglevel *loglevels;
};
struct ust_pending_probe;
};
struct ust_pending_probe;
@@
-302,6
+303,17
@@
struct ltt_transport {
struct ltt_channel_ops ops;
};
struct ltt_channel_ops ops;
};
+struct tracepoint_loglevel_enum_entry {
+ const char *identifier;
+ long value;
+};
+
+/* mapping between tracepoint and loglevel */
+struct tracepoint_loglevel {
+ const char *name;
+ const struct tracepoint_loglevel_enum_entry *loglevel;
+};
+
struct ltt_session *ltt_session_create(void);
int ltt_session_enable(struct ltt_session *session);
int ltt_session_disable(struct ltt_session *session);
struct ltt_session *ltt_session_create(void);
int ltt_session_enable(struct ltt_session *session);
int ltt_session_disable(struct ltt_session *session);
This page took
0.023682 seconds
and
4
git commands to generate.