update trace command docs

This commit is contained in:
hengyunabc
2019-11-28 16:02:27 +08:00
parent 649298c035
commit 53d0976ef2
3 changed files with 51 additions and 0 deletions
@@ -24,6 +24,7 @@ import java.util.List;
*
* @author vlinux on 15/5/27.
*/
// @formatter:off
@Name("trace")
@Summary("Trace the execution time of specified method invocation.")
@Description(value = Constants.EXPRESS_DESCRIPTION + Constants.EXAMPLE +
@@ -33,7 +34,9 @@ import java.util.List;
" trace *StringUtils isBlank '#cost>100'\n" +
" trace -E org\\\\.apache\\\\.commons\\\\.lang\\\\.StringUtils isBlank\n" +
" trace -E com.test.ClassA|org.test.ClassB method1|method2|method3\n" +
" trace demo.MathGame run -n 5\n" +
Constants.WIKI + Constants.WIKI_HOME + "trace")
//@formatter:on
public class TraceCommand extends EnhancerCommand {
private String classPattern;