several fixes; adding direct loading of alprofile library

[ROCm/rocprofiler commit: 8270530fec]
This commit is contained in:
Evgeny
2017-12-19 15:32:34 -06:00
parent e1f9046f5c
commit 24695e37be
16 changed files with 195 additions and 136 deletions
+5 -1
View File
@@ -320,7 +320,11 @@ CONSTRUCTOR_API void constructor() {
exit(1);
}
printf("ROCProfiler: input from \"%s\"\n", xml_name);
xml::Xml* xml = new xml::Xml(xml_name);
xml::Xml* xml = xml::Xml::Create(xml_name);
if (xml == NULL) {
fprintf(stderr, "Input file not found '%s'\n", xml_name);
exit(1);
}
// Getting metrics
auto metrics_list = xml->GetNodes("top.metric");