|
@@ -1084,7 +1084,7 @@ int cmd_top(int argc, const char **argv, const char *prefix __maybe_unused)
|
|
"dump the symbol table used for profiling"),
|
|
"dump the symbol table used for profiling"),
|
|
OPT_INTEGER('f', "count-filter", &top.count_filter,
|
|
OPT_INTEGER('f', "count-filter", &top.count_filter,
|
|
"only display functions with more events than this"),
|
|
"only display functions with more events than this"),
|
|
- OPT_BOOLEAN('g', "group", &opts->group,
|
|
|
|
|
|
+ OPT_BOOLEAN(0, "group", &opts->group,
|
|
"put the counters into a counter group"),
|
|
"put the counters into a counter group"),
|
|
OPT_BOOLEAN('i', "no-inherit", &opts->no_inherit,
|
|
OPT_BOOLEAN('i', "no-inherit", &opts->no_inherit,
|
|
"child tasks do not inherit counters"),
|
|
"child tasks do not inherit counters"),
|
|
@@ -1105,7 +1105,7 @@ int cmd_top(int argc, const char **argv, const char *prefix __maybe_unused)
|
|
" abort, in_tx, transaction"),
|
|
" abort, in_tx, transaction"),
|
|
OPT_BOOLEAN('n', "show-nr-samples", &symbol_conf.show_nr_samples,
|
|
OPT_BOOLEAN('n', "show-nr-samples", &symbol_conf.show_nr_samples,
|
|
"Show a column with the number of samples"),
|
|
"Show a column with the number of samples"),
|
|
- OPT_CALLBACK_NOOPT('G', NULL, &top.record_opts,
|
|
|
|
|
|
+ OPT_CALLBACK_NOOPT('g', NULL, &top.record_opts,
|
|
NULL, "enables call-graph recording",
|
|
NULL, "enables call-graph recording",
|
|
&callchain_opt),
|
|
&callchain_opt),
|
|
OPT_CALLBACK(0, "call-graph", &top.record_opts,
|
|
OPT_CALLBACK(0, "call-graph", &top.record_opts,
|