|
@@ -735,7 +735,9 @@ int record_parse_callchain(const char *arg, struct record_opts *opts)
|
|
|
|
|
|
static void callchain_debug(struct record_opts *opts)
|
|
|
{
|
|
|
- pr_debug("callchain: type %d\n", opts->call_graph);
|
|
|
+ static const char *str[CALLCHAIN_MAX] = { "NONE", "FP", "DWARF" };
|
|
|
+
|
|
|
+ pr_debug("callchain: type %s\n", str[opts->call_graph]);
|
|
|
|
|
|
if (opts->call_graph == CALLCHAIN_DWARF)
|
|
|
pr_debug("callchain: stack dump size %d\n",
|