/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | gitarchive.py | 30 def init_git_repo(path, no_create, bare, log): argument 46 log.info("Initializing a new Git repo at %s", path) 60 log.info("Committing data into to branch %s", branch) 103 def get_tags(repo, log, pattern=None, url=None): argument 140 url, log, keywords): argument 154 for existing_tag in get_tags(repo, log, url=url): 190 log.info("Creating tag %s", tag_name) 202 log.info("Pushing data to remote") 208 def get_test_runs(log, repo, tag_name, **kwargs): argument 220 tags = get_tags(repo, log, pattern=tag_pattern) [all …]
|
/openbmc/linux/fs/ |
H A D | fsopen.c | 28 struct fc_log *log = fc->log.log; in fscontext_read() local 39 if (log->head == log->tail) { in fscontext_read() 44 index = log->tail & (logsize - 1); in fscontext_read() 45 p = log->buffer[index]; in fscontext_read() 47 log->buffer[index] = NULL; in fscontext_read() 48 log->need_free &= ~(1 << index); in fscontext_read() 49 log->tail++; in fscontext_read() 100 fc->log.log = kzalloc(sizeof(*fc->log.log), GFP_KERNEL); in fscontext_alloc_log() 101 if (!fc->log.log) in fscontext_alloc_log() 103 refcount_set(&fc->log.log->usage, 1); in fscontext_alloc_log() [all …]
|
H A D | fs_context.c | 410 if (fc->log.log) in vfs_dup_fs_context() 411 refcount_inc(&fc->log.log->usage); in vfs_dup_fs_context() 442 if (!log) { in logfc() 467 if ((u8)(log->head - log->tail) == logsize) { in logfc() 471 log->tail++; in logfc() 479 log->head++; in logfc() 490 struct fc_log *log = fc->log.log; in put_fc_log() local 493 if (log) { in put_fc_log() 495 fc->log.log = NULL; in put_fc_log() 498 kfree(log->buffer[i]); in put_fc_log() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-vf-aware.sh | 10 log "No usable VFs found. Skipping EEH unaware VF test" 14 log "Enabled VFs: $vf_list" 19 log "Testing $vf" 22 log "Driver for $vf doesn't support error recovery, skipping" 28 log "Breaking $vf..." 30 log "$vf failed to recover"
|
H A D | eeh-vf-unaware.sh | 10 log "No usable VFs found. Skipping EEH unaware VF test" 14 log "Enabled VFs: $vf_list" 18 log "Testing $vf" 21 log "Driver for $vf supports error recovery. Unbinding..." 25 log "Breaking $vf..." 27 log "$vf failed to recover"
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 280 | 38 iotests.log('=== Launch VM ===') 47 iotests.log('\n=== Migrate to file ===') 53 iotests.log('\nVM is now stopped:') 54 iotests.log(vm.qmp('query-migrate')['return']['status']) 57 iotests.log('\n=== Create a snapshot of the disk image ===') 77 iotests.log('\n=== Resume the VM and simulate a write request ===') 79 iotests.log(vm.hmp_qemu_io('-d vda/virtio-backend', 'write 4k 4k')) 81 iotests.log('\n=== Commit it to the backing file ===')
|
H A D | 262 | 59 iotests.log('Launching destination VM...') 66 iotests.log('Launching source VM...') 72 iotests.log('Starting migration to B...') 73 iotests.log(vm_a.qmp('migrate', uri='exec:cat >%s' % (fifo))) 80 iotests.log(vm_a.qmp('query-migrate')['return']['status']) 81 iotests.log(vm_b.qmp('query-migrate')['return']['status']) 83 iotests.log(vm_a.qmp('query-status')) 84 iotests.log(vm_b.qmp('query-status'))
|
H A D | 277 | 25 from iotests import file_path, log 51 log('NBD server: started') 53 log('NBD server: ' + line.rstrip()) 59 log('NBD client: QEMU-IO write') 75 log('NBD {}: EXIT SIGNAL {}\n'.format(connector, proc.returncode)) 76 log(outs) 79 log('NBD {}: {}'.format(connector, msg[0])) 83 log('NBD {}: ERROR timeout expired'.format(connector))
|
H A D | 260 | 23 from iotests import qemu_img_create, file_path, log, filter_qmp_event 39 log('{}: name={} dirty-clusters={}'.format(msg, bitmap['name'], 42 log(msg + ': not found') 47 log("\nTestcase {}persistent {} restart\n".format( 66 log("... Restart ...") 75 log(filter_qmp_event(ev)) 78 log(vm.get_log()) 83 log(filter_qmp_event(ev))
|
/openbmc/linux/drivers/md/ |
H A D | dm-log-userspace-base.c | 321 log->context = lc; in userspace_ctr() 329 struct log_c *lc = log->context; in userspace_dtr() 354 struct log_c *lc = log->context; in userspace_presuspend() 365 struct log_c *lc = log->context; in userspace_postsuspend() 382 struct log_c *lc = log->context; in userspace_resume() 393 struct log_c *lc = log->context; in userspace_get_region_size() 412 struct log_c *lc = log->context; in userspace_is_clean() 440 struct log_c *lc = log->context; in userspace_in_sync() 565 struct log_c *lc = log->context; in userspace_flush() 650 struct log_c *lc = log->context; in userspace_mark_region() [all …]
|
/openbmc/webui-vue/src/views/Overview/ |
H A D | OverviewEvents.vue | 49 (log) => 50 log.severity === 'Critical' && log.filterByStatus === 'Unresolved', 52 .map((log) => { 53 return log; 59 (log) => 60 log.severity === 'Warning' && log.filterByStatus === 'Unresolved', 62 .map((log) => { 63 return log;
|
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/ |
H A D | log_json_unittest.cpp | 37 "log":{ in TEST() 63 "log":{ in TEST() 89 "log":{ in TEST() 109 "log":{ in TEST() 130 "log":{ in TEST() 146 "log":{ in TEST() 163 "log":{ in TEST() 178 "log":{ in TEST() 193 "log":{ in TEST() 219 "log":{ in TEST() [all …]
|
/openbmc/u-boot/test/py/tests/test_fs/ |
H A D | test_basic.py | 23 with u_boot_console.log.section('Test Case 1a - ls'): 31 with u_boot_console.log.section('Test Case 1b - ls (invalid dir)'): 45 with u_boot_console.log.section('Test Case 2a - size (small)'): 55 with u_boot_console.log.section('Test Case 2b - size (/../<file>)'): 68 with u_boot_console.log.section('Test Case 3 - size (large)'): 83 with u_boot_console.log.section('Test Case 4 - load (small)'): 102 with u_boot_console.log.section('Test Case 5 - load (first 1MB)'): 121 with u_boot_console.log.section('Test Case 6 - load (last 1MB)'): 222 with u_boot_console.log.section('Test Case 11 - write'): 246 with u_boot_console.log.section('Test Case 12 - write (".")'): [all …]
|
/openbmc/linux/drivers/nvme/host/ |
H A D | hwmon.c | 15 struct nvme_smart_log *log; member 63 NVME_CSI_NVM, data->log, sizeof(*data->log), 0); in nvme_hwmon_get_smart_log() 70 struct nvme_smart_log *log = data->log; in nvme_hwmon_read() local 98 temp = get_unaligned_le16(log->temperature); in nvme_hwmon_read() 100 temp = le16_to_cpu(log->temp_sensor[channel - 1]); in nvme_hwmon_read() 166 (channel && data->log->temp_sensor[channel - 1] && in nvme_hwmon_is_visible() 181 if (!channel || data->log->temp_sensor[channel - 1]) in nvme_hwmon_is_visible() 237 data->log = kzalloc(sizeof(*data->log), GFP_KERNEL); in nvme_hwmon_init() 238 if (!data->log) { in nvme_hwmon_init() 264 kfree(data->log); in nvme_hwmon_init() [all …]
|
/openbmc/intel-ipmi-oem/src/ |
H A D | smbiosmdrv2handler.cpp | 80 phosphor::logging::log<phosphor::logging::level::ERR>( in sdplusMdrv2GetProperty() 106 phosphor::logging::log<phosphor::logging::level::ERR>( in syncDirCommonData() 114 phosphor::logging::log<phosphor::logging::level::ERR>( in syncDirCommonData() 132 phosphor::logging::log<phosphor::logging::level::ERR>( in findDataId() 152 phosphor::logging::log<phosphor::logging::level::ERR>( in findDataId() 167 phosphor::logging::log<phosphor::logging::level::ERR>( in getSessionHandle() 248 phosphor::logging::log<phosphor::logging::level::ERR>( in mdr2AgentStatus() 295 phosphor::logging::log<phosphor::logging::level::ERR>( in mdr2GetDir() 303 phosphor::logging::log<phosphor::logging::level::ERR>( in mdr2GetDir() 309 phosphor::logging::log<phosphor::logging::level::ERR>( in mdr2GetDir() [all …]
|
H A D | firmware-update.cpp | 410 phosphor::logging::log<phosphor::logging::level::INFO>( in activationTimerTimeout() 503 phosphor::logging::log<phosphor::logging::level::ERR>( in getFirmwareUpdateMode() 527 phosphor::logging::log<phosphor::logging::level::ERR>( in setFirmwareUpdateMode() 547 phosphor::logging::log<phosphor::logging::level::ERR>( in checkIPMBChannel() 677 phosphor::logging::log<phosphor::logging::level::INFO>( in transferImageFromFile() 723 phosphor::logging::log<phosphor::logging::level::INFO>( in transferImageFromUsb() 744 phosphor::logging::log<phosphor::logging::level::INFO>( in transferFirmwareFromUri() 1124 phosphor::logging::log<phosphor::logging::level::INFO>( in ipmiGetFwUpdateRandomNumber() 1166 phosphor::logging::log<phosphor::logging::level::INFO>( in ipmiSetFirmwareUpdateMode() 1248 phosphor::logging::log<phosphor::logging::level::INFO>( in ipmiExitFirmwareUpdateMode() [all …]
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | pdbg_utils.cpp | 32 log<level::ERR>( in getFsiTarget() 51 log<level::ERR>( in probeTarget() 59 log<level::ERR>( in probeTarget() 73 log<level::ERR>("getCFAM: fsi path or target not found"); in getCFAM() 87 log<level::ERR>( in getCFAM() 102 log<level::ERR>("putCFAM: fsi path or target not found"); in putCFAM() 116 log<level::ERR>( in putCFAM() 130 log<level::ERR>( in setDevtreeEnv() 145 log<level::ERR>( in setPdataInfoDBEnv()
|
/openbmc/phosphor-logging/lib/include/phosphor-logging/ |
H A D | lg2.hpp | 19 struct log struct 27 explicit log(const std::source_location& s, const char* msg, in log() argument 41 explicit log( in log() function 44 log(s, msg, std::forward<details::header_str_conversion_t<Ts&&>>(ts)...) in log() 48 log() = delete; 57 struct levelval : public log<level::levelval, Ts...> \ 59 using log<level::levelval, Ts...>::log; \
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | start_host.cpp | 52 log<level::INFO>("Setting SBE seeprom side to 0", in selectBootSeeprom() 62 log<level::INFO>("Setting SBE seeprom side to 1", in selectBootSeeprom() 74 log<level::ERR>( in selectBootSeeprom() 84 log<level::ERR>( in selectBootSeeprom() 124 log<level::ERR>("Get HW Keyword read from VINI Failed"); in setClkNETerminationSite() 134 log<level::ERR>( in setClkNETerminationSite() 164 log<level::ERR>( in setClkNETerminationSite() 209 log<level::ERR>( in createPELForHwIsolationSettingsErr() 262 log<level::ERR>(trace.c_str()); in allowHwIsolation() 275 log<level::ERR>(trace.c_str()); in allowHwIsolation() [all …]
|
H A D | enter_mpreboot.cpp | 67 log<level::INFO>( in sbeEnterMpReboot() 74 log<level::ERR>(std::format("EnterMPIPL failed({}) on proc({})", in sbeEnterMpReboot() 120 log<level::ERR>(std::format("captureFFDC: Exception({}) on proc({})", in sbeEnterMpReboot() 128 log<level::INFO>( in sbeEnterMpReboot() 146 log<level::INFO>("Starting memory preserving reboot"); in enterMpReboot() 151 log<level::ERR>("Could not read HWAS_STATE attribute"); in enterMpReboot() 162 log<level::ERR>("Fork failed while starting mp reboot"); in enterMpReboot() 179 log<level::ERR>("EnterMPReboot is not executed on any processors"); in enterMpReboot() 190 log<level::ERR>("Memory preserving reboot failed"); in enterMpReboot()
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | slog2.S | 37 | Step 1. Call slognd to obtain Y = log(X), the natural log of X. 40 | Step 2. Compute log_10(X) = log(X) * (1/log(10)). 52 | Step 1. Call sLogN to obtain Y = log(X), the natural log of X. 54 | Step 2. Compute log_10(X) = log(X) * (1/log(10)). 66 | Step 1. Call slognd to obtain Y = log(X), the natural log of X. 69 | Step 2. Compute log_10(X) = log(X) * (1/log(2)). 89 | Step 3. Call sLogN to obtain Y = log(X), the natural log of X. 91 | Step 4. Compute log_2(X) = log(X) * (1/log(2)). 122 bsr slognd | ...log(X), X denorm. 135 bsr slogn | ...log(X), X normal. [all …]
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | torture.sh | 226 echo " --- " $scriptname $args | tee -a $T/log 227 echo " --- Results directory: " $ds | tee -a $T/log 292 cat $T/$curflavor.out | tee -a $T/log 293 echo retcode=$retcode | tee -a $T/log 370 echo Success >> $amcdir/log 404 echo Success >> $rtfdir/log 582 echo " --- " Done `date` | tee -a $T/log 585 echo SUCCESSES: | tee -a $T/log 588 cat "$T/successes" | tee -a $T/log 592 echo FAILURES: | tee -a $T/log [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/ |
H A D | case.py | 66 def _compress_log(log): argument 67 logdata = log.encode("utf-8") if isinstance(log, str) else log 72 def ptest_rawlog(self, log): argument 75 self.extraresults["ptestresult.rawlogs"] = {"log" : self._compress_log(log)} 77 def ptest_section(self, section, duration = None, log = None, logfile = None, exitcode = None): argument 85 if log is not None: 86 sections[section]["log"] = self._compress_log(log)
|
/openbmc/openbmc/poky/scripts/ |
H A D | oe-build-perf-test | 36 log = logging.getLogger() variable 41 log.debug("Acquiring lock %s", os.path.abspath(lock_f.name)) 48 log.debug("Lock acquired") 60 log.error("Please run this script under BUILDDIR (%s)", build_dir) 65 log.error("bitbake command not found") 77 log.addHandler(handler) 110 log.debug("Writing globalres log to %s", filename) 156 log.setLevel(logging.DEBUG) 178 log.info("Testing Git revision branch:commit %s:%s (%s)", 193 log.handlers[0].setLevel(logging.CRITICAL) [all …]
|
/openbmc/u-boot/lib/ |
H A D | tpm-v2.c | 177 u8 *log; in tcg2_log_append_check() local 186 log = elog->log + elog->log_position; in tcg2_log_append_check() 240 log = (struct tcg_pcr_event *)elog->log; in tcg2_log_init() 243 memset(&log->digest, 0, sizeof(log->digest)); in tcg2_log_init() 292 u8 *log; in tcg2_replay_eventlog() local 297 log = elog->log + log_position; in tcg2_replay_eventlog() 386 log = (struct tcg_pcr_event *)elog->log; in tcg2_log_parse() 559 rc = tcg2_platform_get_log(dev, (void **)&log.log, &log.log_size); in tcg2_log_prepare_buffer() 579 memcpy(elog->log, log.log, log.log_position); in tcg2_log_prepare_buffer() 582 unmap_physmem(log.log, MAP_NOCACHE); in tcg2_log_prepare_buffer() [all …]
|