KDAB / hotspot

The Linux perf GUI for performance analysis.
4.09k stars 252 forks source link

provide an option to export/import configuration and allow specifying used one via command line #655

Open GitMensch opened 4 months ago

GitMensch commented 4 months ago

Better idea: provide an option to select to configuration via command line. That would take care of all the other stuff (sysroot, ...) too

Originally posted by @lievenhey in https://github.com/KDAB/hotspot/issues/556#issuecomment-1807840753

I extend the suggested option by an export/import (or save/load) option in the settings dialog, as I have no clue where the configuration should come from. If I understood this part wrong, then feel free to drop that part.

For the command line: any explicit set option should override/extend the given configuration file. If that's not easily possible it would be order precedence [so everything is reset if --configuration is parsed which may should be left as hint in the help text].

lievenhey commented 4 months ago

You can use this setting in the config dialog to save the settings in a "preset". My idea was that you can also load this "preset" from the command line. grafik