ctf: Add support for arrays or any type.
authorFrancois Doray <fdoray.eclipse@gmail.com>
Mon, 2 Dec 2013 06:06:35 +0000 (01:06 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 4 Dec 2013 14:32:12 +0000 (09:32 -0500)
commit4591bed952948a9cbc3b329992bbcacf06b1bc20
treeb0317e4b072595abc1b2bb907414c94ef645b2f5
parent4d3840094ed01a583f2ed75f31bd7e05b312a64a
ctf: Add support for arrays or any type.

A null pointer exception occured for events that contained an array
of something else than "int". For example, an array of struct:

fields := struct {
  ...
  struct {
    string arg_name;
    string arg_value;
  } arguments[4];
};

With this fix, all arrays of CTF types are supported.
Sample output in the "Properties" view: http://i.imgur.com/31tqbgG.png

Change-Id: I3f2be314d1fd2bda8c95b208d018227477572fa8
Signed-off-by: François Doray <fdoray.eclipse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/19029
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/ctfadaptor/CtfTmfEventFieldTest.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEventField.java
This page took 0.026314 seconds and 5 git commands to generate.