@@ -6,16 +6,16 @@ use crate::prelude::*;
66use libc:: pid_t;
77use rayon:: prelude:: * ;
88use runner_shared:: debug_info:: { DebugInfoPidMapping , ModuleDebugInfo } ;
9- use runner_shared:: perf_map:: ProcessModuleLoadBias ;
9+ use runner_shared:: perf_map:: MappedProcessModuleSymbols ;
1010use runner_shared:: unwind_data:: { MappedProcessUnwindData , ProcessUnwindData , UnwindData } ;
1111use std:: collections:: HashMap ;
1212use std:: path:: { Path , PathBuf } ;
1313
1414pub struct SavedArtifacts {
15- pub symbol_pid_mappings_by_pid : HashMap < pid_t , Vec < ProcessModuleLoadBias > > ,
15+ pub symbol_pid_mappings_by_pid : HashMap < pid_t , Vec < MappedProcessModuleSymbols > > ,
1616 pub debug_info : HashMap < String , ModuleDebugInfo > ,
1717 pub debug_info_pid_mappings_by_pid : HashMap < pid_t , Vec < DebugInfoPidMapping > > ,
18- pub unwind_data_pid_mappings_by_pid : HashMap < pid_t , Vec < MappedProcessUnwindData > > ,
18+ 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 > ,
2121}
@@ -36,7 +36,7 @@ pub fn save_artifacts(
3636 let ( debug_info, debug_info_pid_mappings_by_pid) =
3737 save_debug_info ( mounted_modules_by_path, & mut path_to_key) ;
3838
39- let unwind_data_pid_mappings_by_pid = save_unwind_data (
39+ let mapped_process_unwind_data_by_pid = save_unwind_data (
4040 profile_folder,
4141 mounted_modules_by_path,
4242 jit_unwind_data_by_pid,
@@ -54,7 +54,7 @@ pub fn save_artifacts(
5454 symbol_pid_mappings_by_pid,
5555 debug_info,
5656 debug_info_pid_mappings_by_pid,
57- unwind_data_pid_mappings_by_pid ,
57+ mapped_process_unwind_data_by_pid ,
5858 ignored_modules,
5959 key_to_path,
6060 }
@@ -86,7 +86,7 @@ fn save_symbols(
8686 profile_folder : & Path ,
8787 mounted_modules_by_path : & HashMap < PathBuf , MountedModule > ,
8888 path_to_key : & HashMap < PathBuf , String > ,
89- ) -> HashMap < pid_t , Vec < ProcessModuleLoadBias > > {
89+ ) -> HashMap < pid_t , Vec < MappedProcessModuleSymbols > > {
9090 let symbols_count = mounted_modules_by_path
9191 . values ( )
9292 . filter ( |m| m. module_symbols . is_some ( ) )
@@ -100,7 +100,7 @@ fn save_symbols(
100100 }
101101 } ) ;
102102
103- let mut mappings_by_pid: HashMap < pid_t , Vec < ProcessModuleLoadBias > > = HashMap :: new ( ) ;
103+ let mut mappings_by_pid: HashMap < pid_t , Vec < MappedProcessModuleSymbols > > = HashMap :: new ( ) ;
104104 for ( path, m) in mounted_modules_by_path {
105105 if m. module_symbols . is_none ( ) {
106106 continue ;
@@ -111,7 +111,7 @@ fn save_symbols(
111111 mappings_by_pid
112112 . entry ( pid)
113113 . or_default ( )
114- . push ( ProcessModuleLoadBias {
114+ . push ( MappedProcessModuleSymbols {
115115 perf_map_key : key. clone ( ) ,
116116 load_bias,
117117 } ) ;
0 commit comments