aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r--tools/perf/builtin-script.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index ddd5b79e94c2..838c0bc38105 100644
--- a/tools/perf/builtin-script.c
+++ b/tools/perf/builtin-script.c
@@ -317,19 +317,19 @@ static void set_print_ip_opts(struct perf_event_attr *attr)
317 317
318 output[type].print_ip_opts = 0; 318 output[type].print_ip_opts = 0;
319 if (PRINT_FIELD(IP)) 319 if (PRINT_FIELD(IP))
320 output[type].print_ip_opts |= PRINT_IP_OPT_IP; 320 output[type].print_ip_opts |= EVSEL__PRINT_IP;
321 321
322 if (PRINT_FIELD(SYM)) 322 if (PRINT_FIELD(SYM))
323 output[type].print_ip_opts |= PRINT_IP_OPT_SYM; 323 output[type].print_ip_opts |= EVSEL__PRINT_SYM;
324 324
325 if (PRINT_FIELD(DSO)) 325 if (PRINT_FIELD(DSO))
326 output[type].print_ip_opts |= PRINT_IP_OPT_DSO; 326 output[type].print_ip_opts |= EVSEL__PRINT_DSO;
327 327
328 if (PRINT_FIELD(SYMOFFSET)) 328 if (PRINT_FIELD(SYMOFFSET))
329 output[type].print_ip_opts |= PRINT_IP_OPT_SYMOFFSET; 329 output[type].print_ip_opts |= EVSEL__PRINT_SYMOFFSET;
330 330
331 if (PRINT_FIELD(SRCLINE)) 331 if (PRINT_FIELD(SRCLINE))
332 output[type].print_ip_opts |= PRINT_IP_OPT_SRCLINE; 332 output[type].print_ip_opts |= EVSEL__PRINT_SRCLINE;
333} 333}
334 334
335/* 335/*
@@ -574,9 +574,9 @@ static void print_sample_bts(struct perf_sample *sample,
574 printf("\n"); 574 printf("\n");
575 } else { 575 } else {
576 printf(" "); 576 printf(" ");
577 if (print_opts & PRINT_IP_OPT_SRCLINE) { 577 if (print_opts & EVSEL__PRINT_SRCLINE) {
578 print_srcline_last = true; 578 print_srcline_last = true;
579 print_opts &= ~PRINT_IP_OPT_SRCLINE; 579 print_opts &= ~EVSEL__PRINT_SRCLINE;
580 } 580 }
581 } 581 }
582 perf_evsel__fprintf_sym(evsel, sample, al, 0, print_opts, 582 perf_evsel__fprintf_sym(evsel, sample, al, 0, print_opts,