ftrace: Use empty dict when no metadata is available
Instead of returning None, Ftrace.__get_trace_metadata returns an empty
dictionary to avoid breaking looping over the items.
@@ -925,6 +925,8 @@ class FTrace(GenericFTrace):
# Reached a valid trace line, abort metadata population
return res
+ return res
+
def __populate_trace_metadata(self, metadata):
self.metadata = metadata
