projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce LTTNG_KERNEL_SESSION_SET_CREATION_TIME
[lttng-modules.git]
/
lttng-events.h
diff --git
a/lttng-events.h
b/lttng-events.h
index f74f9d52cccb81302b18c242712cb2941009a4e1..8fe36a7326121f7f7325112c7d77b0105e1eb9ea 100644
(file)
--- a/
lttng-events.h
+++ b/
lttng-events.h
@@
-15,7
+15,7
@@
#include <linux/kprobes.h>
#include <linux/kref.h>
#include <lttng-cpuhotplug.h>
#include <linux/kprobes.h>
#include <linux/kref.h>
#include <lttng-cpuhotplug.h>
-#include <
wrapper
/uuid.h>
+#include <
linux
/uuid.h>
#include <wrapper/uprobes.h>
#include <lttng-tracer.h>
#include <lttng-abi.h>
#include <wrapper/uprobes.h>
#include <lttng-tracer.h>
#include <lttng-abi.h>
@@
-521,6
+521,8
@@
struct lttng_session {
struct list_head enablers_head;
/* Hash table of events */
struct lttng_event_ht events_ht;
struct list_head enablers_head;
/* Hash table of events */
struct lttng_event_ht events_ht;
+ char name[LTTNG_KERNEL_SESSION_NAME_LEN];
+ char creation_time[LTTNG_KERNEL_SESSION_CREATION_TIME_ISO8601_LEN];
};
struct lttng_metadata_cache {
};
struct lttng_metadata_cache {
@@
-716,7
+718,7
@@
int lttng_add_migratable_to_ctx(struct lttng_ctx **ctx)
int lttng_add_callstack_to_ctx(struct lttng_ctx **ctx, int type);
int lttng_add_callstack_to_ctx(struct lttng_ctx **ctx, int type);
-#if defined(CONFIG_PERF_EVENTS)
&& (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
+#if defined(CONFIG_PERF_EVENTS)
int lttng_add_perf_counter_to_ctx(uint32_t type,
uint64_t config,
const char *name,
int lttng_add_perf_counter_to_ctx(uint32_t type,
uint64_t config,
const char *name,
@@
-785,6
+787,7
@@
void lttng_kprobes_destroy_private(struct lttng_event *event)
int lttng_event_add_callsite(struct lttng_event *event,
struct lttng_kernel_event_callsite *callsite);
int lttng_event_add_callsite(struct lttng_event *event,
struct lttng_kernel_event_callsite *callsite);
+
#ifdef CONFIG_UPROBES
int lttng_uprobes_register(const char *name,
int fd, struct lttng_event *event);
#ifdef CONFIG_UPROBES
int lttng_uprobes_register(const char *name,
int fd, struct lttng_event *event);
@@
-802,7
+805,7
@@
int lttng_uprobes_register(const char *name,
static inline
int lttng_uprobes_add_callsite(struct lttng_event *event,
static inline
int lttng_uprobes_add_callsite(struct lttng_event *event,
- struct lttng_kernel_
callsite_uprob
e *callsite)
+ struct lttng_kernel_
event_callsit
e *callsite)
{
return -ENOSYS;
}
{
return -ENOSYS;
}
@@
-890,8
+893,6
@@
int lttng_calibrate(struct lttng_kernel_calibrate *calibrate);
extern const struct file_operations lttng_tracepoint_list_fops;
extern const struct file_operations lttng_syscall_list_fops;
extern const struct file_operations lttng_tracepoint_list_fops;
extern const struct file_operations lttng_syscall_list_fops;
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35))
#define TRACEPOINT_HAS_DATA_ARG
#define TRACEPOINT_HAS_DATA_ARG
-#endif
#endif /* _LTTNG_EVENTS_H */
#endif /* _LTTNG_EVENTS_H */
This page took
0.031579 seconds
and
4
git commands to generate.