Rename lttng_get_event_ht_from_enabler to lttng_get_events_name_ht_from_enabler
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 25 Feb 2022 14:40:03 +0000 (09:40 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jul 2024 20:58:48 +0000 (16:58 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I53bb9917ae7644ba79f36dc16f9feb095a3c4194

include/lttng/events-internal.h
src/lttng-events.c
src/lttng-syscalls.c

index e79847fe24f52c53da85cdfc0105ed21207d8988..8483a6a8f035b62872009f3bde8354821a338415 100644 (file)
@@ -684,7 +684,7 @@ struct lttng_event_enabler_common *lttng_event_notifier_enabler_as_enabler(
 }
 
 static inline
-struct lttng_event_ht *lttng_get_event_ht_from_enabler(struct lttng_event_enabler_common *event_enabler)
+struct lttng_event_ht *lttng_get_events_name_ht_from_enabler(struct lttng_event_enabler_common *event_enabler)
 {
        switch (event_enabler->enabler_type) {
        case LTTNG_EVENT_ENABLER_TYPE_RECORDER:
index 89a72e66cb6c28706a087a156dc40955452bbb9a..cc8459b0fc99cc3d6675e64106151d28f30d66a4 100644 (file)
@@ -1380,7 +1380,7 @@ struct lttng_kernel_event_common *_lttng_kernel_event_create(struct lttng_event_
                                const struct lttng_kernel_event_desc *event_desc)
 {
        char key_string[LTTNG_KEY_TOKEN_STRING_LEN_MAX] = { 0 };
-       struct lttng_event_ht *events_ht = lttng_get_event_ht_from_enabler(event_enabler);
+       struct lttng_event_ht *events_ht = lttng_get_events_name_ht_from_enabler(event_enabler);
        struct list_head *event_list_head = lttng_get_event_list_head_from_enabler(event_enabler);
        struct lttng_kernel_abi_event *event_param = &event_enabler->event_param;
        enum lttng_kernel_abi_instrumentation itype = event_param->instrumentation;
index 4e404e5741a797d1d7fcb3ced1b899daac5ed9e5..efe25f09aad8417aa04ea092ea676f9bb97e9707 100644 (file)
@@ -690,7 +690,7 @@ static
 void lttng_syscall_event_enabler_create_matching_syscall_table_events(struct lttng_event_enabler_common *syscall_event_enabler_common,
                const struct trace_syscall_entry *table, size_t table_len, enum sc_type type)
 {
-       struct lttng_event_ht *events_ht = lttng_get_event_ht_from_enabler(syscall_event_enabler_common);
+       struct lttng_event_ht *events_ht = lttng_get_events_name_ht_from_enabler(syscall_event_enabler_common);
        const struct lttng_kernel_event_desc *desc;
        unsigned int i;
 
@@ -752,7 +752,7 @@ static
 void create_unknown_syscall_event(struct lttng_event_enabler_common *event_enabler, enum sc_type type)
 {
        char key_string[LTTNG_KEY_TOKEN_STRING_LEN_MAX] = { 0 };
-       struct lttng_event_ht *events_ht = lttng_get_event_ht_from_enabler(event_enabler);
+       struct lttng_event_ht *events_ht = lttng_get_events_name_ht_from_enabler(event_enabler);
        struct lttng_kernel_event_common_private *event_priv;
        const struct lttng_kernel_event_desc *desc;
        bool found = false;
This page took 0.030511 seconds and 4 git commands to generate.