Cleanup: rename `_lttng_filter_link_bytecode()` -> `link_bytecode()`
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Mon, 27 Apr 2020 21:06:10 +0000 (17:06 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Nov 2020 18:36:31 +0000 (13:36 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ia4416b46b05869bb7ad4c754e8ff302762bfffb2

liblttng-ust/lttng-bytecode.c

index bbf8e7e7b036aca0afb41a21dd3590c4eb411e55..a05117a14134fd19f98601e01a8a47c1f0e800e0 100644 (file)
@@ -421,7 +421,7 @@ int bytecode_is_linked(struct lttng_ust_bytecode_node *bytecode,
  * bytecode runtime.
  */
 static
-int _lttng_filter_link_bytecode(const struct lttng_event_desc *event_desc,
+int link_bytecode(const struct lttng_event_desc *event_desc,
                struct lttng_ctx **ctx,
                struct lttng_ust_bytecode_node *bytecode,
                struct cds_list_head *insert_loc)
@@ -565,8 +565,7 @@ void lttng_enabler_link_bytecode(const struct lttng_event_desc *event_desc,
                insert_loc = bytecode_runtime_head;
        add_within:
                dbg_printf("linking bytecode\n");
-               ret = _lttng_filter_link_bytecode(event_desc, ctx, bc,
-                       insert_loc);
+               ret = link_bytecode(event_desc, ctx, bc, insert_loc);
                if (ret) {
                        dbg_printf("[lttng filter] warning: cannot link event bytecode\n");
                }
This page took 0.026295 seconds and 4 git commands to generate.