mirror of
https://gitee.com/openharmony/hiviewdfx_hitrace
synced 2024-11-26 17:40:34 +00:00
codecheck清理
Signed-off-by:Federer-JC <jincong4@huawei.com> Signed-off-by: Federer-JC <jincong4@huawei.com>
This commit is contained in:
parent
1d7a6c73e9
commit
8e8147cbda
@ -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