From: Francis Deslauriers Date: Mon, 27 Apr 2020 21:06:10 +0000 (-0400) Subject: Cleanup: rename `_lttng_filter_link_bytecode()` -> `link_bytecode()` X-Git-Tag: v2.13.0-rc1~437 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=83a109e69b90dc7d4b4434f8d55afefdef1256d7;p=lttng-ust.git Cleanup: rename `_lttng_filter_link_bytecode()` -> `link_bytecode()` Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: Ia4416b46b05869bb7ad4c754e8ff302762bfffb2 --- diff --git a/liblttng-ust/lttng-bytecode.c b/liblttng-ust/lttng-bytecode.c index bbf8e7e7..a05117a1 100644 --- a/liblttng-ust/lttng-bytecode.c +++ b/liblttng-ust/lttng-bytecode.c @@ -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"); }