|
@@ -946,12 +946,6 @@ parse_percent_limit(const struct option *opt, const char *str,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-#define CALLCHAIN_DEFAULT_OPT "graph,0.5,caller,function,percent"
|
|
|
-
|
|
|
-const char report_callchain_help[] = "Display call graph (stack chain/backtrace):\n\n"
|
|
|
- CALLCHAIN_REPORT_HELP
|
|
|
- "\n\t\t\t\tDefault: " CALLCHAIN_DEFAULT_OPT;
|
|
|
-
|
|
|
int cmd_report(int argc, const char **argv)
|
|
|
{
|
|
|
struct perf_session *session;
|
|
@@ -960,6 +954,10 @@ int cmd_report(int argc, const char **argv)
|
|
|
bool has_br_stack = false;
|
|
|
int branch_mode = -1;
|
|
|
bool branch_call_mode = false;
|
|
|
+#define CALLCHAIN_DEFAULT_OPT "graph,0.5,caller,function,percent"
|
|
|
+ const char report_callchain_help[] = "Display call graph (stack chain/backtrace):\n\n"
|
|
|
+ CALLCHAIN_REPORT_HELP
|
|
|
+ "\n\t\t\t\tDefault: " CALLCHAIN_DEFAULT_OPT;
|
|
|
char callchain_default_opt[] = CALLCHAIN_DEFAULT_OPT;
|
|
|
const char * const report_usage[] = {
|
|
|
"perf report [<options>]",
|