projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: adjust ranges for RHEL 8.4
[lttng-modules.git]
/
include
/
lttng
/
events-internal.h
diff --git
a/include/lttng/events-internal.h
b/include/lttng/events-internal.h
index 463bc03b1d9fd5f790414abb81d406146e2031fa..cd560de84a8cb88e8af43efa56501b60fa08850b 100644
(file)
--- a/
include/lttng/events-internal.h
+++ b/
include/lttng/events-internal.h
@@
-14,7
+14,7
@@
struct lttng_syscall_filter;
struct lttng_metadata_cache;
struct perf_event;
struct perf_event_attr;
struct lttng_metadata_cache;
struct perf_event;
struct perf_event_attr;
-struct l
ib
_ring_buffer_config;
+struct l
ttng_kernel
_ring_buffer_config;
enum lttng_enabler_format_type {
LTTNG_ENABLER_FORMAT_STAR_GLOB,
enum lttng_enabler_format_type {
LTTNG_ENABLER_FORMAT_STAR_GLOB,
@@
-315,9
+315,9
@@
struct lttng_kernel_channel_buffer_ops_private {
unsigned int switch_timer_interval,
unsigned int read_timer_interval);
void (*channel_destroy)(struct lttng_kernel_ring_buffer_channel *chan);
unsigned int switch_timer_interval,
unsigned int read_timer_interval);
void (*channel_destroy)(struct lttng_kernel_ring_buffer_channel *chan);
- struct l
ib
_ring_buffer *(*buffer_read_open)(struct lttng_kernel_ring_buffer_channel *chan);
+ struct l
ttng_kernel
_ring_buffer *(*buffer_read_open)(struct lttng_kernel_ring_buffer_channel *chan);
int (*buffer_has_read_closed_stream)(struct lttng_kernel_ring_buffer_channel *chan);
int (*buffer_has_read_closed_stream)(struct lttng_kernel_ring_buffer_channel *chan);
- void (*buffer_read_close)(struct l
ib
_ring_buffer *buf);
+ void (*buffer_read_close)(struct l
ttng_kernel
_ring_buffer *buf);
/*
* packet_avail_size returns the available size in the current
* packet. Note that the size returned is only a hint, since it
/*
* packet_avail_size returns the available size in the current
* packet. Note that the size returned is only a hint, since it
@@
-328,32
+328,32
@@
struct lttng_kernel_channel_buffer_ops_private {
wait_queue_head_t *(*get_hp_wait_queue)(struct lttng_kernel_ring_buffer_channel *chan);
int (*is_finalized)(struct lttng_kernel_ring_buffer_channel *chan);
int (*is_disabled)(struct lttng_kernel_ring_buffer_channel *chan);
wait_queue_head_t *(*get_hp_wait_queue)(struct lttng_kernel_ring_buffer_channel *chan);
int (*is_finalized)(struct lttng_kernel_ring_buffer_channel *chan);
int (*is_disabled)(struct lttng_kernel_ring_buffer_channel *chan);
- int (*timestamp_begin) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*timestamp_begin) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *timestamp_begin);
uint64_t *timestamp_begin);
- int (*timestamp_end) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*timestamp_end) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *timestamp_end);
uint64_t *timestamp_end);
- int (*events_discarded) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*events_discarded) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *events_discarded);
uint64_t *events_discarded);
- int (*content_size) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*content_size) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *content_size);
uint64_t *content_size);
- int (*packet_size) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*packet_size) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *packet_size);
uint64_t *packet_size);
- int (*stream_id) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*stream_id) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *stream_id);
uint64_t *stream_id);
- int (*current_timestamp) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*current_timestamp) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *ts);
uint64_t *ts);
- int (*sequence_number) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*sequence_number) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *seq);
uint64_t *seq);
- int (*instance_id) (const struct l
ib
_ring_buffer_config *config,
- struct l
ib
_ring_buffer *bufb,
+ int (*instance_id) (const struct l
ttng_kernel
_ring_buffer_config *config,
+ struct l
ttng_kernel
_ring_buffer *bufb,
uint64_t *id);
};
uint64_t *id);
};
@@
-404,7
+404,7
@@
struct lttng_event_notifier_group {
struct lttng_kernel_channel_buffer_ops *ops;
struct lttng_transport *transport;
struct lttng_kernel_ring_buffer_channel *chan; /* Ring buffer channel for event notifier group. */
struct lttng_kernel_channel_buffer_ops *ops;
struct lttng_transport *transport;
struct lttng_kernel_ring_buffer_channel *chan; /* Ring buffer channel for event notifier group. */
- struct l
ib_ring_buffer *buf;
/* Ring buffer for event notifier group. */
+ struct l
ttng_kernel_ring_buffer *buf;
/* Ring buffer for event notifier group. */
wait_queue_head_t read_wait;
struct irq_work wakeup_pending; /* Pending wakeup irq work. */
struct lttng_kernel_event_notifier *sc_unknown; /* for unknown syscalls */
wait_queue_head_t read_wait;
struct irq_work wakeup_pending; /* Pending wakeup irq work. */
struct lttng_kernel_event_notifier *sc_unknown; /* for unknown syscalls */
@@
-714,7
+714,8
@@
int lttng_add_uts_ns_to_ctx(struct lttng_kernel_ctx **ctx)
#endif
#if defined(CONFIG_TIME_NS) && \
#endif
#if defined(CONFIG_TIME_NS) && \
- (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,6,0))
+ (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,6,0) || \
+ LTTNG_RHEL_KERNEL_RANGE(4,18,0,305,0,0, 4,19,0,0,0,0))
int lttng_add_time_ns_to_ctx(struct lttng_kernel_ctx **ctx);
#else
static inline
int lttng_add_time_ns_to_ctx(struct lttng_kernel_ctx **ctx);
#else
static inline
This page took
0.026405 seconds
and
4
git commands to generate.