The major SONAME bump to '1' gives us the opportunity to hide private
symbols that should never have been visible.
Also namespace print_op to lttng_bytecode_print_op.
Change-Id: I937b37605d88503102227e82e58600e66f89b5c6
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
for (pc = next_pc = start_pc; pc - start_pc < bytecode->len; \
pc = next_pc) { \
dbg_printf("Executing op %s (%u)\n", \
- print_op((unsigned int) *(bytecode_opcode_t *) pc), \
+ lttng_bytecode_print_op((unsigned int) *(bytecode_opcode_t *) pc), \
(unsigned int) *(bytecode_opcode_t *) pc); \
switch (*(bytecode_opcode_t *) pc) {
goto end;
}
dbg_printf("Validating op %s (%u)\n",
- print_op((unsigned int) *(bytecode_opcode_t *) pc),
+ lttng_bytecode_print_op((unsigned int) *(bytecode_opcode_t *) pc),
(unsigned int) *(bytecode_opcode_t *) pc);
/*
[ BYTECODE_OP_RETURN_S64 ] = "RETURN_S64",
};
-const char *print_op(enum bytecode_op op)
+const char *lttng_bytecode_print_op(enum bytecode_op op)
{
if (op >= NR_BYTECODE_OPS)
return "UNKNOWN";
} u;
};
-/* Should be hidden but would break the ABI */
-const char *print_op(enum bytecode_op op);
+LTTNG_HIDDEN
+const char *lttng_bytecode_print_op(enum bytecode_op op);
LTTNG_HIDDEN
void lttng_bytecode_filter_sync_state(struct lttng_bytecode_runtime *runtime);