Cleanup: rename `_lttng_filter_link_bytecode()` -> `link_bytecode()`
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 13 May 2020 15:24:19 +0000 (11:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 18:16:28 +0000 (13:16 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I8a9b5d97eae502181ae8673caf39e4f54fdbdeb6

src/lttng-bytecode.c

index 10093a7a40aacc9923d2aae24317ef6a72aac1f9..4e6e9528fd8d6ec92b1710fd94588fa13cf95290 100644 (file)
@@ -395,7 +395,7 @@ int bytecode_is_linked(struct lttng_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_bytecode_node *bytecode,
                struct list_head *insert_loc)
@@ -539,8 +539,7 @@ void lttng_enabler_link_bytecode(const struct lttng_event_desc *event_desc,
                insert_loc = bytecode_runtime_head;
        add_within:
                dbg_printk("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_printk("[lttng filter] warning: cannot link event bytecode\n");
                }
This page took 0.027183 seconds and 4 git commands to generate.