software-mansion/cairo-profiler

Use mapping lib

Closed this issue · 2 comments

I believe we can take the following actions:

  • Utilize trace-data from cairo-annotations. We should deprecate trace-data in the profiler and include a message indicating that it will be removed in the next version.
  • Use map_pcs_to_sierra_statement_ids in some parts of the code here: function_trace_builder.rs.
  • Replace the existing implementation with cairo-annotations's ProfilerAnnotations instead of using the current approach in sierra_loader.rs.