Omnitrace sample documentation (#179)

* Documentation for omnitrace-sample

* Improve omnitrace-sample

- improve the printing of the env updates
- remove env settings when something is deactivated
- restore env settings when something is deactivated

[ROCm/rocprofiler-systems commit: 67f7471253]
这个提交包含在:
Jonathan R. Madsen 编写, GitHub 于 2022-10-19 03:30:00 -05:00 提交
1 父节点 8f8ead76b5
当前提交 7234e8cf45
15 个文件已更改
+789 -92

没有与搜索条件相匹配的文件

@@ -580,7 +580,7 @@ omnitrace_finalize_hidden(void)
return;
}
OMNITRACE_VERBOSE_F(0, "\n");
if(get_verbose() >= 0 || get_debug()) fprintf(stderr, "\n");
OMNITRACE_VERBOSE_F(0, "finalizing...\n");
sampling::block_samples();