lttng: Handle existing but invalid state index files
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 27 Apr 2012 17:54:00 +0000 (13:54 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 27 Apr 2012 17:57:21 +0000 (13:57 -0400)
commit6752f420492048b8da158c9a3c316cc318bfd61d
tree090472ff832ac2a8cdede5087d9a29606de06651
parentdc0f7bfe2d1e41a1dfb091305084e6bdbfd4cf85
lttng: Handle existing but invalid state index files

If a ".ht" file already exists we try to re-use it first. But if
this step fails, now we'll just scrap the existing file and build
a new one.

Other than the many possible error causes, this will be useful
for dealing with incompatible changes to the file format, for example.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
org.eclipse.linuxtools.lttng2.kernel.core/src/org/eclipse/linuxtools/lttng2/kernel/core/trace/CtfKernelTrace.java
This page took 0.027499 seconds and 5 git commands to generate.