SWDEV-427969: Fixing kernel trace

Change-Id: I050120ba0dd0df84a46f022c0f9b8117057202b1

When we did file plugin changes for omniperf in v2, we removed 2 fields from header:
SIG and OBJ. However from the values we missed removing OBJ. Fix is to remove the OBJ from values.

Change-Id: I050120ba0dd0df84a46f022c0f9b8117057202b1
This commit is contained in:
gobhardw
2023-10-19 15:23:32 +05:30
committed by Gopesh Bhardwaj
parent 5d390717b5
commit ab066543b1
+1 -1
View File
@@ -389,7 +389,7 @@ class file_plugin_t {
found = kernel_name.rfind(key, found - 1);
}
}
*output_file << "," << std::to_string(profiler_record->kernel_id.handle) << ",\"" << kernel_name
*output_file << ",\"" << kernel_name
<< "\"," << std::to_string(profiler_record->timestamps.begin.value) << ","
<< std::to_string(profiler_record->timestamps.end.value) << ","
<< std::to_string(profiler_record->correlation_id.value);