Fix hang in config file generation (#101)

- Updated Timemory module.
- Fixes a crash when running rocprof-sys-avail -G without explicitly providing -F <format>. The default value of "txt" was not being used.
- Define "choices" before "default" when defining the "--config-format" argument in the parser.

[ROCm/rocprofiler-systems commit: 3833c8d162]
Tento commit je obsažen v:
David Galiffi
2025-02-11 17:36:31 -05:00
odevzdal GitHub
rodič fba64f8acd
revize d148e94161
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
Submodul projects/rocprofiler-systems/external/timemory aktualizován: 8c2afd3b2e...0eb3c2e897
+1 -1
Zobrazit soubor
@@ -454,8 +454,8 @@ main(int argc, char** argv)
parser.add_argument({ "-F", "--config-format" }, "Configuration file format")
.min_count(1)
.max_count(3)
.set_default(std::set<std::string>{ "txt" })
.choices({ "txt", "json", "xml" })
.set_default(std::set<std::string>{ "txt" })
.dtype("filename")
.action([&_config_fmts](parser_t& _p) {
_config_fmts = _p.get<std::set<std::string>>("config-format");