Home
last modified time | relevance | path

Searched refs:logfile (Results 1 – 25 of 159) sorted by relevance

1234567

/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS5.conf7 logfile = /var/log/obmc-console-compute_blade_1.log
11 logfile = /var/log/obmc-console-compute_blade_2.log
15 logfile = /var/log/obmc-console-compute_blade_3.log
19 logfile = /var/log/obmc-console-compute_blade_4.log
23 logfile = /var/log/obmc-console-compute_blade_5.log
27 logfile = /var/log/obmc-console-compute_blade_6.log
31 logfile = /var/log/obmc-console-compute_blade_7.log
35 logfile = /var/log/obmc-console-compute_blade_8.log
39 logfile = /var/log/obmc-console-compute_blade_9.log
43 logfile = /var/log/obmc-console-compute_blade_10.log
[all …]
/openbmc/qemu/util/
H A Dlog.c63 FILE *logfile = qatomic_read(&global_file); in qemu_log_separate() local
64 return logfile && logfile != stderr; in qemu_log_separate()
92 FILE *logfile; in qemu_log_trylock_with_err() local
94 logfile = thread_file; in qemu_log_trylock_with_err()
95 if (!logfile) { in qemu_log_trylock_with_err()
99 logfile = fopen(filename, "w"); in qemu_log_trylock_with_err()
100 if (!logfile) { in qemu_log_trylock_with_err()
106 thread_file = logfile; in qemu_log_trylock_with_err()
118 logfile = qatomic_rcu_read((void **)&global_file); in qemu_log_trylock_with_err()
119 if (!logfile) { in qemu_log_trylock_with_err()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/
H A Dcheck_build_completeness.py3 logfile = open(sys.argv[1]).read() variable
5 necessary_bits = logfile.find("The necessary bits to build these optional modules were not found")
6 to_find_bits = logfile.find("To find the necessary bits, look in setup.py in detect_modules() for t…
8 print("%s" %(logfile[necessary_bits:to_find_bits]))
10 failed_to_build = logfile.find("Failed to build these modules:")
12 failed_to_build_end = logfile.find("\n\n", failed_to_build)
13 print("%s" %(logfile[failed_to_build:failed_to_build_end]))
/openbmc/qemu/
H A Dcpu-target.c64 FILE *logfile = qemu_log_trylock(); in cpu_abort() local
65 if (logfile) { in cpu_abort()
66 fprintf(logfile, "qemu: fatal: "); in cpu_abort()
67 vfprintf(logfile, fmt, ap2); in cpu_abort()
68 fprintf(logfile, "\n"); in cpu_abort()
69 cpu_dump_state(cpu, logfile, CPU_DUMP_FPU | CPU_DUMP_CCOP); in cpu_abort()
70 qemu_log_unlock(logfile); in cpu_abort()
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dsshcontrol.py34 self.logfile = None
43 if self.logfile:
44 with open(self.logfile, "a") as f:
47 def _run(self, command, timeout=None, logfile=None): argument
48 self.logfile = logfile
90 def run(self, command, timeout=None, logfile=None): argument
92 self._run(command, timeout, logfile)
103 def __init__(self, ip, logfile=None, timeout=300, user='root', port=None): argument
107 self.logfile = logfile
121 if self.logfile:
[all …]
H A Dlogparser.py17 def parse(self, logfile): argument
38 with open(logfile, errors='replace') as f:
113 def parse(self, logfile): argument
129 with open(logfile, errors="replace") as f:
159 def parse(self, logfile): argument
166 with open(logfile, errors='replace') as f:
167 name = logfile
/openbmc/openbmc/poky/scripts/contrib/
H A Dtest_build_time.sh179 logfile="$logdir/timelog_$rev.log"
180 echo -n > $logfile
192 echo "Applied $patchrev" >> $logfile
204 …-o $timeoutfile -f "%e\nreal\t%E\nuser\t%Us\nsys\t%Ss\nmaxm\t%Mk" $runscript 2>&1 | tee -a $logfile
211 cat $timeoutfile | tee -a $logfile
216 echo "*** Build failed (exit code $exitstatus), skipping..." | tee -a $logfile
221 echo "Returning $ret" | tee -a $logfile
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0002-Fix-printf-format-errors.patch25 if (logfile != NULL && function==-1) {
26 - fprintf(logfile,buffer+1);
27 + fprintf(logfile, "%s", buffer+1);
28 fprintf(logfile,"\n\n");
29 fflush(logfile);
/openbmc/qemu/tests/unit/
H A Dtest-logging.c151 FILE *logfile; in test_logfile_lock() local
163 logfile = qemu_log_trylock(); in test_logfile_lock()
164 g_assert(logfile); in test_logfile_lock()
165 fprintf(logfile, "%s 1st write to file\n", __func__); in test_logfile_lock()
166 fflush(logfile); in test_logfile_lock()
173 fprintf(logfile, "%s 2nd write to file\n", __func__); in test_logfile_lock()
174 fflush(logfile); in test_logfile_lock()
175 qemu_log_unlock(logfile); in test_logfile_lock()
/openbmc/openbmc/poky/scripts/
H A Dpatchtest36 def getResult(patch, mergepatch, logfile=None): argument
86 if logfile:
87 with open(logfile, "a") as f:
98 if logfile:
99 with open(logfile, "a") as f:
111 if logfile:
112 with open(logfile, "a") as f:
155 def run(patch, logfile=None): argument
161 premerge_resultklass = getResult(patch, False, logfile)
165 postmerge_resultklass = getResult(patch, True, logfile)
/openbmc/openbmc/poky/meta/files/
H A Dext-sdk-prepare.py42 logfile = sys.argv[1]
50 with open(logfile, 'a') as logf:
61 print('ERROR: PR data import failed: error log written to %s' % logfile)
69 with open(logfile, 'a') as logf:
81 print('ERROR: SDK preparation failed: error log written to %s' % logfile)
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/console/obmc-console/fb-compute-multihost/
H A Dserver.ttyS6.conf8 logfile = /var/log/obmc-console-wf-bic6.log
13 logfile = /var/log/obmc-console-host6.log
18 logfile = /var/log/obmc-console-sd-bic6.log
H A Dserver.ttyS5.conf8 logfile = /var/log/obmc-console-wf-bic5.log
13 logfile = /var/log/obmc-console-host5.log
18 logfile = /var/log/obmc-console-sd-bic5.log
H A Dserver.ttyS1.conf8 logfile = /var/log/obmc-console-wf-bic2.log
13 logfile = /var/log/obmc-console-host2.log
18 logfile = /var/log/obmc-console-sd-bic2.log
H A Dserver.ttyS8.conf8 logfile = /var/log/obmc-console-wf-bic8.log
13 logfile = /var/log/obmc-console-host8.log
18 logfile = /var/log/obmc-console-sd-bic8.log
H A Dserver.ttyS0.conf8 logfile = /var/log/obmc-console-wf-bic1.log
13 logfile = /var/log/obmc-console-host1.log
18 logfile = /var/log/obmc-console-sd-bic1.log
H A Dserver.ttyS2.conf8 logfile = /var/log/obmc-console-wf-bic3.log
13 logfile = /var/log/obmc-console-host3.log
18 logfile = /var/log/obmc-console-sd-bic3.log
H A Dserver.ttyS7.conf8 logfile = /var/log/obmc-console-wf-bic7.log
13 logfile = /var/log/obmc-console-host7.log
18 logfile = /var/log/obmc-console-sd-bic7.log
H A Dserver.ttyS3.conf8 logfile = /var/log/obmc-console-wf-bic4.log
13 logfile = /var/log/obmc-console-host4.log
18 logfile = /var/log/obmc-console-sd-bic4.log
/openbmc/qemu/target/hppa/
H A Dsys_helper.c98 FILE *logfile = qemu_log_trylock(); in HELPER() local
99 if (logfile) { in HELPER()
102 fprintf(logfile, "RFI: cpu %d\n", cs->cpu_index); in HELPER()
103 hppa_cpu_dump_state(cs, logfile, 0); in HELPER()
104 qemu_log_unlock(logfile); in HELPER()
H A Dint_helper.c251 FILE *logfile = qemu_log_trylock(); in hppa_cpu_do_interrupt() local
252 if (logfile) { in hppa_cpu_do_interrupt()
259 fprintf(logfile, "INT: cpu %d %s\n", cs->cpu_index, name); in hppa_cpu_do_interrupt()
261 fprintf(logfile, "INT: cpu %d unknown %d\n", cs->cpu_index, i); in hppa_cpu_do_interrupt()
263 hppa_cpu_dump_state(cs, logfile, 0); in hppa_cpu_do_interrupt()
264 qemu_log_unlock(logfile); in hppa_cpu_do_interrupt()
/openbmc/qemu/accel/tcg/
H A Dtranslate-all.c401 FILE *logfile = qemu_log_trylock(); in tb_gen_code() local
402 if (logfile) { in tb_gen_code()
419 fprintf(logfile, "OUT: [size=%d]\n", gen_code_size); in tb_gen_code()
420 fprintf(logfile, in tb_gen_code()
424 disas(logfile, tb->tc.ptr, chunk_start); in tb_gen_code()
434 fprintf(logfile, " -- guest addr 0x%016" PRIx64 "\n", in tb_gen_code()
436 disas(logfile, tb->tc.ptr + chunk_start, in tb_gen_code()
444 fprintf(logfile, " -- tb slow paths + alignment\n"); in tb_gen_code()
445 disas(logfile, tb->tc.ptr + chunk_start, in tb_gen_code()
452 fprintf(logfile, " data: [size=%d]\n", data_size); in tb_gen_code()
[all …]
/openbmc/u-boot/test/py/
H A Dmultiplexed_log.py21 def __init__(self, logfile, name, chained_file): argument
34 self.logfile = logfile
65 self.logfile.write(self, data, implicit)
79 self.logfile.flush()
88 def __init__(self, logfile, name, chained_file): argument
101 self.logfile = logfile
133 self.logfile.write(self, msg)
164 self.logfile.write(self, output)
167 self.logfile.timestamp()
/openbmc/qemu/python/qemu/qmp/
H A Dqmp_shell.py183 logfile: Optional[str] = None):
193 self.logfile = None
195 if logfile is not None:
196 self.logfile = open(logfile, "w", encoding='utf-8')
365 if self.logfile is not None:
367 self._print(cmd, fh=self.logfile)
436 logfile: Optional[str] = None):
437 super().__init__(address, pretty, verbose, server, logfile)
550 with shell_class(address, args.pretty, args.verbose, args.logfile) as qemu:
601 True, args.logfile) as qemu:
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dbuild.py66 def __init__(self, t, fn, logfile, d): argument
73 self.logfile = logfile
93 def __init__(self, t, fn, logfile, taskflags, d): argument
94 super(TaskStarted, self).__init__(t, fn, logfile, d)
103 def __init__(self, task, fn, logfile, metadata, errprinted = False): argument
105 super(TaskFailed, self).__init__(task, fn, logfile, metadata)
389 def create_progress_handler(func, progress, logfile, d): argument
392 return bb.progress.BasicProgressHandler(d, outfile=logfile)
395 return bb.progress.BasicProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
398 return bb.progress.OutOfProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
[all …]

1234567