ctf: Handle traces with unknown event attributes
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 24 Sep 2012 20:21:09 +0000 (16:21 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 2 Oct 2012 18:19:03 +0000 (14:19 -0400)
commit7e659abc8320765bd553faa51aeb2bef7ee90819
tree6d837404b4b9cfec95dbc5d35669be53aa654e24
parent526d9026ebc6d585f697ff0bba10e2b082f1b389
ctf: Handle traces with unknown event attributes

Instead of blowing up when it sees an attribute is doesn't know,
the parser should just ignore it. This is quite important,
since CTF allows for custom attributes and the parser can't
know in advance about all possible ones.

Ideally, we should also log whenever an unkown attribute is seen.
Unfortunately there is no logging in place in the ctf.core plugins
yet.

Change-Id: I45aba769205060cdcac6935cecc1479b026a5bc0
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7904
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/internal/ctf/core/event/metadata/IOStructGen.java
This page took 0.029353 seconds and 5 git commands to generate.