projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
notification_send callback takes const event_notifier parameter
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
event-notifier-notification.c
diff --git
a/src/lib/lttng-ust/event-notifier-notification.c
b/src/lib/lttng-ust/event-notifier-notification.c
index 4cfd1b15ceaa087ffda3bb7727e819a1d1cf62d1..51f10b2ebfec6526289b50baf6bcd66fe29d8cce 100644
(file)
--- a/
src/lib/lttng-ust/event-notifier-notification.c
+++ b/
src/lib/lttng-ust/event-notifier-notification.c
@@
-214,7
+214,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_ust_event_notifier *event_notifier)
+
const
struct lttng_ust_event_notifier *event_notifier)
{
struct lttng_msgpack_writer *writer = ¬if->writer;
{
struct lttng_msgpack_writer *writer = ¬if->writer;
@@
-270,7
+270,7
@@
void notification_append_empty_capture(
lttng_msgpack_write_nil(¬if->writer);
}
lttng_msgpack_write_nil(¬if->writer);
}
-static void record_error(struct lttng_ust_event_notifier *event_notifier)
+static void record_error(
const
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;
@@
-300,7
+300,7
@@
static void record_error(struct lttng_ust_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_ust_event_notifier *event_notifier)
+
const
struct lttng_ust_event_notifier *event_notifier)
{
ssize_t ret;
size_t content_len;
{
ssize_t ret;
size_t content_len;
@@
-360,7
+360,7
@@
void notification_send(struct lttng_event_notifier_notification *notif,
}
void lttng_event_notifier_notification_send(
}
void lttng_event_notifier_notification_send(
- struct lttng_ust_event_notifier *event_notifier,
+
const
struct lttng_ust_event_notifier *event_notifier,
const char *stack_data,
struct lttng_ust_notification_ctx *notif_ctx)
{
const char *stack_data,
struct lttng_ust_notification_ctx *notif_ctx)
{
This page took
0.024173 seconds
and
4
git commands to generate.