Home
last modified time | relevance | path

Searched refs:LOG_IF (Results 1 - 25 of 44) sorted by relevance

12

/arkcompiler/runtime_core/platforms/unix/libpandabase/
H A Dsignal.h34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed";
45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add()
50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete()
56 LOG_IF(ret == -1, FATAL, COMMON) << "sigismember failed"; in IsExist()
62 LOG_IF(::pthread_sigmask(SIG_BLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask failed"; in Block()
67 LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) == -1, FATAL, COMMON) << "pthread_sigmask failed"; in Unblock()
73 LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) == -1, FATAL, COMMON) << "sigwait failed"; in Wait()
79 LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) == -1, FATAL, COMMON) << "pthread_sigmask failed"; in GetCurrent()
H A Dthread.cpp115 LOG_IF(pthread_kill(pthread_handle, sig) != 0, FATAL, COMMON) << "pthread_kill failed"; in ThreadSendSignal()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dsignal.h34 LOG_IF(::sigemptyset(&sigset_) == -1, FATAL, COMMON) << "sigemptyset failed";
45 LOG_IF(::sigaddset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Add()
50 LOG_IF(::sigdelset(&sigset_, sig) == -1, FATAL, COMMON) << "sigaddset failed"; in Delete()
56 LOG_IF(ret == -1, FATAL, COMMON) << "sigismember failed"; in IsExist()
62 LOG_IF(::pthread_sigmask(SIG_BLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask failed"; in Block()
67 LOG_IF(::pthread_sigmask(SIG_UNBLOCK, &sigset_, nullptr) != 0, FATAL, COMMON) << "pthread_sigmask failed"; in Unblock()
73 LOG_IF(PANDA_FAILURE_RETRY(sigwait(&sigset_, &sig)) != 0, FATAL, COMMON) << "sigwait failed"; in Wait()
79 LOG_IF(::pthread_sigmask(SIG_SETMASK, nullptr, &out.sigset_) != 0, FATAL, COMMON) << "pthread_sigmask failed"; in GetCurrent()
H A Dmem.cpp136 LOG_IF(sz == -1, FATAL, RUNTIME) << "Can't get page size from OS"; in GetPageSizeFromOs()
152 LOG_IF(sz <= 0, FATAL, RUNTIME) << "Can't get cache line size from OS"; in GetCacheLineSizeFromOs()
259 LOG_IF((reinterpret_cast<uintptr_t>(mem) <= MMAP_FIXED_MAGIC_ADDR_FOR_SANITIZERS) && in MapRWAnonymousFixedRaw()
H A Dcpu_affinity.cpp236 LOG_IF(!success, DEBUG, COMMON) << "Couldn't get affinity for thread with tid = " in GetThreadAffinity()
256 LOG_IF(!success, DEBUG, COMMON) << "Couldn't set affinity with mask " << CpuSetToString(cpuset) in SetAffinityForThread()
H A Dthread.cpp160 LOG_IF(pthread_kill(pthreadHandle, sig) != 0, FATAL, COMMON) << "pthread_kill failed"; in ThreadSendSignal()
/arkcompiler/runtime_core/static_core/runtime/
H A Dmonitor_object_lock.cpp34 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in Wait()
41 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in TimedWait()
48 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::Notify() failed"; in Notify()
54 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::NotifyAll() failed"; in NotifyAll()
H A Dmark_word.h295 LOG_IF(GetState() != STATE_LIGHT_LOCKED, DEBUG, RUNTIME) << "Wrong State"; in GetThreadId()
301 LOG_IF(GetState() != STATE_LIGHT_LOCKED, DEBUG, RUNTIME) << "Wrong State"; in GetLockCount()
309 LOG_IF(GetState() != STATE_GC, DEBUG, RUNTIME) << "Wrong State"; in GetForwardingAddress()
320 LOG_IF(GetState() != STATE_HEAVY_LOCKED, DEBUG, RUNTIME) << "Wrong State"; in GetMonitorId()
384 LOG_IF(GetState() != STATE_GC, DEBUG, RUNTIME) << "Wrong State"; in GetForwardingAddressField()
H A Dthread.cpp483 LOG_IF(!(threadFrameStates_.empty() || threadFrameStates_.top() != NATIVE_CODE), FATAL, RUNTIME) in NativeCodeBegin()
497 LOG_IF(threadFrameStates_.empty(), FATAL, RUNTIME) << "stack should be not empty"; in NativeCodeEnd()
498 LOG_IF(threadFrameStates_.top() != NATIVE_CODE, FATAL, RUNTIME) << LogThreadStack(NATIVE_CODE); in NativeCodeEnd()
504 LOG_IF(HasClearStack(), FATAL, RUNTIME) << "stack should be not empty"; in IsInNativeCode()
513 LOG_IF(HasClearStack(), FATAL, RUNTIME) << "stack should be not empty"; in ManagedCodeBegin()
514 LOG_IF(threadFrameStates_.top() != NATIVE_CODE, FATAL, RUNTIME) << LogThreadStack(MANAGED_CODE); in ManagedCodeBegin()
520 LOG_IF(HasClearStack(), FATAL, RUNTIME) << "stack should be not empty"; in ManagedCodeEnd()
521 LOG_IF(threadFrameStates_.top() != MANAGED_CODE, FATAL, RUNTIME) << LogThreadStack(MANAGED_CODE); in ManagedCodeEnd()
530 LOG_IF(HasClearStack(), FATAL, RUNTIME) << "stack should be not empty"; in IsManagedCode()
629 LOG_IF((r in MTManagedThread()
[all...]
H A Dintrinsics.cpp378 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in ObjectWait()
384 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in ObjectTimedWait()
390 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in ObjectTimedWaitNanos()
396 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::Notify() failed"; in ObjectNotify()
402 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::NotifyAll() failed"; in ObjectNotifyAll()
H A Dmark_word.cpp25 LOG_IF(GetState() != STATE_HASHED, DEBUG, RUNTIME) << "Wrong State"; in GetHashConfigured()
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
H A Dthread_communicator.cpp38 LOG_IF(syscallResult != sizeof(SampleInfo), FATAL, PROFILER) in SendSample()
54 LOG_IF(syscallResult != sizeof(SampleInfo), FATAL, PROFILER) in ReadSample()
H A Dthread_communicator.h46 LOG_IF(PANDA_FAILURE_RETRY(::close(fd)) != 0, FATAL, PROFILER) << "Cannot close fd: " << fd; in ~ThreadCommunicator()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_coroutine.cpp100 LOG_IF(returnType.IsVoid(), DEBUG, COROUTINES) << "Coroutine " << GetName() << " has completed"; in RequestCompletion()
101 LOG_IF(returnType.IsPrimitive(), DEBUG, COROUTINES) in RequestCompletion()
104 LOG_IF(returnType.IsReference(), DEBUG, COROUTINES) in RequestCompletion()
/arkcompiler/runtime_core/libpandabase/os/
H A Dunique_fd.h89 LOG_IF(PANDA_FAILURE_RETRY(::close(fd)) != 0, FATAL, COMMON) << "Incorrect fd: " << fd; in DefaultCloser()
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dunique_fd.h89 LOG_IF(PANDA_FAILURE_RETRY(::close(fd)) != 0, FATAL, COMMON) << "Incorrect fd: " << fd; in DefaultCloser()
/arkcompiler/runtime_core/libpandabase/mem/
H A Darena_allocator.cpp99 LOG_IF(ret, DEBUG, ALLOC) << "\tallocate from stack buffer"; in Alloc()
124 LOG_IF(cur_size < new_size, FATAL, ALLOC) << "ArenaAllocator: resize to bigger size than we have. Do nothing"; in Resize()
H A Dbase_mem_stats.cpp115 LOG_IF(allocated_[index].load(std::memory_order_acquire) < freed_[index].load(std::memory_order_acquire), FATAL, GC) in GetFootprint()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
H A Darena_allocator.cpp94 LOG_IF(ret, DEBUG, ALLOC) << "\tallocate from stack buffer"; in Alloc()
119 LOG_IF(curSize < newSize, FATAL, ALLOC) << "ArenaAllocator: resize to bigger size than we have. Do nothing"; in Resize()
H A Dbase_mem_stats.cpp114 LOG_IF(allocated_[index].load(std::memory_order_acquire) < freed_[index].load(std::memory_order_acquire), FATAL, GC) in GetFootprint()
/arkcompiler/runtime_core/static_core/compiler/
H A Dcompiler_logger.h71 CompilerLogger::IsComponentEnabled(CompilerLoggerComponents::comp) && LOG_IF(cond, level, COMPILER) \
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
H A Dmem.cpp240 LOG_IF(lineSize == 0, FATAL, RUNTIME) << "Can't get cache line size from OS"; in GetCacheLineSizeFromOs()
253 LOG_IF(lineSize == 0, FATAL, RUNTIME) << "Can't get cache line size from OS"; in GetCacheLineSizeFromOs()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
H A Dupdate_remset_worker.cpp232 LOG_IF(!cards_.empty(), DEBUG, GC) << "Started process: " << cards_.size() << " cards"; in ProcessCommonCards()
246 LOG_IF(!cards_.empty(), DEBUG, GC) << "Processed " << cardsSize << " cards"; in ProcessCommonCards()
H A Dupdate_remset_thread.cpp49 LOG_IF(res != 0, ERROR, RUNTIME) << "Failed to set a name for the UpdateRemset thread"; in CreateWorkerImpl()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/
H A Dgc_worker.cpp76 LOG_IF(setGcThreadNameResult != 0, ERROR, RUNTIME) << "Failed to set a name for the gc thread"; in CreateAndStartWorker()

Completed in 11 milliseconds

12