adding SPM test

Change-Id: I55dde52e668206e238ea860dd11e0ed5501a582a
Tá an tiomantas seo le fáil i:
Evgeny
2019-06-04 15:29:37 -05:00
tuismitheoir 6d6eb2b2d0
tiomantas 988283533f
D'athraigh 4 comhad le 16 breiseanna agus 11 scriosta
+3 -3
Féach ar an gComhad
@@ -109,12 +109,12 @@ eval_test "'rocprof' libtool test n-threads" ./test/ctrl
## SPM test
export ROCP_KITER=1
export ROCP_DITER=1
export ROCP_KITER=3
export ROCP_DITER=3
export ROCP_AGENTS=1
export ROCP_THRS=1
export ROCP_INPUT=spm_input.xml
xeval_test "libtool test, SPM trace test" ./test/ctrl
eval_test "libtool test, SPM trace test" ./test/ctrl
## Libtool test, counter sets
+2
Féach ar an gComhad
@@ -435,6 +435,7 @@ void output_results(const context_entry_t* entry, const char* label) {
break;
}
default:
if (is_spm_trace) continue;
fprintf(stderr, "RPL-tool: undefined data kind(%u)\n", p->data.kind);
abort();
}
@@ -1046,6 +1047,7 @@ extern "C" PUBLIC_API void OnLoadToolProp(rocprofiler_settings_t* settings)
features[index] = {};
features[index].kind = ROCPROFILER_FEATURE_KIND_TRACE;
features[index].data.result_bytes.copy = to_copy_data;
features[index].name = strdup(name.c_str());
uint32_t parameter_count = 0;
for (const auto* node : entry->nodes) {