Home
last modified time | relevance | path

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

/Zephyr-latest/scripts/logging/dictionary/
Dlog_parser.py49 logdata = None
56 logdata = dictionary_parser.utils.convert_hex_file_to_bin(args.logfile)
91 logdata = binascii.unhexlify(hexdata[:idx])
98 logdata = logfile.read()
102 return logdata
115 logdata = read_log_file(args)
116 if logdata is None:
120 parserlib.parser(logdata, args.dbfile, logger)
Dparserlib.py22 def parser(logdata, dbfile, logger): argument
34 if logdata is None:
47 ret = log_parser.parse_log_data(logdata)
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Dlog_parser_v1.py262 def parse_one_normal_msg(self, logdata, offset): argument
265 log_desc, source_id = struct.unpack_from(self.fmt_msg_hdr, logdata, offset)
268 timestamp = struct.unpack_from(self.fmt_msg_timestamp, logdata, offset)[0]
284 offset_end_of_args = struct.unpack_from("B", logdata, offset)[0]
289 extra_data = logdata[(offset + pkg_len):next_msg_offset]
292 num_packed_strings = struct.unpack_from("B", logdata, offset+1)[0]
295 num_ro_str_indexes = struct.unpack_from("B", logdata, offset+2)[0]
299 num_rw_str_indexes = struct.unpack_from("B", logdata, offset+3)[0]
303 string_tbl = self.extract_string_table(logdata[offset_end_of_args:(offset + pkg_len)])
319 logdata, offset)[0]
[all …]
Dlog_parser_v3.py267 def parse_one_normal_msg(self, logdata, offset): argument
271 logdata, offset)
274 timestamp = struct.unpack_from(self.fmt_msg_timestamp, logdata, offset)[0]
292 offset_end_of_args = struct.unpack_from("B", logdata, offset)[0]
297 extra_data = logdata[(offset + pkg_len):next_msg_offset]
300 num_packed_strings = struct.unpack_from("B", logdata, offset+1)[0]
303 num_ro_str_indexes = struct.unpack_from("B", logdata, offset+2)[0]
307 num_rw_str_indexes = struct.unpack_from("B", logdata, offset+3)[0]
311 string_tbl = self.extract_string_table(logdata[offset_end_of_args:(offset + pkg_len)])
327 logdata, offset)[0]
[all …]
Dlog_parser.py64 def parse_log_data(self, logdata, debug=False): argument