|
|
@@ -1307,7 +1307,9 @@ int cmd_top(int argc, const char **argv)
|
|
|
OPT_STRING(0, "sym-annotate", &top.sym_filter, "symbol name",
|
|
|
"symbol to annotate"),
|
|
|
OPT_BOOLEAN('z', "zero", &top.zero, "zero history across updates"),
|
|
|
- OPT_UINTEGER('F', "freq", &opts->user_freq, "profile at this frequency"),
|
|
|
+ OPT_CALLBACK('F', "freq", &top.record_opts, "freq or 'max'",
|
|
|
+ "profile at this frequency",
|
|
|
+ record__parse_freq),
|
|
|
OPT_INTEGER('E', "entries", &top.print_entries,
|
|
|
"display this many functions"),
|
|
|
OPT_BOOLEAN('U', "hide_user_symbols", &top.hide_user_symbols,
|