@Override
    public TraceScope addBoundaryScope(String name) {
        if (scopePool == null) {
            this.scopePool = new DefaultTraceScopePool();
        }
        return scopePool.addBoundary(name);
    }
Get current TraceID. If it was not set this will return null.

@return
agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTrace.java