• Home
  • Raw
  • Download

Lines Matching refs:opts

145 parse_command_line(int argc, char* argv[], options& opts)  in parse_command_line()  argument
154 if (opts.kernel_dist_root1.empty()) in parse_command_line()
155 opts.kernel_dist_root1 = argv[i]; in parse_command_line()
156 else if (opts.kernel_dist_root2.empty()) in parse_command_line()
157 opts.kernel_dist_root2 = argv[i]; in parse_command_line()
162 opts.verbose = true; in parse_command_line()
166 opts.display_version = true; in parse_command_line()
172 opts.display_usage = true; in parse_command_line()
181 opts.missing_operand = true; in parse_command_line()
182 opts.wrong_option = argv[i]; in parse_command_line()
187 opts.di_root_path1 = in parse_command_line()
197 opts.missing_operand = true; in parse_command_line()
198 opts.wrong_option = argv[i]; in parse_command_line()
203 opts.di_root_path2 = in parse_command_line()
213 opts.missing_operand = true; in parse_command_line()
214 opts.wrong_option = argv[i]; in parse_command_line()
217 opts.vmlinux1 = argv[j]; in parse_command_line()
226 opts.missing_operand = true; in parse_command_line()
227 opts.wrong_option = argv[i]; in parse_command_line()
230 opts.vmlinux2 = argv[j]; in parse_command_line()
239 opts.missing_operand = true; in parse_command_line()
240 opts.wrong_option = argv[i]; in parse_command_line()
243 opts.kabi_whitelist_paths.push_back(argv[j]); in parse_command_line()
252 opts.missing_operand = true; in parse_command_line()
253 opts.wrong_option = argv[i]; in parse_command_line()
256 opts.suppression_paths.push_back(argv[j]); in parse_command_line()
261 opts.use_ctf = true; in parse_command_line()
265 opts.show_impacted_interfaces = true; in parse_command_line()
268 opts.leaf_changes_only = false; in parse_command_line()
270 opts.exported_interfaces_only = true; in parse_command_line()
272 opts.exported_interfaces_only = false; in parse_command_line()
274 opts.show_offsets_sizes_in_bits = false; in parse_command_line()
276 opts.show_offsets_sizes_in_bits = true; in parse_command_line()
278 opts.show_hexadecimal_values = true; in parse_command_line()
280 opts.show_hexadecimal_values = false; in parse_command_line()
283 opts.wrong_option = argv[i]; in parse_command_line()
299 maybe_check_suppression_files(const options& opts) in maybe_check_suppression_files() argument
301 for (vector<string>::const_iterator i = opts.suppression_paths.begin(); in maybe_check_suppression_files()
302 i != opts.suppression_paths.end(); in maybe_check_suppression_files()
308 opts.kabi_whitelist_paths.begin(); in maybe_check_suppression_files()
309 i != opts.kabi_whitelist_paths.end(); in maybe_check_suppression_files()
323 set_diff_context(diff_context_sptr ctxt, const options& opts) in set_diff_context() argument
333 ctxt->show_leaf_changes_only(opts.leaf_changes_only); in set_diff_context()
334 ctxt->show_impacted_interfaces(opts.show_impacted_interfaces); in set_diff_context()
335 ctxt->show_hex_values(opts.show_hexadecimal_values); in set_diff_context()
336 ctxt->show_offsets_sizes_in_bits(opts.show_offsets_sizes_in_bits); in set_diff_context()
340 if (!opts.diff_time_supprs.empty()) in set_diff_context()
341 ctxt->add_suppressions(opts.diff_time_supprs); in set_diff_context()
354 print_kernel_dist_binary_paths_under(const string& root, const options &opts) in print_kernel_dist_binary_paths_under() argument
359 if (opts.verbose) in print_kernel_dist_binary_paths_under()
382 options opts; in main() local
383 if (!parse_command_line(argc, argv, opts)) in main()
387 << opts.wrong_option << "\n" in main()
392 if (opts.missing_operand) in main()
395 << "missing operand to option: " << opts.wrong_option <<"\n" in main()
400 if (!maybe_check_suppression_files(opts)) in main()
403 if (opts.display_usage) in main()
409 if (opts.display_version) in main()
419 if (opts.exported_interfaces_only.has_value()) in main()
420 env.analyze_exported_interfaces_only(*opts.exported_interfaces_only); in main()
426 opts.use_ctf ? corpus::CTF_ORIGIN : in main()
430 if (!opts.kernel_dist_root1.empty()) in main()
432 file_type ftype = guess_file_type(opts.kernel_dist_root1); in main()
435 debug_info_root_dir = opts.di_root_path1.get() in main()
436 ? opts.di_root_path1.get() in main()
440 build_corpus_group_from_kernel_dist_under(opts.kernel_dist_root1, in main()
442 opts.vmlinux1, in main()
443 opts.suppression_paths, in main()
444 opts.kabi_whitelist_paths, in main()
445 opts.read_time_supprs, in main()
446 opts.verbose, env, in main()
448 print_kernel_dist_binary_paths_under(opts.kernel_dist_root1, opts); in main()
452 abixml::read_corpus_group_from_abixml_file(opts.kernel_dist_root1, in main()
457 if (!opts.kernel_dist_root2.empty()) in main()
459 file_type ftype = guess_file_type(opts.kernel_dist_root2); in main()
462 debug_info_root_dir = opts.di_root_path2.get() in main()
463 ? opts.di_root_path2.get() in main()
466 build_corpus_group_from_kernel_dist_under(opts.kernel_dist_root2, in main()
468 opts.vmlinux2, in main()
469 opts.suppression_paths, in main()
470 opts.kabi_whitelist_paths, in main()
471 opts.read_time_supprs, in main()
472 opts.verbose, env, in main()
474 print_kernel_dist_binary_paths_under(opts.kernel_dist_root2, opts); in main()
478 abixml::read_corpus_group_from_abixml_file(opts.kernel_dist_root2, in main()
486 set_diff_context(diff_ctxt, opts); in main()