projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: prio context NULL pointer exception
[lttng-modules.git]
/
include
/
lttng
/
events-internal.h
diff --git
a/include/lttng/events-internal.h
b/include/lttng/events-internal.h
index 202427f2aa9482a8731b02ff3630e4eb2970821b..181b7b4552305456c16eb8662e76bdbf4dff0a7c 100644
(file)
--- a/
include/lttng/events-internal.h
+++ b/
include/lttng/events-internal.h
@@
-9,6
+9,7
@@
#define _LTTNG_EVENTS_INTERNAL_H
#include <wrapper/compiler_attributes.h>
#define _LTTNG_EVENTS_INTERNAL_H
#include <wrapper/compiler_attributes.h>
+#include <wrapper/uuid.h>
#include <lttng/events.h>
#include <lttng/events.h>
@@
-309,7
+310,7
@@
struct lttng_metadata_cache {
atomic_t producing; /* Metadata being produced (incomplete) */
struct kref refcount; /* Metadata cache usage */
struct list_head metadata_stream; /* Metadata stream list */
atomic_t producing; /* Metadata being produced (incomplete) */
struct kref refcount; /* Metadata cache usage */
struct list_head metadata_stream; /* Metadata stream list */
-
uuid_le uuid;
/* Trace session unique ID (copy) */
+
guid_t uuid;
/* Trace session unique ID (copy) */
struct mutex lock; /* Produce/consume lock */
uint64_t version; /* Current version of the metadata */
};
struct mutex lock; /* Produce/consume lock */
uint64_t version; /* Current version of the metadata */
};
@@
-459,7
+460,7
@@
struct lttng_kernel_session_private {
struct list_head events; /* Event list head */
struct list_head list; /* Session list */
unsigned int free_chan_id; /* Next chan ID to allocate */
struct list_head events; /* Event list head */
struct list_head list; /* Session list */
unsigned int free_chan_id; /* Next chan ID to allocate */
-
uuid_le uuid;
/* Trace session unique ID */
+
guid_t uuid;
/* Trace session unique ID */
struct lttng_metadata_cache *metadata_cache;
unsigned int metadata_dumped:1,
tstate:1; /* Transient enable state */
struct lttng_metadata_cache *metadata_cache;
unsigned int metadata_dumped:1,
tstate:1; /* Transient enable state */
@@
-648,6
+649,7
@@
int lttng_add_pid_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_cpu_id_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_procname_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_prio_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_cpu_id_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_procname_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_prio_to_ctx(struct lttng_kernel_ctx **ctx);
+int wrapper_task_prio_init(void);
int lttng_add_nice_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_vpid_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_tid_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_nice_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_vpid_to_ctx(struct lttng_kernel_ctx **ctx);
int lttng_add_tid_to_ctx(struct lttng_kernel_ctx **ctx);
@@
-853,7
+855,7
@@
void lttng_enabler_link_bytecode(const struct lttng_kernel_event_desc *event_des
struct list_head *enabler_bytecode_runtime_head);
#if defined(CONFIG_HAVE_SYSCALL_TRACEPOINTS)
struct list_head *enabler_bytecode_runtime_head);
#if defined(CONFIG_HAVE_SYSCALL_TRACEPOINTS)
-int lttng_
syscalls_register_event
(struct lttng_event_enabler_common *event_enabler);
+int lttng_
event_enabler_create_syscall_events_if_missing
(struct lttng_event_enabler_common *event_enabler);
int lttng_syscall_filter_enable_event(struct lttng_kernel_event_common *event);
int lttng_syscall_filter_disable_event(struct lttng_kernel_event_common *event);
int lttng_syscall_filter_enable_event(struct lttng_kernel_event_common *event);
int lttng_syscall_filter_disable_event(struct lttng_kernel_event_common *event);
@@
-865,7
+867,7
@@
long lttng_syscall_table_get_active_mask(struct lttng_kernel_syscall_table *sysc
void lttng_syscall_table_set_wildcard_all(struct lttng_event_enabler_common *event_enabler);
#else
void lttng_syscall_table_set_wildcard_all(struct lttng_event_enabler_common *event_enabler);
#else
-static inline int lttng_
syscalls_register_event
(struct lttng_event_enabler_common *event_enabler)
+static inline int lttng_
event_enabler_create_syscall_events_if_missing
(struct lttng_event_enabler_common *event_enabler)
{
return -ENOSYS;
}
{
return -ENOSYS;
}
This page took
0.024045 seconds
and
4
git commands to generate.