SWDEV-284863 Fixed several issues preventing memcpy info dump in csv

Change-Id: I4c6323311ce8314296e81a9b9b5d8adb485e0aa8
This commit is contained in:
Rachida Kebichi
2021-05-11 17:41:06 -04:00
parent 297b613604
commit e5dd1e9b85
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ def process_struct(file_handle, cppHeader_struct, cppHeader, parent_hier_name, a
str = ''
if "union" not in mtype:
indent = ""
str += " if (std::string(\"" + cppHeader_struct + "::" + name + "\").find(" + apiname.upper() + "_structs_regex" + ")) {\n"
str += " if (std::string(\"" + cppHeader_struct + "::" + name + "\").find(" + apiname.upper() + "_structs_regex" + ") != std::string::npos) {\n"
indent = " "
str += indent + " roctracer::" + apiname.lower() + "_support::operator<<(out, \"" + name + "=\");\n"
str += indent + " roctracer::" + apiname.lower() + "_support::operator<<(out, v." + name + ");\n"