hotspot
hotspot copied to clipboard
allow launching perf on remote machines
Extend the feature in #11 to allow running perf on a remote machine via ssh, then stream the data to localhost
It would be nice if hotspot can help with the setup here, which might not be easy for novice users. Especially setting up debug symbols, which might only be available on the host's sysroot.
Presumably another thing that would be needed here would be to supply a symbol file other than the one named in perf.data
, as the binary may reside at a different location locally.
@jonhoo not sure, but I think what you mention is implemented already. Have a look at the command line arguments, cf.:
$ hotspot --help
Usage: hotspot [options] [files...]
Linux perf GUI for performance analysis.
Options:
-h, --help Displays this help.
-v, --version Displays version information.
--sysroot <path> Path to sysroot which is used to find libraries.
--kallsyms <path> Path to kallsyms file which is used to resolve
kernel symbols.
--debugPaths <paths> Colon separated list of paths that contain debug
information.
--extraLibPaths <paths> Colon separated list of extra paths to find
libraries.
--appPath <path> Path to folder containing the application executable
and libraries.
--arch <path> Architecture to use for unwinding.
Arguments:
files Optional input files to open on startup, i.e.
perf.data files
Ah, yes, you're right. My bad for not digging a bit further.