mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 04:08:34 +08:00
trace command skip jdk method by default. #958
This commit is contained in:
parent
3892fb12c6
commit
7a131c9a37
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user