aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-record.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index b81494587120..d33103291b02 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -1279,10 +1279,12 @@ static int perf_record_config(const char *var, const char *value, void *cb)
1279 return -1; 1279 return -1;
1280 return 0; 1280 return 0;
1281 } 1281 }
1282 if (!strcmp(var, "record.call-graph")) 1282 if (!strcmp(var, "record.call-graph")) {
1283 var = "call-graph.record-mode"; /* fall-through */ 1283 var = "call-graph.record-mode";
1284 return perf_default_config(var, value, cb);
1285 }
1284 1286
1285 return perf_default_config(var, value, cb); 1287 return 0;
1286} 1288}
1287 1289
1288struct clockid_map { 1290struct clockid_map {