Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DLLDBLog.h19 API = Log::ChannelFlag<0>,
20 AST = Log::ChannelFlag<1>,
22 Commands = Log::ChannelFlag<3>,
28 Events = Log::ChannelFlag<9>,
30 Host = Log::ChannelFlag<11>,
33 MMap = Log::ChannelFlag<14>,
35 Object = Log::ChannelFlag<16>,
36 OS = Log::ChannelFlag<17>,
40 State = Log::ChannelFlag<21>,
41 Step = Log::ChannelFlag<22>,
[all …]
H A DLog.h115 class Log final {
147 std::atomic<Log *> log_ptr;
148 friend class Log; variable
167 Log *GetLog(MaskType mask) { in GetLog()
214 Log(Channel &channel) : m_channel(channel) {} in Log() function
215 ~Log() = default;
290 typedef llvm::StringMap<Log> ChannelMap;
294 const Log::ChannelMap::value_type &entry,
303 Log(const Log &) = delete;
304 void operator=(const Log &) = delete;
[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
25 Packets = Log::ChannelFlag<6>,
26 Process = Log::ChannelFlag<7>,
27 Step = Log::ChannelFlag<8>,
28 Thread = Log::ChannelFlag<9>,
29 Watchpoints = Log::ChannelFlag<10>,
[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.cpp43 llvm::ManagedStatic<Log::ChannelMap> Log::g_channel_map;
45 void Log::ForEachCategory( in ForEachCategory()
46 const Log::ChannelMap::value_type &entry, in ForEachCategory()
63 Log::MaskType Log::GetFlags(llvm::raw_ostream &stream, in GetFlags()
67 Log::MaskType flags = 0; in GetFlags()
106 void Log::Disable(Log::MaskType flags) { in Disable()
126 const Flags Log::GetOptions() const { in GetOptions()
130 Log::MaskType Log::GetMask() const { in GetMask()
281 void Log::DisableAllLogChannels() { in DisableAllLogChannels()
286 void Log::ForEachChannelCategory( in ForEachChannelCategory()
[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/llvm/lib/CodeGen/
H A DMLRegAllocPriorityAdvisor.cpp181 : MLPriorityAdvisor(MF, RA, Indexes, Runner), Log(Log) {} in DevelopmentModePriorityAdvisor()
185 Logger *const Log; member in llvm::DevelopmentModePriorityAdvisor
200 if (!Log || !Log->hasAnyObservationForContext(MF.getName())) in logRewardIfNeeded()
263 if (Log) { in getAdvisor()
264 Log->switchContext(MF.getName()); in getAdvisor()
272 std::unique_ptr<Logger> Log; member in llvm::DevelopmentModePriorityAdvisorAnalysis
331 if (Log->hasObservationInProgress()) in getPriority()
332 Log->logReward<float>(0.0); in getPriority()
334 Log->startObservation(); in getPriority()
345 Log->logTensorValue( in getPriority()
[all …]
H A DMLRegAllocEvictAdvisor.cpp435 : MLEvictAdvisor(MF, RA, Runner, MBFI, Loops), Log(Log) {} in DevelopmentModeEvictAdvisor()
443 Logger *const Log; member in __anonf1605ed10111::DevelopmentModeEvictAdvisor
478 if (!Log || !Log->hasAnyObservationForContext(MF.getName())) in logRewardIfNeeded()
543 if (Log) in getAdvisor()
544 Log->switchContext(MF.getName()); in getAdvisor()
551 std::unique_ptr<Logger> Log; member in __anonf1605ed10111::DevelopmentModeEvictionAdvisorAnalysis
1111 if (Log->hasObservationInProgress()) in tryFindEvictionCandidatePosition()
1112 Log->logReward<float>(0.0); in tryFindEvictionCandidatePosition()
1114 Log->startObservation(); in tryFindEvictionCandidatePosition()
1127 Log->logTensorValue( in tryFindEvictionCandidatePosition()
[all …]
/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>,
33 template <> Log::Channel &LogChannelFor<DWARFLog>();
H A DLogChannelDWARF.cpp13 static constexpr Log::Category g_categories[] = {
27 static Log::Channel g_channel(g_categories, DWARFLog::DebugInfo);
29 template <> Log::Channel &lldb_private::LogChannelFor<DWARFLog>() { in LogChannelFor()
34 Log::Register("dwarf", g_channel); in Initialize()
37 void LogChannelDWARF::Terminate() { Log::Unregister("dwarf"); } in Terminate()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp253 } else if (Log) { in parseInlineInfo()
287 } else if (Log) { in parseInlineInfo()
322 if (Log) { in convertFunctionLineTable()
350 if (Log) { in convertFunctionLineTable()
354 Row.dumpTableHeader(*Log, /*Indent=*/0); in convertFunctionLineTable()
355 Row.dump(*Log); in convertFunctionLineTable()
356 *Log << "\n"; in convertFunctionLineTable()
370 if (Log) { in convertFunctionLineTable()
392 if (Log && !Gsym.isQuiet()) { in convertFunctionLineTable()
397 if (Log) { in convertFunctionLineTable()
[all …]
H A DObjectFileTransformer.cpp71 raw_ostream *Log, in convert() argument
102 if (Log) in convert()
103 logAllUnhandledErrors(Name.takeError(), *Log, in convert()
117 if (Log) in convert()
118 *Log << "Loaded " << FunctionsAddedCount in convert()
/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.cpp74 Log *log = GetLog(LLDBLog::Thread); in ShouldStop()
93 Log *log = GetLog(LLDBLog::Thread); in IsPlanStale()
112 Log *log = GetLog(LLDBLog::Thread); in DoPlanExplainsStop()
131 Log *log = GetLog(LLDBLog::Thread); in MischiefManaged()
149 Log *log = GetLog(LLDBLog::Thread); in GetPlanRunState()
165 Log *log = GetLog(LLDBLog::Thread); in GetDescription()
190 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.cpp159 Log(*InitEnv.getDataflowAnalysisContext().getOptions().Log), in AnalysisContext()
161 Log.beginAnalysis(CFCtx, Analysis); in AnalysisContext()
163 ~AnalysisContext() { Log.endAnalysis(); } in ~AnalysisContext()
171 Logger &Log; member
459 AC.Log.enterBlock(Block, PostVisitCFG != nullptr); in transferCFGBlock()
461 AC.Log.recordState(State); in transferCFGBlock()
467 AC.Log.enterElement(Element); in transferCFGBlock()
480 AC.Log.recordState(State); in transferCFGBlock()
505 AC.Log.recordState(State); in transferCFGBlock()
583 AC.Log.blockConverged(); in runTypeErasedDataflowAnalysis()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInteractiveModelRunner.h52 Log->switchContext(Name); in switchContext()
53 Log->flush(); in switchContext()
68 std::unique_ptr<Logger> Log; variable

12345678910>>...15