projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: double RCU unlock on event_agent_disable_all
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
trace-kernel.h
diff --git
a/src/bin/lttng-sessiond/trace-kernel.h
b/src/bin/lttng-sessiond/trace-kernel.h
index 5c518135d0144b71aef0369f8f4527e84d92ebb2..b9bcbfa77d242d46637e229d552943819b1be371 100644
(file)
--- a/
src/bin/lttng-sessiond/trace-kernel.h
+++ b/
src/bin/lttng-sessiond/trace-kernel.h
@@
-54,6
+54,8
@@
struct ltt_kernel_event {
enum lttng_event_type type;
struct lttng_kernel_event *event;
struct cds_list_head list;
enum lttng_event_type type;
struct lttng_kernel_event *event;
struct cds_list_head list;
+ char *filter_expression;
+ struct lttng_filter_bytecode *filter;
};
/* Kernel channel */
};
/* Kernel channel */
@@
-101,14
+103,7
@@
struct ltt_kernel_session {
/* UID/GID of the user owning the session */
uid_t uid;
gid_t gid;
/* UID/GID of the user owning the session */
uid_t uid;
gid_t gid;
- /*
- * Two consumer_output object are needed where one is needed for the
- * current output object and the second one is the temporary object used to
- * store URI being set by the lttng_set_consumer_uri call. Once
- * lttng_enable_consumer is called, the two pointers are swapped.
- */
struct consumer_output *consumer;
struct consumer_output *consumer;
- struct consumer_output *tmp_consumer;
/* Tracing session id */
uint64_t id;
/* Session is active or not meaning it has been started or stopped. */
/* Tracing session id */
uint64_t id;
/* Session is active or not meaning it has been started or stopped. */
@@
-125,6
+120,10
@@
struct ltt_kernel_session {
struct ltt_kernel_event *trace_kernel_get_event_by_name(
char *name, struct ltt_kernel_channel *channel,
enum lttng_event_type type);
struct ltt_kernel_event *trace_kernel_get_event_by_name(
char *name, struct ltt_kernel_channel *channel,
enum lttng_event_type type);
+struct ltt_kernel_event *trace_kernel_find_event(
+ char *name, struct ltt_kernel_channel *channel,
+ enum lttng_event_type type,
+ struct lttng_filter_bytecode *filter);
struct ltt_kernel_channel *trace_kernel_get_channel_by_name(
char *name, struct ltt_kernel_session *session);
struct ltt_kernel_channel *trace_kernel_get_channel_by_name(
char *name, struct ltt_kernel_session *session);
@@
-134,7
+133,8
@@
struct ltt_kernel_channel *trace_kernel_get_channel_by_name(
struct ltt_kernel_session *trace_kernel_create_session(void);
struct ltt_kernel_channel *trace_kernel_create_channel(
struct lttng_channel *chan);
struct ltt_kernel_session *trace_kernel_create_session(void);
struct ltt_kernel_channel *trace_kernel_create_channel(
struct lttng_channel *chan);
-struct ltt_kernel_event *trace_kernel_create_event(struct lttng_event *ev);
+struct ltt_kernel_event *trace_kernel_create_event(struct lttng_event *ev,
+ char *filter_expression, struct lttng_filter_bytecode *filter);
struct ltt_kernel_metadata *trace_kernel_create_metadata(void);
struct ltt_kernel_stream *trace_kernel_create_stream(const char *name,
unsigned int count);
struct ltt_kernel_metadata *trace_kernel_create_metadata(void);
struct ltt_kernel_stream *trace_kernel_create_stream(const char *name,
unsigned int count);
This page took
0.023621 seconds
and
4
git commands to generate.