lttng: Also initialize static state values
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 4 Jun 2013 20:06:37 +0000 (16:06 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 5 Jun 2013 14:41:30 +0000 (10:41 -0400)
commitdfb27cee9f8ec079966c32e633a2a99980483dff
treeaf3a62d22f5d1e894149786f3e6385ea51bc942b
parent6f1827600de6c14204b60114c2831ef71cdd900a
lttng: Also initialize static state values

Instead of just defining the integers statically, we can also define
the matching state value objects themselves. This can potentially
save a lot of object allocations during state system construction.

Some allocations will still be needed for state values that are only
known at run-time.

Change-Id: I3839c7685f64adf5bec1a41bd6dc342d24fdb529
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13564
Tested-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
org.eclipse.linuxtools.lttng2.kernel.core/src/org/eclipse/linuxtools/internal/lttng2/kernel/core/StateValues.java
org.eclipse.linuxtools.lttng2.kernel.core/src/org/eclipse/linuxtools/internal/lttng2/kernel/core/stateprovider/LttngKernelStateProvider.java
This page took 0.02746 seconds and 5 git commands to generate.