From: Francis Deslauriers Date: Wed, 13 May 2020 15:24:19 +0000 (-0400) Subject: Cleanup: rename `_lttng_filter_link_bytecode()` -> `link_bytecode()` X-Git-Tag: v2.13.0-rc1~93 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fdd179d77dfa39bd1dfc40dbf4988520a188df54;p=lttng-modules.git Cleanup: rename `_lttng_filter_link_bytecode()` -> `link_bytecode()` Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: I8a9b5d97eae502181ae8673caf39e4f54fdbdeb6 --- diff --git a/src/lttng-bytecode.c b/src/lttng-bytecode.c index 10093a7a..4e6e9528 100644 --- a/src/lttng-bytecode.c +++ b/src/lttng-bytecode.c @@ -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"); }