Actions
Bug #490
closedError opening metadata file from lttng kernel trace after modifying it manually
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/28/2013
Due date:
% Done:
0%
Estimated time:
Description
I generated an lttng kernel trace and read it with babeltrace. I then modified the metadata file manually (to test new metadata structure for this trace) in a text editor, removing all binary characters and adding the /* CTF 1.8 */ header at the top. Babeltrace doesn't read it anymore and is not very verbose as to why. Java reader and TMF reads it fine.
Attached is the erroneous trace with modified metadata
Files
Updated by Mathieu Desnoyers almost 11 years ago
The metadata error is that the choice reference in the variant (between < >) should start with an underscore.
Fixing babeltrace to report those errors with more human-readable info.
Updated by Mathieu Desnoyers almost 11 years ago
- Status changed from New to Resolved
commit 888ec52a298af05ca3492e4eae0f1e2b1925e859 Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Date: Thu Apr 25 10:15:39 2013 -0400 Fix: add missing error return when create_event_definitions fails Also add more verbose error printout to help identifying the culprit of metadata issues. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Actions