builtin-c2c.c (820e9906cf64142169134f35b996108303cf22ca) | builtin-c2c.c (7cc72553ac03ec20afe2dec91dce4624ccd379b8) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * This is rewrite of original c2c tool introduced in here: 4 * http://lwn.net/Articles/588866/ 5 * 6 * The original tool was changed to fit in current perf state. 7 * 8 * Original authors: --- 2754 unchanged lines hidden (view full) --- 2763 argc = parse_options(argc, argv, options, report_c2c_usage, 2764 PARSE_OPT_STOP_AT_NON_OPTION); 2765 if (argc) 2766 usage_with_options(report_c2c_usage, options); 2767 2768 if (c2c.stats_only) 2769 c2c.use_stdio = true; 2770 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * This is rewrite of original c2c tool introduced in here: 4 * http://lwn.net/Articles/588866/ 5 * 6 * The original tool was changed to fit in current perf state. 7 * 8 * Original authors: --- 2754 unchanged lines hidden (view full) --- 2763 argc = parse_options(argc, argv, options, report_c2c_usage, 2764 PARSE_OPT_STOP_AT_NON_OPTION); 2765 if (argc) 2766 usage_with_options(report_c2c_usage, options); 2767 2768 if (c2c.stats_only) 2769 c2c.use_stdio = true; 2770 |
2771 err = symbol__validate_sym_arguments(); 2772 if (err) 2773 goto out; 2774 |
|
2771 if (!input_name || !strlen(input_name)) 2772 input_name = "perf.data"; 2773 2774 data.path = input_name; 2775 data.force = symbol_conf.force; 2776 2777 err = setup_display(display); 2778 if (err) --- 254 unchanged lines hidden --- | 2775 if (!input_name || !strlen(input_name)) 2776 input_name = "perf.data"; 2777 2778 data.path = input_name; 2779 data.force = symbol_conf.force; 2780 2781 err = setup_display(display); 2782 if (err) --- 254 unchanged lines hidden --- |