diff options
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 60fde9f5025c..ddd5b79e94c2 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -579,8 +579,8 @@ static void print_sample_bts(struct perf_sample *sample, | |||
579 | print_opts &= ~PRINT_IP_OPT_SRCLINE; | 579 | print_opts &= ~PRINT_IP_OPT_SRCLINE; |
580 | } | 580 | } |
581 | } | 581 | } |
582 | perf_evsel__print_ip(evsel, sample, al, 0, print_opts, | 582 | perf_evsel__fprintf_sym(evsel, sample, al, 0, print_opts, |
583 | scripting_max_stack, stdout); | 583 | scripting_max_stack, stdout); |
584 | } | 584 | } |
585 | 585 | ||
586 | /* print branch_to information */ | 586 | /* print branch_to information */ |
@@ -788,9 +788,9 @@ static void process_event(struct perf_script *script, | |||
788 | else | 788 | else |
789 | printf("\n"); | 789 | printf("\n"); |
790 | 790 | ||
791 | perf_evsel__print_ip(evsel, sample, al, 0, | 791 | perf_evsel__fprintf_sym(evsel, sample, al, 0, |
792 | output[attr->type].print_ip_opts, | 792 | output[attr->type].print_ip_opts, |
793 | scripting_max_stack, stdout); | 793 | scripting_max_stack, stdout); |
794 | } | 794 | } |
795 | 795 | ||
796 | if (PRINT_FIELD(IREGS)) | 796 | if (PRINT_FIELD(IREGS)) |