Home
last modified time | relevance | path

Searched refs:logdata (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/scripts/logging/dictionary/
Dlog_parser.py49 logdata = None
55 logdata = dictionary_parser.utils.convert_hex_file_to_bin(args.logfile)
90 logdata = binascii.unhexlify(hexdata[:idx])
97 logdata = logfile.read()
101 return logdata
121 logdata = read_log_file(args)
122 if logdata is None:
137 ret = log_parser.parse_log_data(logdata, debug=args.debug)
/Zephyr-Core-3.7.0/scripts/logging/dictionary/dictionary_parser/
Dlog_parser_v3.py265 def parse_one_normal_msg(self, logdata, offset): argument
269 logdata, offset)
272 timestamp = struct.unpack_from(self.fmt_msg_timestamp, logdata, offset)[0]
290 offset_end_of_args = struct.unpack_from("B", logdata, offset)[0]
295 extra_data = logdata[(offset + pkg_len):next_msg_offset]
298 num_packed_strings = struct.unpack_from("B", logdata, offset+1)[0]
301 num_ro_str_indexes = struct.unpack_from("B", logdata, offset+2)[0]
305 num_rw_str_indexes = struct.unpack_from("B", logdata, offset+3)[0]
309 string_tbl = self.extract_string_table(logdata[offset_end_of_args:(offset + pkg_len)])
325 logdata, offset)[0]
[all …]
Dlog_parser_v1.py260 def parse_one_normal_msg(self, logdata, offset): argument
263 log_desc, source_id = struct.unpack_from(self.fmt_msg_hdr, logdata, offset)
266 timestamp = struct.unpack_from(self.fmt_msg_timestamp, logdata, offset)[0]
282 offset_end_of_args = struct.unpack_from("B", logdata, offset)[0]
287 extra_data = logdata[(offset + pkg_len):next_msg_offset]
290 num_packed_strings = struct.unpack_from("B", logdata, offset+1)[0]
293 num_ro_str_indexes = struct.unpack_from("B", logdata, offset+2)[0]
297 num_rw_str_indexes = struct.unpack_from("B", logdata, offset+3)[0]
301 string_tbl = self.extract_string_table(logdata[offset_end_of_args:(offset + pkg_len)])
317 logdata, offset)[0]
[all …]
Dlog_parser.py61 def parse_log_data(self, logdata, debug=False): argument