Home
last modified time | relevance | path

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

12345678910>>...17

/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;
48 static std::atomic<Log *> g_error_log = nullptr;
50 void Log::ForEachCategory( in ForEachCategory()
51 const Log::ChannelMap::value_type &entry, in ForEachCategory()
59 void Log::ListCategories(llvm::raw_ostream &stream, in ListCategories()
68 Log::MaskType Log::GetFlags(llvm::raw_ostream &stream, in GetFlags()
72 Log::MaskType flags = 0; in GetFlags()
75 flags |= std::numeric_limits<Log::MaskType>::max(); in GetFlags()
83 [&](const Log::Category &c) { in GetFlags()
99 void Log::Enable(const std::shared_ptr<LogHandler> &handler_sp, in Enable()
[all …]
H A DLLDBLog.cpp16 static constexpr Log::Category g_categories[] = {
72 static Log::Channel g_log_channel(g_categories,
80 template <> Log::Channel &lldb_private::LogChannelFor<LLDBLog>() { in LogChannelFor()
85 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.cpp194 MLModelRunner *Runner, Logger *Log) in DevelopmentModePriorityAdvisor() argument
195 : MLPriorityAdvisor(MF, RA, Indexes, Runner), Log(Log) {} in DevelopmentModePriorityAdvisor()
199 Logger *const Log; member in llvm::DevelopmentModePriorityAdvisor
239 Log = std::make_unique<Logger>(std::move(OS), LFS, Reward, in DevelopmentModePriorityAdvisorProvider()
245 if (!Log || !Log->hasAnyObservationForContext(MF.getName())) in logRewardIfNeeded()
251 if (Log->currentContext() != MF.getName()) { in logRewardIfNeeded()
255 if (Log->hasObservationInProgress()) in logRewardIfNeeded()
256 Log->logReward<float>(GetReward()); in logRewardIfNeeded()
264 if (Log) { in getAdvisor()
265 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.cpp166 void DiffConsumer::logf(const LogBuilder &Log) { in logf() argument
172 StringRef format = Log.getFormat(); in logf()
185 case 'l': printValue(Log.getArgument(arg++), true); break; in logf()
186 case 'r': printValue(Log.getArgument(arg++), false); break; in logf()
196 void DiffConsumer::logd(const DiffLogBuilder &Log) { in logd() argument
199 for (unsigned I = 0, E = Log.getNumLines(); I != E; ++I) { in logd()
201 switch (Log.getLineKind(I)) { in logd()
204 Log.getLeft(I)->print(dbgs()); in logd()
210 Log.getLeft(I)->print(LeftColor); in logd()
217 Log.getRight(I)->print(RightColor); 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/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanSingleThreadTimeout.cpp86 Log *log = GetLog(LLDBLog::Step); in PushNewWithTimeout()
115 Log *log = GetLog(LLDBLog::Step); in ResumeFromPrevState()
124 Log *log = GetLog(LLDBLog::Step); in WillStop()
133 Log *log = GetLog(LLDBLog::Step); in DidPop()
147 Log *log = GetLog(LLDBLog::Step); in DoPlanExplainsStop()
165 Log *log = GetLog(LLDBLog::Step); in TimeoutThreadFunc()
185 Log *log = GetLog(LLDBLog::Step); in MischiefManaged()
211 Log *log = GetLog(LLDBLog::Step); in IsTimeoutAsyncInterrupt()
225 Log *log = GetLog(LLDBLog::Step); in HandleEvent()
248 Log *log = GetLog(LLDBLog::Step); in HandleTimeout()
H A DScriptedThreadPlan.cpp93 Log *log = GetLog(LLDBLog::Thread); in ShouldStop()
111 Log *log = GetLog(LLDBLog::Thread); in IsPlanStale()
129 Log *log = GetLog(LLDBLog::Thread); in DoPlanExplainsStop()
148 Log *log = GetLog(LLDBLog::Thread); in MischiefManaged()
166 Log *log = GetLog(LLDBLog::Thread); in GetPlanRunState()
177 Log *log = GetLog(LLDBLog::Thread); in GetDescription()
207 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()
203 Log *log = GetLog(LLDBLog::Thread); in ValidatePlan()
219 Log *log = GetLog(LLDBLog::Thread); in ShouldStop()
235 Log *log = GetLog(LLDBLog::Thread); in WillStop()
251 Log *log = GetLog(LLDBLog::Thread); in DoPlanExplainsStop()
269 Log *log = GetLog(LLDBLog::Thread); in MischiefManaged()
286 Log *log = GetLog(LLDBLog::Thread); in GetPlanRunState()
/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()
372 Log(LOG_INFO); in Process()
418 Log(LOG_INFO); in ProcessPoolEvent()
429 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.cpp18 Log *log = GetLog(LLDBLog::Breakpoints); in NumSupportedHardwareBreakpoints()
35 Log *log = GetLog(LLDBLog::Breakpoints); in SetHardwareBreakpoint()
88 Log *log = GetLog(LLDBLog::Breakpoints); in ClearHardwareBreakpoint()
129 Log *log = GetLog(LLDBLog::Breakpoints); in GetHardwareBreakHitIndex()
149 Log *log = GetLog(LLDBLog::Breakpoints); in ClearAllHardwareBreakpoints()
188 Log *log = GetLog(LLDBLog::Watchpoints); in NumSupportedHardwareWatchpoints()
201 Log *log = GetLog(LLDBLog::Watchpoints); in SetHardwareWatchpoint()
277 Log *log = GetLog(LLDBLog::Watchpoints); in ClearHardwareWatchpoint()
350 Log *log = GetLog(LLDBLog::Watchpoints); in GetWatchpointHitIndex()
380 Log *log = GetLog(LLDBLog::Watchpoints); in WatchpointIsEnabled()
[all …]
/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()
333 Log *log = GetLog(); in FindGlobalVariables()
362 Log *log = GetLog(); in FindFunctions()
395 Log *log = GetLog(); in FindFunctions()
426 Log *log = GetLog(); in GetMangledNamesForFunction()
[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;
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp109 Log(*InitEnv.getDataflowAnalysisContext().getOptions().Log), in AnalysisContext()
111 Log.beginAnalysis(ACFG, Analysis); in AnalysisContext()
113 ~AnalysisContext() { Log.endAnalysis(); } in ~AnalysisContext()
121 Logger &Log; member
430 AC.Log.enterBlock(Block, PostAnalysisCallbacks.Before != nullptr ||
433 AC.Log.recordState(State);
439 AC.Log.enterElement(Element);
457 AC.Log.recordState(State);
481 AC.Log.recordState(State);
549 AC.Log.blockConverged(); in runTypeErasedDataflowAnalysis()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInteractiveModelRunner.h50 Log->switchContext(Name); in switchContext()
51 Log->flush(); in switchContext()
66 std::unique_ptr<Logger> Log; variable

12345678910>>...17