@@ -5,7 +5,7 @@ use crate::executor::wall_time::perf::parse_perf_file::MountedModule;
55use crate :: prelude:: * ;
66use libc:: pid_t;
77use rayon:: prelude:: * ;
8- use runner_shared:: debug_info:: { DebugInfoPidMapping , ModuleDebugInfo } ;
8+ use runner_shared:: debug_info:: { MappedProcessDebugInfo , ModuleDebugInfo } ;
99use runner_shared:: perf_map:: MappedProcessModuleSymbols ;
1010use runner_shared:: unwind_data:: { MappedProcessUnwindData , ProcessUnwindData , UnwindData } ;
1111use std:: collections:: HashMap ;
@@ -14,7 +14,7 @@ use std::path::{Path, PathBuf};
1414pub struct SavedArtifacts {
1515 pub symbol_pid_mappings_by_pid : HashMap < pid_t , Vec < MappedProcessModuleSymbols > > ,
1616 pub debug_info : HashMap < String , ModuleDebugInfo > ,
17- pub debug_info_pid_mappings_by_pid : HashMap < pid_t , Vec < DebugInfoPidMapping > > ,
17+ pub mapped_process_debug_info_by_pid : HashMap < pid_t , Vec < MappedProcessDebugInfo > > ,
1818 pub mapped_process_unwind_data_by_pid : HashMap < pid_t , Vec < MappedProcessUnwindData > > ,
1919 pub ignored_modules : Vec < ( String , u64 , u64 ) > ,
2020 pub key_to_path : HashMap < String , PathBuf > ,
@@ -33,7 +33,7 @@ pub fn save_artifacts(
3333 let symbol_pid_mappings_by_pid =
3434 save_symbols ( profile_folder, mounted_modules_by_path, & path_to_key) ;
3535
36- let ( debug_info, debug_info_pid_mappings_by_pid ) =
36+ let ( debug_info, mapped_process_debug_info_by_pid ) =
3737 save_debug_info ( mounted_modules_by_path, & mut path_to_key) ;
3838
3939 let mapped_process_unwind_data_by_pid = save_unwind_data (
@@ -53,7 +53,7 @@ pub fn save_artifacts(
5353 SavedArtifacts {
5454 symbol_pid_mappings_by_pid,
5555 debug_info,
56- debug_info_pid_mappings_by_pid ,
56+ mapped_process_debug_info_by_pid ,
5757 mapped_process_unwind_data_by_pid,
5858 ignored_modules,
5959 key_to_path,
@@ -130,7 +130,7 @@ fn save_debug_info(
130130 path_to_key : & mut HashMap < PathBuf , String > ,
131131) -> (
132132 HashMap < String , ModuleDebugInfo > ,
133- HashMap < pid_t , Vec < DebugInfoPidMapping > > ,
133+ HashMap < pid_t , Vec < MappedProcessDebugInfo > > ,
134134) {
135135 debug ! ( "Saving debug_info" ) ;
136136
@@ -148,7 +148,7 @@ fn save_debug_info(
148148 } )
149149 . collect ( ) ;
150150
151- let mut mappings_by_pid: HashMap < pid_t , Vec < DebugInfoPidMapping > > = HashMap :: new ( ) ;
151+ let mut mappings_by_pid: HashMap < pid_t , Vec < MappedProcessDebugInfo > > = HashMap :: new ( ) ;
152152 for ( path, m) in mounted_modules_by_path {
153153 if m. module_symbols . is_none ( ) {
154154 continue ;
@@ -161,7 +161,7 @@ fn save_debug_info(
161161 mappings_by_pid
162162 . entry ( pid)
163163 . or_default ( )
164- . push ( DebugInfoPidMapping {
164+ . push ( MappedProcessDebugInfo {
165165 debug_info_key : key. clone ( ) ,
166166 load_bias,
167167 } ) ;
0 commit comments