KDAB / hotspot

The Linux perf GUI for performance analysis.
4.16k stars 257 forks source link

document search for source files #482

Closed lievenhey closed 1 year ago

lievenhey commented 1 year ago

Currently you can use --debugPaths and --extraLibPaths to add a path to the disassembler for source code search.

I don't know if we should use these paths or add new ones.

GitMensch commented 1 year ago

I'd vote for --sourcePaths because you commonly have the symbol files - which the old options can adjust post-recording - in the place that they had during recording, but the source is often kept separate from binaries/debug info and may not was in the place it had during recording (especially when recording with an external library where you get the matching source afterwards and have that local).

GitMensch commented 1 year ago

Solved with #497 and should be closed as fixed.