projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: leak of config_path on duplicate --config option
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.h
diff --git
a/src/bin/lttng-sessiond/ust-app.h
b/src/bin/lttng-sessiond/ust-app.h
index 9b42d518d30f2e619ea7f89c5e4dc307454b37b7..6cdb261ae5610147c9fd8068d2aec8df3a9ff8be 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.h
+++ b/
src/bin/lttng-sessiond/ust-app.h
@@
-11,6
+11,7
@@
#include <stdint.h>
#include <stdint.h>
+#include <common/index-allocator.h>
#include <common/uuid.h>
#include "trace-ust.h"
#include <common/uuid.h>
#include "trace-ust.h"
@@
-25,7
+26,7
@@
struct lttng_bytecode;
struct lttng_ust_filter_bytecode;
struct lttng_bytecode;
struct lttng_ust_filter_bytecode;
-extern int
ust_consumerd64_fd,
ust_consumerd32_fd;
+extern int
the_ust_consumerd64_fd, the_
ust_consumerd32_fd;
/*
* Object used to close the notify socket in a call_rcu(). Since the
/*
* Object used to close the notify socket in a call_rcu(). Since the
@@
-114,6
+115,7
@@
struct ust_app_event {
struct ust_app_event_notifier_rule {
int enabled;
struct ust_app_event_notifier_rule {
int enabled;
+ uint64_t error_counter_index;
int handle;
struct lttng_ust_abi_object_data *obj;
/* Holds a strong reference. */
int handle;
struct lttng_ust_abi_object_data *obj;
/* Holds a strong reference. */
@@
-319,6
+321,9
@@
struct ust_app {
*/
struct lttng_ust_abi_object_data *object;
struct lttng_pipe *event_pipe;
*/
struct lttng_ust_abi_object_data *object;
struct lttng_pipe *event_pipe;
+ struct lttng_ust_abi_object_data *counter;
+ struct lttng_ust_abi_object_data **counter_cpu;
+ int nr_counter_cpu;
} event_notifier_group;
/*
* Hashtable indexing the application's event notifier rule's
} event_notifier_group;
/*
* Hashtable indexing the application's event notifier rule's
@@
-579,7
+584,12
@@
unsigned int ust_app_get_nb_stream(struct ltt_ust_session *usess)
{
return 0;
}
{
return 0;
}
-
+static inline
+void ust_app_update_event_notifier_error_count(
+ struct lttng_trigger *lttng_trigger)
+{
+ return;
+}
static inline
int ust_app_supported(void)
{
static inline
int ust_app_supported(void)
{
This page took
0.02369 seconds
and
4
git commands to generate.