Put cached perfetto traces as default one (#2138)
* Put cached perfetto traces as default one * Improve cached data and perfetto traces in order to be more aligned with E2E tests * Addressing PR comments and findings * Force early instrumentation bundle instantiation * Sync-up insturumented containers with thread growth data * Revert ompvv number of host threads to default 8 * Fixed counter track namings for amd-smi * AIPROFSYST-34 [rocprof-sys] Update documentation describing newly introduced changes to default tracing mechanism
This commit is contained in:
@@ -301,14 +301,24 @@ add_core_arguments(parser_t& _parser, parser_data& _data)
|
||||
if(_data.environ_filter("trace", _data))
|
||||
{
|
||||
_parser
|
||||
.add_argument({ "-T", "--trace" },
|
||||
"Generate a detailed trace (perfetto output)")
|
||||
.add_argument({ "-T", "--trace" }, "Generate a detailed trace with deferred "
|
||||
"trace generation (perfetto output)")
|
||||
.max_count(1)
|
||||
.action([&](parser_t& p) {
|
||||
update_env(_data, "ROCPROFSYS_TRACE", p.get<bool>("trace"));
|
||||
update_env(_data, "ROCPROFSYS_TRACE_CACHED", p.get<bool>("trace"));
|
||||
});
|
||||
|
||||
_parser
|
||||
.add_argument(
|
||||
{ "-L", "--trace-legacy" },
|
||||
"Generate a detailed trace with direct mode (perfetto output, legacy)")
|
||||
.max_count(1)
|
||||
.action([&](parser_t& p) {
|
||||
update_env(_data, "ROCPROFSYS_TRACE_LEGACY", p.get<bool>("trace-legacy"));
|
||||
});
|
||||
|
||||
_data.processed_environs.emplace("trace");
|
||||
_data.processed_environs.emplace("trace_legacy");
|
||||
}
|
||||
|
||||
if(_data.environ_filter("profile", _data))
|
||||
|
||||
Reference in New Issue
Block a user