File tree Expand file tree Collapse file tree
src/executor/wall_time/perf Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ pub struct PerfMetadata {
2828 #[ deprecated( note = "Use ExecutionTimestamps in the 'artifacts' module instead" ) ]
2929 pub markers : Vec < MarkerType > ,
3030
31+ /// Kept for backward compatibility, was used before deduplication of debug info entries.
32+ #[ serde( default , skip_serializing_if = "HashMap::is_empty" ) ]
33+ #[ deprecated( note = "Use 'debug_info' + 'debug_info_pid_mappings_by_pid' instead" ) ]
34+ pub debug_info_by_pid : HashMap < i32 , Vec < ModuleDebugInfo > > ,
35+
3136 /// Deduplicated debug info entries, keyed by semantic key
3237 #[ serde( default , skip_serializing_if = "HashMap::is_empty" ) ]
3338 pub debug_info : HashMap < String , ModuleDebugInfo > ,
Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ impl BenchmarkData {
502502 debug_info_pid_mappings_by_pid,
503503 unwind_data_pid_mappings_by_pid,
504504 symbol_pid_mappings_by_pid,
505+ debug_info_by_pid : Default :: default ( ) , // No longer used
505506 } ;
506507 metadata. save_to ( & path) . unwrap ( ) ;
507508
You can’t perform that action at this time.
0 commit comments