builtin-annotate.c (820e9906cf64142169134f35b996108303cf22ca) | builtin-annotate.c (7cc72553ac03ec20afe2dec91dce4624ccd379b8) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * builtin-annotate.c 4 * 5 * Builtin annotate command: Analyze the perf.data input file, 6 * look up and read DSOs and symbol information and display 7 * a histogram of results, along various sorting keys. 8 */ --- 577 unchanged lines hidden (view full) --- 586 if (annotate_check_args(&annotate.opts) < 0) 587 return -EINVAL; 588 589 if (symbol_conf.show_nr_samples && annotate.use_gtk) { 590 pr_err("--show-nr-samples is not available in --gtk mode at this time\n"); 591 return ret; 592 } 593 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * builtin-annotate.c 4 * 5 * Builtin annotate command: Analyze the perf.data input file, 6 * look up and read DSOs and symbol information and display 7 * a histogram of results, along various sorting keys. 8 */ --- 577 unchanged lines hidden (view full) --- 586 if (annotate_check_args(&annotate.opts) < 0) 587 return -EINVAL; 588 589 if (symbol_conf.show_nr_samples && annotate.use_gtk) { 590 pr_err("--show-nr-samples is not available in --gtk mode at this time\n"); 591 return ret; 592 } 593 |
594 ret = symbol__validate_sym_arguments(); 595 if (ret) 596 return ret; 597 |
|
594 if (quiet) 595 perf_quiet_option(); 596 597 data.path = input_name; 598 599 annotate.session = perf_session__new(&data, &annotate.tool); 600 if (IS_ERR(annotate.session)) 601 return PTR_ERR(annotate.session); --- 62 unchanged lines hidden --- | 598 if (quiet) 599 perf_quiet_option(); 600 601 data.path = input_name; 602 603 annotate.session = perf_session__new(&data, &annotate.tool); 604 if (IS_ERR(annotate.session)) 605 return PTR_ERR(annotate.session); --- 62 unchanged lines hidden --- |