projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: debug-info: remove `_` prefix when finding fields by name
[babeltrace.git]
/
plugins
/
lttng-utils
/
copy.c
diff --git
a/plugins/lttng-utils/copy.c
b/plugins/lttng-utils/copy.c
index 12e3d89c02d1be2e726d60c57bd238c44ba12b9a..f6c5c6afcfbb6960c6457e2fd9f561e94e52aa8b 100644
(file)
--- a/
plugins/lttng-utils/copy.c
+++ b/
plugins/lttng-utils/copy.c
@@
-817,7
+817,7
@@
int add_debug_info_fields(FILE *err,
int ret = 0;
ip_field = bt_field_type_structure_get_field_type_by_name(
int ret = 0;
ip_field = bt_field_type_structure_get_field_type_by_name(
- writer_event_context_type,
"_ip"
);
+ writer_event_context_type,
IP_FIELD_NAME
);
/* No ip field, so no debug info. */
if (!ip_field) {
goto end;
/* No ip field, so no debug info. */
if (!ip_field) {
goto end;
@@
-1461,13
+1461,13
@@
struct debug_info_source *lookup_debug_info(FILE *err,
int ret;
ret = get_stream_event_context_int_field_value(err, event,
int ret;
ret = get_stream_event_context_int_field_value(err, event,
-
"_vpid"
, &vpid);
+
VPID_FIELD_NAME
, &vpid);
if (ret) {
goto end;
}
ret = get_stream_event_context_unsigned_int_field_value(err, event,
if (ret) {
goto end;
}
ret = get_stream_event_context_unsigned_int_field_value(err, event,
-
"_ip"
, &ip);
+
IP_FIELD_NAME
, &ip);
if (ret) {
goto end;
}
if (ret) {
goto end;
}
This page took
0.025145 seconds
and
4
git commands to generate.