@@ -41,10 +41,17 @@ static void do_parse_args(int argc, char *argv[])
4141 .dest = & bpf_args -> pid , .set = & bpf_args -> enable_pid ,
4242 .desc = "filter by current process id(pid)" ,
4343 },
44+ {
45+ .lname = "min-latency" , .dest = & trace_args -> min_latency ,
46+ .type = OPTION_U32 ,
47+ .desc = "filter by the minial time to live of the skb in ms" ,
48+ },
49+ { .type = OPTION_BLANK },
4450 {
4551 .lname = "trace" , .sname = 't' ,
4652 .dest = & trace_args -> traces ,
47- .desc = "enable trace group or trace" ,
53+ .desc = "enable trace group or trace. Some traces are "
54+ "disabled by default, use \"all\" to enable all" ,
4855 },
4956 {
5057 .lname = "force" , .dest = & trace_args -> force ,
@@ -103,11 +110,6 @@ static void do_parse_args(int argc, char *argv[])
103110 .desc = "print the kernel function call stack of kfree_skb" ,
104111 },
105112#endif
106- {
107- .lname = "min-latency" , .dest = & trace_args -> min_latency ,
108- .type = OPTION_U32 ,
109- .desc = "the minial time to live of the skb in ms" ,
110- },
111113 {
112114 .lname = "sock" , .dest = & trace_args -> sock ,
113115 .type = OPTION_BOOL ,
0 commit comments