Lines Matching full:args
23 self.args = log_args
26 return 'fmt_addr = 0x%x, args = %d/%s' % (self.fmt_addr, len(self.args), self.args)
40 # read args num and format str addr
55 # read args
60 raise ESPLogTraceParserError('Failed to read log record args (%s)!' % e)
64 print('Unprocessed %d bytes of log record args!' % len(trc_buf))
70 raise ESPLogTraceParserError('Failed to unpack log record args (%s)!' % e)
89 while i < len(lrec.args):
96 arg_str = apptrace.get_str_from_elf(felf, lrec.args[i])
98 lrec.args[i] = arg_str
100 # print("\nFmt = {%s}, args = %d/%s" % lrec)
102 # print("=====> " + fmt_str % lrec.args)
104 print(fmt_str % tuple(lrec.args), end='')
110 print('\nFmt = {%s}, args = %d/%s' % (fmt_str, len(lrec.args), lrec.args))
122 args = parser.parse_args()
126 print("Parse trace file '%s'..." % args.trace_file)
127 lrecs = logtrace_parse(args.trace_file)
136 logtrace_formated_print(lrecs, args.elf_file, args.no_errors)