2
0

Python support (#37)

* Initial python support

* Add python testing

* Increase timeout for bin tests

* cmake-format

* Valid build types + testing + formatting + more

- Enforce valid build types
- Fix to numpy install
- Increase testing timeout
- Fix to cmake format glob
- Fix to backtrace verbose

* Disable stripping libraries by default

* omnitrace exe updates

- new '--print-instructions' option
- changed format of instructions in JSON
- remove no-save-fpr tests

* Default to strip libraries when release build

[ROCm/rocprofiler-systems commit: afa3edebab]
Este cometimento está contido em:
Jonathan R. Madsen
2022-04-05 00:24:34 -05:00
cometido por GitHub
ascendente 127e30a4d7
cometimento 6daac0f60c
42 ficheiros modificados com 2442 adições e 239 eliminações
@@ -51,6 +51,7 @@ size_t min_loop_address_range = (1 << 8); // 256
size_t min_instructions = (1 << 6); // 64
bool werror = false;
bool debug_print = false;
bool instr_print = false;
int verbose_level = tim::get_env<int>("OMNITRACE_VERBOSE_INSTRUMENT", 0);
string_t main_fname = "main";
string_t argv0 = {};
@@ -356,6 +357,12 @@ main(int argc, char** argv)
.action([](parser_t& p) {
print_overlapping = p.get<std::string>("print-overlapping");
});
parser
.add_argument(
{ "--print-instructions" },
"Print the instructions for each basic-block in the JSON/XML outputs")
.max_count(1)
.action([](parser_t& p) { instr_print = p.get<bool>("print-instructions"); });
parser.add_argument({ "" }, "");
parser.add_argument({ "[MODE OPTIONS]" }, "");