diff options
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 9c333ff3dfeb..ebb2b5fc6945 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -409,7 +409,9 @@ static void print_sample_bts(union perf_event *event, | |||
409 | printf(" => "); | 409 | printf(" => "); |
410 | 410 | ||
411 | /* print branch_to information */ | 411 | /* print branch_to information */ |
412 | if (PRINT_FIELD(ADDR)) | 412 | if (PRINT_FIELD(ADDR) || |
413 | ((evsel->attr.sample_type & PERF_SAMPLE_ADDR) && | ||
414 | !output[attr->type].user_set)) | ||
413 | print_sample_addr(event, sample, machine, thread, attr); | 415 | print_sample_addr(event, sample, machine, thread, attr); |
414 | 416 | ||
415 | printf("\n"); | 417 | printf("\n"); |