diff options
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 2f91094e228b..0ba5f07906fb 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -249,6 +249,8 @@ static int report__setup_sample_type(struct report *rep) | |||
249 | if ((sample_type & PERF_SAMPLE_REGS_USER) && | 249 | if ((sample_type & PERF_SAMPLE_REGS_USER) && |
250 | (sample_type & PERF_SAMPLE_STACK_USER)) | 250 | (sample_type & PERF_SAMPLE_STACK_USER)) |
251 | callchain_param.record_mode = CALLCHAIN_DWARF; | 251 | callchain_param.record_mode = CALLCHAIN_DWARF; |
252 | else if (sample_type & PERF_SAMPLE_BRANCH_STACK) | ||
253 | callchain_param.record_mode = CALLCHAIN_LBR; | ||
252 | else | 254 | else |
253 | callchain_param.record_mode = CALLCHAIN_FP; | 255 | callchain_param.record_mode = CALLCHAIN_FP; |
254 | } | 256 | } |