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]
This commit is contained in:
Jonathan R. Madsen
2022-10-19 03:30:00 -05:00
zatwierdzone przez GitHub
rodzic 8f8ead76b5
commit 7234e8cf45
15 zmienionych plików z 789 dodań i 92 usunięć
@@ -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();