hotspot icon indicating copy to clipboard operation
hotspot copied to clipboard

Add a "substitute path" option

Open GitMensch opened this issue 3 months ago • 5 comments

Is your feature request related to a problem? Please describe. I currently work on a customer performance check. We have a machine that "nearly matches" what the customer has and get actual quite good results in HotSpot already, but for those we have to setup symlinks to exactly match the paths on the customer machine (thge recording has the full path of the libraries in)

Describe the solution you'd like Provide --substitutePath A:B option for perfparser + hotspot (similar to what GDB offers for source, we can analyze coredumps that way), then later optionally a GUI configuration.

Describe alternatives you've considered What we currently do:

  • add "our" paths to the "extra libraries" and "debug paths" (no clue why, but it seems it needs both) --> but some symbols are still reported as not being foun
  • create the directory structure of the customer (which includes root folders!), then symlink to the paths on the machine -> this currently gives the best results, but is the most work and in this case even needs sudo...

Additional context The substitutePath would be used for both binaries and source mappings.

GitMensch avatar Mar 26 '24 12:03 GitMensch