trace command skip jdk method by default. #958

This commit is contained in:
hengyunabc 2019-12-03 20:29:25 +08:00
parent 3892fb12c6
commit 7a131c9a37

View File

@ -10,6 +10,7 @@ import com.taobao.arthas.core.util.matcher.RegexMatcher;
import com.taobao.arthas.core.util.matcher.TrueMatcher;
import com.taobao.arthas.core.util.matcher.WildcardMatcher;
import com.taobao.middleware.cli.annotations.Argument;
import com.taobao.middleware.cli.annotations.DefaultValue;
import com.taobao.middleware.cli.annotations.Description;
import com.taobao.middleware.cli.annotations.Name;
import com.taobao.middleware.cli.annotations.Option;
@ -83,8 +84,9 @@ public class TraceCommand extends EnhancerCommand {
this.pathPatterns = pathPatterns;
}
@Option(shortName = "j", longName = "jdkMethodSkip")
@Description("skip jdk method trace")
@Option(longName = "skipJDKMethod")
@DefaultValue("true")
@Description("skip jdk method trace, default value true.")
public void setSkipJDKTrace(boolean skipJDKTrace) {
this.skipJDKTrace = skipJDKTrace;
}