static void amd64_linux_teardown_btrace (struct target_ops *self, struct btrace_target_info *tinfo) { /* Ignore errors. */ linux_disable_btrace (tinfo); }
static void i386_linux_disable_btrace (struct btrace_target_info *tinfo) { int errcode = linux_disable_btrace (tinfo); if (errcode != 0) error (_("Could not disable branch tracing: %s."), safe_strerror (errcode)); }
static void amd64_linux_disable_btrace (struct target_ops *self, struct btrace_target_info *tinfo) { enum btrace_error errcode = linux_disable_btrace (tinfo); if (errcode != BTRACE_ERR_NONE) error (_("Could not disable branch tracing.")); }
static void i386_linux_teardown_btrace (struct btrace_target_info *tinfo) { /* Ignore errors. */ linux_disable_btrace (tinfo); }