DESCRIPTION

Shortcut string creation in tracing functions.

This quick fix avoid useless creation of the message to be logged when tracing isn't enabled.

Change-Id: If1a667451c59afa67e25572f598e0826ce92f090
Signed-off-by: Jordon Obrien xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2013-11-16 01:55:26.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/3970/

-------------------------------------
author: Bradyn Guerra
date: 2013-11-16 02:03:47.000000000

Patch Set 1:

(1 comment)

One of the conditions you changed is wrong.

Line:171, lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/TmfCoreTracer.java -> It should be if (fTraceFile == null)

-------------------------------------
author: Jordon Obrien
date: 2013-11-16 02:15:22.000000000

Patch Set 1:

(1 comment)

thanks francois.

Line:171, lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/TmfCoreTracer.java -> Duh! Nice catch. I never tried the code.

-------------------------------------
author: Brenden Conley
date: 2013-11-16 02:42:00.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/3970/ : SUCCESS

-------------------------------------
