Home
last modified time | relevance | path

Searched refs:Log (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DLLDBLog.h18 enum class LLDBLog : Log::MaskType {
19 API = Log::ChannelFlag<0>,
20 AST = Log::ChannelFlag<1>,
21 Breakpoints = Log::ChannelFlag<2>,
22 Commands = Log::ChannelFlag<3>,
23 Communication = Log::ChannelFlag<4>,
24 Connection = Log::ChannelFlag<5>,
25 DataFormatters = Log::ChannelFlag<6>,
26 Demangle = Log::ChannelFlag<7>,
27 DynamicLoader = Log::ChannelFlag<8>,
[all …]
H A DLog.h132 class Log final {
157 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Category()
164 std::atomic<Log *> log_ptr;
165 friend class Log; variable
172 constexpr Channel(llvm::ArrayRef<Log::Category> categories, in Channel()
177 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Channel()
184 Log *GetLog(MaskType mask) { in GetLog()
185 Log *log = log_ptr.load(std::memory_order_relaxed); in GetLog()
231 Log(Channel &channel) : m_channel(channel) {} in Log() function
232 ~Log() = default;
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemoteLog.h18 enum class GDBRLog : Log::MaskType {
19 Async = Log::ChannelFlag<0>,
20 Breakpoints = Log::ChannelFlag<1>,
21 Comm = Log::ChannelFlag<2>,
22 Memory = Log::ChannelFlag<3>, // Log memory reads/writes calls
23 MemoryDataLong = Log::ChannelFlag<4>, // Log all memory reads/writes bytes
24 MemoryDataShort = Log::ChannelFlag<5>, // Log short memory reads/writes bytes
25 Packets = Log::ChannelFlag<6>,
26 Process = Log::ChannelFlag<7>,
27 Step = Log::ChannelFlag<8>,
[all …]
H A DProcessGDBRemoteLog.cpp17 static constexpr Log::Category g_categories[] = {
36 static Log::Channel g_channel(g_categories, GDBRLog::Packets);
38 template <> Log::Channel &lldb_private::LogChannelFor<GDBRLog>() { in LogChannelFor()
45 Log::Register("gdb-remote", g_channel); in Initialize()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DLog.cpp44 llvm::ManagedStatic<Log::ChannelMap> Log::g_channel_map;
46 void Log::ForEachCategory( in ForEachCategory()
47 const Log::ChannelMap::value_type &entry, in ForEachCategory()
55 void Log::ListCategories(llvm::raw_ostream &stream, in ListCategories()
64 Log::MaskType Log::GetFlags(llvm::raw_ostream &stream, in GetFlags()
68 Log::MaskType flags = 0; in GetFlags()
71 flags |= std::numeric_limits<Log::MaskType>::max(); in GetFlags()
79 [&](const Log::Category &c) { in GetFlags()
95 void Log::Enable(const std::shared_ptr<LogHandler> &handler_sp, in Enable()
96 uint32_t options, Log::MaskType flags) { in Enable()
[all …]
H A DLLDBLog.cpp16 static constexpr Log::Category g_categories[] = {
69 static Log::Channel g_log_channel(g_categories,
77 template <> Log::Channel &lldb_private::LogChannelFor<LLDBLog>() { in LogChannelFor()
82 Log::Register("lldb", g_log_channel); in InitializeLldbChannel()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/
H A DProcessPOSIXLog.h18 enum class POSIXLog : Log::MaskType {
19 Breakpoints = Log::ChannelFlag<0>,
20 Memory = Log::ChannelFlag<1>,
21 Process = Log::ChannelFlag<2>,
22 Ptrace = Log::ChannelFlag<3>,
23 Registers = Log::ChannelFlag<4>,
24 Thread = Log::ChannelFlag<5>,
25 Watchpoints = Log::ChannelFlag<6>,
26 Trace = Log::ChannelFlag<7>,
36 template <> Log::Channel &LogChannelFor<POSIXLog>();
H A DProcessPOSIXLog.cpp15 static constexpr Log::Category g_categories[] = {
25 static Log::Channel g_channel(g_categories, POSIXLog::Process);
27 template <> Log::Channel &lldb_private::LogChannelFor<POSIXLog>() { in LogChannelFor()
33 llvm::call_once(g_once_flag, []() { Log::Register("posix", g_channel); }); in Initialize()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DLogChannelDWARF.h17 enum class DWARFLog : Log::MaskType {
18 DebugInfo = Log::ChannelFlag<0>,
19 DebugLine = Log::ChannelFlag<1>,
20 DebugMap = Log::ChannelFlag<2>,
21 Lookups = Log::ChannelFlag<3>,
22 TypeCompletion = Log::ChannelFlag<4>,
23 SplitDwarf = Log::ChannelFlag<5>,
34 template <> Log::Channel &LogChannelFor<DWARFLog>();
H A DLogChannelDWARF.cpp13 static constexpr Log::Category g_categories[] = {
28 static Log::Channel g_channel(g_categories, DWARFLog::DebugInfo);
30 template <> Log::Channel &lldb_private::LogChannelFor<DWARFLog>() { in LogChannelFor()
35 Log::Register("dwarf", g_channel); in Initialize()
38 void LogChannelDWARF::Terminate() { Log::Unregister("dwarf"); } in Terminate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMLRegallocPriorityAdvisor.cpp
H A DMLRegAllocPriorityAdvisor.cpp181 MLModelRunner *Runner, Logger *Log) in DevelopmentModePriorityAdvisor() argument
182 : MLPriorityAdvisor(MF, RA, Indexes, Runner), Log(Log) {} in DevelopmentModePriorityAdvisor()
186 Logger *const Log; member in llvm::DevelopmentModePriorityAdvisor
201 if (!Log || !Log->hasAnyObservationForContext(MF.getName())) in logRewardIfNeeded()
207 if (Log->currentContext() != MF.getName()) { in logRewardIfNeeded()
211 if (Log->hasObservationInProgress()) in logRewardIfNeeded()
212 Log->logReward<float>(GetReward()); in logRewardIfNeeded()
255 Log = std::make_unique<Logger>(std::move(OS), LFS, Reward, in doInitialization()
264 if (Log) { in getAdvisor()
265 Log->switchContext(MF.getName()); in getAdvisor()
[all …]
H A DMLRegallocEvictAdvisor.cpp
H A DMLRegAllocEvictAdvisor.cpp436 const MachineLoopInfo &Loops, Logger *Log) in DevelopmentModeEvictAdvisor() argument
437 : MLEvictAdvisor(MF, RA, Runner, MBFI, Loops), Log(Log) {} in DevelopmentModeEvictAdvisor()
445 Logger *const Log; member in __anonb6cddc090111::DevelopmentModeEvictAdvisor
480 if (!Log || !Log->hasAnyObservationForContext(MF.getName())) in logRewardIfNeeded()
486 if (Log->currentContext() != MF.getName()) { in logRewardIfNeeded()
490 if (Log->hasObservationInProgress()) in logRewardIfNeeded()
491 Log->logReward<float>(GetReward()); in logRewardIfNeeded()
536 Log = std::make_unique<Logger>(std::move(OS), LFS, Reward, in doInitialization()
545 if (Log) in getAdvisor()
546 Log->switchContext(MF.getName()); in getAdvisor()
[all …]
/freebsd/usr.bin/patch/tests/
H A DPR74127.in2 if {![info exists Log(compressProg)]} {
3 set Log(compressProg) gzip
7 if {![info exists Log(flushInterval)]} {
8 set Log(flushInterval) [expr {60 * 1000}]
12 if {![info exist Log(debug_log)]} {
13 set Log(debug_log) 0
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDiffConsumer.cpp164 void DiffConsumer::logf(const LogBuilder &Log) { in logf() argument
170 StringRef format = Log.getFormat(); in logf()
183 case 'l': printValue(Log.getArgument(arg++), true); break; in logf()
184 case 'r': printValue(Log.getArgument(arg++), false); break; in logf()
194 void DiffConsumer::logd(const DiffLogBuilder &Log) { in logd() argument
197 for (unsigned I = 0, E = Log.getNumLines(); I != E; ++I) { in logd()
199 switch (Log.getLineKind(I)) { in logd()
202 Log.getLeft(I)->print(dbgs()); dbgs() << '\n'; in logd()
207 Log.getLeft(I)->print(dbgs()); dbgs() << '\n'; in logd()
212 Log.getRight(I)->print(dbgs()); dbgs() << '\n'; in logd()
H A DDiffConsumer.h46 virtual void logf(const LogBuilder &Log) = 0;
49 virtual void logd(const DiffLogBuilder &Log) = 0;
86 void logf(const LogBuilder &Log) override;
87 void logd(const DiffLogBuilder &Log) override;
/freebsd/cddl/usr.sbin/zfsd/
H A Dzfsd_event.cc116 Log(LOG_INFO); in Process()
219 exp.Log(); in ReadLabel()
252 exp.Log(); in OnlineByLabel()
310 Log(LOG_INFO); in Process()
323 Log(LOG_INFO); in Process()
339 Log(LOG_INFO); in Process()
351 Log(LOG_INFO); in Process()
365 Log(LOG_INFO); in Process()
411 Log(LOG_INFO); in ProcessPoolEvent()
422 Log(LOG_INFO); in ProcessPoolEvent()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInteractiveModelRunner.cpp43 Log = std::make_unique<Logger>(std::move(OutStream), InputSpecs, Advice, in InteractiveModelRunner()
50 Log->flush(); in InteractiveModelRunner()
59 Log->startObservation(); in evaluateUntyped()
61 Log->logTensorValue(I, reinterpret_cast<const char *>(getTensorUntyped(I))); in evaluateUntyped()
62 Log->endObservation(); in evaluateUntyped()
63 Log->flush(); in evaluateUntyped()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DNativeRegisterContextDBReg_arm64.cpp33 Log *log = GetLog(LLDBLog::Breakpoints); in NumSupportedHardwareBreakpoints()
47 Log *log = GetLog(LLDBLog::Breakpoints); in SetHardwareBreakpoint()
108 Log *log = GetLog(LLDBLog::Breakpoints); in ClearHardwareBreakpoint()
148 Log *log = GetLog(LLDBLog::Breakpoints); in GetHardwareBreakHitIndex()
168 Log *log = GetLog(LLDBLog::Breakpoints); in ClearAllHardwareBreakpoints()
210 Log *log = GetLog(LLDBLog::Watchpoints); in NumSupportedHardwareWatchpoints()
223 Log *log = GetLog(LLDBLog::Watchpoints); in SetHardwareWatchpoint()
316 Log *log = GetLog(LLDBLog::Watchpoints); in ClearHardwareWatchpoint()
388 Log *log = GetLog(LLDBLog::Watchpoints); in GetWatchpointSize()
406 Log *log = GetLog(LLDBLog::Watchpoints); in WatchpointIsEnabled()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanPython.cpp96 Log *log = GetLog(LLDBLog::Thread); in ShouldStop()
114 Log *log = GetLog(LLDBLog::Thread); in IsPlanStale()
132 Log *log = GetLog(LLDBLog::Thread); in DoPlanExplainsStop()
151 Log *log = GetLog(LLDBLog::Thread); in MischiefManaged()
169 Log *log = GetLog(LLDBLog::Thread); in GetPlanRunState()
179 Log *log = GetLog(LLDBLog::Thread); in GetDescription()
208 Log *log = GetLog(LLDBLog::Thread); in WillStop()
H A DThreadPlan.cpp80 Log *log = GetLog(LLDBLog::Step); in ShouldReportStop()
120 Log *log = GetLog(LLDBLog::Step); in WillResume()
202 Log *log = GetLog(LLDBLog::Thread); in ValidatePlan()
218 Log *log = GetLog(LLDBLog::Thread); in ShouldStop()
234 Log *log = GetLog(LLDBLog::Thread); in WillStop()
250 Log *log = GetLog(LLDBLog::Thread); in DoPlanExplainsStop()
268 Log *log = GetLog(LLDBLog::Thread); in MischiefManaged()
285 Log *log = GetLog(LLDBLog::Thread); in GetPlanRunState()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DSymbolFileOnDemand.cpp49 Log *log = GetLog(); in ParseLanguage()
63 Log *log = GetLog(); in ParseXcodeSDK()
128 Log *log = GetLog(); in ParseIsOptimized()
154 Log *log = GetLog(); in ParseImportedModules()
189 Log *log = GetLog(); in ResolveTypeUID()
223 Log *log = GetLog(); in GetDeclForUID()
332 Log *log = GetLog(); in FindGlobalVariables()
361 Log *log = GetLog(); in FindFunctions()
394 Log *log = GetLog(); in FindFunctions()
425 Log *log = GetLog(); in GetMangledNamesForFunction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp95 Log(*InitEnv.getDataflowAnalysisContext().getOptions().Log), in AnalysisContext()
97 Log.beginAnalysis(ACFG, Analysis); in AnalysisContext()
99 ~AnalysisContext() { Log.endAnalysis(); } in ~AnalysisContext()
107 Logger &Log; member
415 AC.Log.enterBlock(Block, PostAnalysisCallbacks.Before != nullptr ||
418 AC.Log.recordState(State);
424 AC.Log.enterElement(Element);
442 AC.Log.recordState(State);
466 AC.Log.recordState(State);
534 AC.Log.blockConverged(); in runTypeErasedDataflowAnalysis()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DRegisterFlags.h21 class Log; variable
36 void DumpToLog(Log *log) const;
52 void DumpToLog(Log *log) const;
99 void DumpToLog(Log *log) const;
168 void DumpToLog(Log *log) const;

12345678910>>...15