projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Combine common recorder/notifier functions to lttng_free_event_filter_runtime
[lttng-ust.git]
/
liblttng-ust
/
event-notifier-notification.c
diff --git
a/liblttng-ust/event-notifier-notification.c
b/liblttng-ust/event-notifier-notification.c
index f8bad6db6e56734609d6321b9d79691829705d6f..570e5861cbc9974108afe65b97277e952201cca5 100644
(file)
--- a/
liblttng-ust/event-notifier-notification.c
+++ b/
liblttng-ust/event-notifier-notification.c
@@
-24,7
+24,7
@@
* of the notification struct we are sending alongside the capture buffer.
*/
#define CAPTURE_BUFFER_SIZE \
* of the notification struct we are sending alongside the capture buffer.
*/
#define CAPTURE_BUFFER_SIZE \
- (PIPE_BUF - sizeof(struct lttng_ust_event_notifier_notification) - 1)
+ (PIPE_BUF - sizeof(struct lttng_ust_
abi_
event_notifier_notification) - 1)
struct lttng_event_notifier_notification {
int notification_fd;
struct lttng_event_notifier_notification {
int notification_fd;
@@
-210,7
+210,7
@@
void capture_sequence(struct lttng_msgpack_writer *writer,
static
void notification_init(struct lttng_event_notifier_notification *notif,
static
void notification_init(struct lttng_event_notifier_notification *notif,
- struct lttng_event_notifier *event_notifier)
+ struct lttng_
ust_
event_notifier *event_notifier)
{
struct lttng_msgpack_writer *writer = ¬if->writer;
{
struct lttng_msgpack_writer *writer = ¬if->writer;
@@
-266,7
+266,7
@@
void notification_append_empty_capture(
lttng_msgpack_write_nil(¬if->writer);
}
lttng_msgpack_write_nil(¬if->writer);
}
-static void record_error(struct lttng_event_notifier *event_notifier)
+static void record_error(struct lttng_
ust_
event_notifier *event_notifier)
{
struct lttng_event_notifier_group *event_notifier_group =
event_notifier->priv->group;
{
struct lttng_event_notifier_group *event_notifier_group =
event_notifier->priv->group;
@@
-296,12
+296,12
@@
static void record_error(struct lttng_event_notifier *event_notifier)
static
void notification_send(struct lttng_event_notifier_notification *notif,
static
void notification_send(struct lttng_event_notifier_notification *notif,
- struct lttng_event_notifier *event_notifier)
+ struct lttng_
ust_
event_notifier *event_notifier)
{
ssize_t ret;
size_t content_len;
int iovec_count = 1;
{
ssize_t ret;
size_t content_len;
int iovec_count = 1;
- struct lttng_ust_event_notifier_notification ust_notif = {0};
+ struct lttng_ust_
abi_
event_notifier_notification ust_notif = {0};
struct iovec iov[2];
assert(notif);
struct iovec iov[2];
assert(notif);
@@
-356,7
+356,7
@@
void notification_send(struct lttng_event_notifier_notification *notif,
}
void lttng_event_notifier_notification_send(
}
void lttng_event_notifier_notification_send(
- struct lttng_event_notifier *event_notifier,
+ struct lttng_
ust_
event_notifier *event_notifier,
const char *stack_data)
{
/*
const char *stack_data)
{
/*
This page took
0.023489 seconds
and
4
git commands to generate.