Lines Matching refs:elf_file_path
429 /// @param elf_file_path the path to the ELF file to consider.
437 /// @return true iff the ELF file at @elf_file_path is an ELF file
440 file_has_dwarf_debug_info(const string& elf_file_path,
443 if (guess_file_type(elf_file_path) != FILE_TYPE_ELF)
447 elf::reader r(elf_file_path,
465 /// @param elf_file_path the path to the ELF file to consider.
473 /// @return true iff the ELF file at @elf_file_path is an ELF file
476 file_has_ctf_debug_info(const string& elf_file_path,
479 if (guess_file_type(elf_file_path) != FILE_TYPE_ELF)
483 elf::reader r(elf_file_path,
491 if (base_name(elf_file_path, vmlinux))
494 if (dir_name(elf_file_path, dirname)
2818 /// @param elf_file_path a path to the ELF file to consider
2835 /// designated by @p elf_file_path.
2837 create_best_elf_based_reader(const string& elf_file_path,
2845 if (guess_file_type(elf_file_path) != FILE_TYPE_ELF)
2851 if (file_has_ctf_debug_info(elf_file_path, debug_info_root_paths))
2852 result = ctf::create_reader(elf_file_path, debug_info_root_paths, env);
2859 if (!file_has_dwarf_debug_info(elf_file_path, debug_info_root_paths)
2860 && file_has_ctf_debug_info(elf_file_path, debug_info_root_paths))
2863 result = ctf::create_reader(elf_file_path, debug_info_root_paths, env);
2872 result = dwarf::create_reader(elf_file_path,