Home
last modified time | relevance | path

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

/openbmc/openbmc/poky/meta/lib/oeqa/core/
H A Dcase.py67 logdata = log.encode("utf-8") if isinstance(log, str) else log
68 logdata = zlib.compress(logdata)
69 logdata = base64.b64encode(logdata).decode("utf-8")
70 return {"compressed" : logdata}
/openbmc/openbmc/poky/scripts/lib/resulttool/
H A Dlog.py11 logdata = resultutils.ptestresult_get_log(result, ptest)
12 if logdata is not None:
13 print(logdata)
39 logdata = resultutils.generic_get_log(sectname, r, name)
40 if logdata is not None:
54 f.write(logdata)
H A Dresultutils.py126 def decode_log(logdata): argument
127 if isinstance(logdata, str):
128 return logdata
129 elif isinstance(logdata, dict):
130 if "compressed" in logdata:
131 data = logdata.get("compressed")
/openbmc/linux/arch/powerpc/kernel/
H A Drtasd.c62 static unsigned char logdata[RTAS_ERROR_LOG_MAX]; variable
396 memset(logdata, 0, rtas_error_log_max); in do_event_scan()
399 __pa(logdata), rtas_error_log_max); in do_event_scan()
406 if (rtas_error_type((struct rtas_error_log *)logdata) != in do_event_scan()
408 pSeries_log_error(logdata, ERR_TYPE_RTAS_LOG, in do_event_scan()
410 handle_rtas_event((struct rtas_error_log *)logdata); in do_event_scan()
464 memset(logdata, 0, rtas_error_log_max); in retrieve_nvram_error_log()
465 rc = nvram_read_error_log(logdata, rtas_error_log_max, in retrieve_nvram_error_log()
471 pSeries_log_error(logdata, err_type | ERR_FLAG_BOOT, 0); in retrieve_nvram_error_log()
/openbmc/openbmc/poky/meta/classes/
H A Dreport-error.bbclass89 logdata = logFile.read()
94 logdata = logdata.replace(s, d)
96 logdata = "Unable to read log file"
98 logdata = "No Log"
105 if len(logdata) > max_logdata_size:
106 logdata = "..." + logdata[-max_logdata_size:]
107 taskdata['log'] = logdata
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcooker.py55 self.logdata = []
58 self.logdata.append(record.getMessage())
71 self.assertEqual(log_handler.logdata, expected)