projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctf: append error causes when returning errors
[babeltrace.git]
/
src
/
plugins
/
ctf
/
common
/
metadata
/
visitor-parent-links.c
diff --git
a/src/plugins/ctf/common/metadata/visitor-parent-links.c
b/src/plugins/ctf/common/metadata/visitor-parent-links.c
index c0145c843f8016947cb6c418bf7bc23372e0c158..5afcb0e6e19e6e21724baf0e169b1ca3d04f6799 100644
(file)
--- a/
src/plugins/ctf/common/metadata/visitor-parent-links.c
+++ b/
src/plugins/ctf/common/metadata/visitor-parent-links.c
@@
-38,7
+38,7
@@
int ctf_visitor_unary_expression(int depth, struct ctf_node *node,
case UNARY_DOTDOTDOT:
break;
default:
case UNARY_DOTDOTDOT:
break;
default:
- _BT_COMP_LOGE_LINENO(node->lineno,
+ _BT_COMP_LOGE_
APPEND_CAUSE_
LINENO(node->lineno,
"Unknown expression link type: type=%d\n",
node->u.unary_expression.link);
return -EINVAL;
"Unknown expression link type: type=%d\n",
node->u.unary_expression.link);
return -EINVAL;
@@
-60,7
+60,7
@@
int ctf_visitor_unary_expression(int depth, struct ctf_node *node,
case UNARY_UNKNOWN:
default:
case UNARY_UNKNOWN:
default:
- _BT_COMP_LOGE_LINENO(node->lineno,
+ _BT_COMP_LOGE_
APPEND_CAUSE_
LINENO(node->lineno,
"Unknown expression link type: type=%d\n",
node->u.unary_expression.link);
return -EINVAL;
"Unknown expression link type: type=%d\n",
node->u.unary_expression.link);
return -EINVAL;
@@
-106,7
+106,7
@@
int ctf_visitor_type_specifier(int depth, struct ctf_node *node,
case TYPESPEC_UNKNOWN:
default:
case TYPESPEC_UNKNOWN:
default:
- _BT_COMP_LOGE_LINENO(node->lineno,
+ _BT_COMP_LOGE_
APPEND_CAUSE_
LINENO(node->lineno,
"Unknown type specifier: type=%d\n",
node->u.field_class_specifier.type);
return -EINVAL;
"Unknown type specifier: type=%d\n",
node->u.field_class_specifier.type);
return -EINVAL;
@@
-164,7
+164,7
@@
int ctf_visitor_field_class_declarator(int depth, struct ctf_node *node,
break;
case TYPEDEC_UNKNOWN:
default:
break;
case TYPEDEC_UNKNOWN:
default:
- _BT_COMP_LOGE_LINENO(node->lineno,
+ _BT_COMP_LOGE_
APPEND_CAUSE_
LINENO(node->lineno,
"Unknown type declarator: type=%d\n",
node->u.field_class_declarator.type);
return -EINVAL;
"Unknown type declarator: type=%d\n",
node->u.field_class_declarator.type);
return -EINVAL;
@@
-490,7
+490,7
@@
int ctf_visitor_parent_links(int depth, struct ctf_node *node,
case NODE_UNKNOWN:
default:
case NODE_UNKNOWN:
default:
- _BT_COMP_LOGE_LINENO(node->lineno,
+ _BT_COMP_LOGE_
APPEND_CAUSE_
LINENO(node->lineno,
"Unknown node type: type=%d\n", node->type);
return -EINVAL;
}
"Unknown node type: type=%d\n", node->type);
return -EINVAL;
}
This page took
0.024415 seconds
and
4
git commands to generate.