mirror of
https://gitee.com/openharmony/hiviewdfx_hitrace
synced 2024-11-23 07:49:43 +00:00
commit
7d3e5e78df
@ -854,7 +854,8 @@ void StartTraceChain(uint64_t label, const struct HiTraceIdStruct* hiTraceId, co
|
||||
AddHitraceMeterMarker(MARKER_BEGIN, label, value, 0, hiTraceId);
|
||||
}
|
||||
|
||||
void StartAsyncTraceDebug(bool isDebug, uint64_t label, const std::string& value, int32_t taskId, float limit UNUSED_PARAM)
|
||||
void StartAsyncTraceDebug(bool isDebug, uint64_t label, const std::string& value, int32_t taskId,
|
||||
float limit UNUSED_PARAM)
|
||||
{
|
||||
if (!isDebug) {
|
||||
return;
|
||||
|
@ -296,9 +296,11 @@ def generate_one_event_str(data, cpu_id, time_stamp, one_event):
|
||||
|
||||
return event_str
|
||||
|
||||
|
||||
format_miss_cnt = 0
|
||||
format_miss_set = set()
|
||||
|
||||
|
||||
def parse_one_event(data, event_id, cpu_id, time_stamp):
|
||||
global format_miss_cnt
|
||||
global format_miss_set
|
||||
@ -486,7 +488,7 @@ def parse_binary_trace_file():
|
||||
print("%d" % miss_format_id)
|
||||
|
||||
for name in get_not_found_foramt:
|
||||
print("Error: function parse_" + name + " not found")
|
||||
print("Error: function parse_%s not found" % name)
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user