X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Flttng-utils%2Fcopy.c;h=f6c5c6afcfbb6960c6457e2fd9f561e94e52aa8b;hb=c4838cef2a82007682db4bca559466c9b72d7068;hp=12e3d89c02d1be2e726d60c57bd238c44ba12b9a;hpb=99023ccf0b44e28664997e495261b42d4e3986db;p=babeltrace.git diff --git a/plugins/lttng-utils/copy.c b/plugins/lttng-utils/copy.c index 12e3d89c..f6c5c6af 100644 --- 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( - writer_event_context_type, "_ip"); + writer_event_context_type, IP_FIELD_NAME); /* 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, - "_vpid", &vpid); + VPID_FIELD_NAME, &vpid); 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; }