|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
projects/compiler-rt/lib/xray/xray_allocator.h 39 template <class T> T *allocate() XRAY_NEVER_INSTRUMENT {
77 template <class T> void deallocate(T *B) XRAY_NEVER_INSTRUMENT {
90 T *allocateBuffer(size_t S) XRAY_NEVER_INSTRUMENT {
126 template <class T> void deallocateBuffer(T *B, size_t S) XRAY_NEVER_INSTRUMENT {
139 T *initArray(size_t N, U &&... Us) XRAY_NEVER_INSTRUMENT {
180 void *Alloc() XRAY_NEVER_INSTRUMENT {
225 explicit Allocator(size_t M) XRAY_NEVER_INSTRUMENT
233 explicit Allocator(void *P, size_t M) XRAY_NEVER_INSTRUMENT
244 Allocator(Allocator &&O) XRAY_NEVER_INSTRUMENT {
259 Allocator &operator=(Allocator &&O) XRAY_NEVER_INSTRUMENT {
277 Block Allocate() XRAY_NEVER_INSTRUMENT { return {Alloc()}; }
279 ~Allocator() NOEXCEPT XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_basic_flags.cpp 27 void BasicFlags::setDefaults() XRAY_NEVER_INSTRUMENT {
34 BasicFlags *F) XRAY_NEVER_INSTRUMENT {
41 const char *useCompilerDefinedBasicFlags() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_basic_logging.cpp 87 static LogWriter *getLog() XRAY_NEVER_INSTRUMENT {
117 static LogWriter *getGlobalLog() XRAY_NEVER_INSTRUMENT {
124 static ThreadLocalData &getThreadLocalData() XRAY_NEVER_INSTRUMENT {
159 RDTSC ReadTSC) XRAY_NEVER_INSTRUMENT {
256 RDTSC ReadTSC) XRAY_NEVER_INSTRUMENT {
301 XRayEntryType Type) XRAY_NEVER_INSTRUMENT {
306 XRAY_NEVER_INSTRUMENT {
307 InMemoryRawLog(FuncId, Type, [](uint8_t &CPU) XRAY_NEVER_INSTRUMENT {
320 uint64_t Arg1) XRAY_NEVER_INSTRUMENT {
325 uint64_t Arg1) XRAY_NEVER_INSTRUMENT {
327 FuncId, Type, Arg1, [](uint8_t &CPU) XRAY_NEVER_INSTRUMENT {
339 static void TLDDestructor(void *P) XRAY_NEVER_INSTRUMENT {
374 size_t OptionsSize) XRAY_NEVER_INSTRUMENT {
442 XRayLogInitStatus basicLoggingFinalize() XRAY_NEVER_INSTRUMENT {
455 XRayLogFlushStatus basicLoggingFlush() XRAY_NEVER_INSTRUMENT {
462 void basicLoggingHandleArg0Empty(int32_t, XRayEntryType) XRAY_NEVER_INSTRUMENT {
465 bool basicLogDynamicInitializer() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_buffer_queue.cpp 146 bool &Success) XRAY_NEVER_INSTRUMENT
projects/compiler-rt/lib/xray/xray_buffer_queue.h 104 Iterator(BufferRep *Root, size_t O, size_t M) XRAY_NEVER_INSTRUMENT
255 template <class F> void apply(F Fn) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_fdr_controller.h 42 bool finalized() const XRAY_NEVER_INSTRUMENT {
46 bool hasSpace(size_t S) XRAY_NEVER_INSTRUMENT {
51 constexpr int32_t mask(int32_t FuncId) const XRAY_NEVER_INSTRUMENT {
55 bool getNewBuffer() XRAY_NEVER_INSTRUMENT {
70 bool setupNewBuffer() XRAY_NEVER_INSTRUMENT {
109 bool prepareBuffer(size_t S) XRAY_NEVER_INSTRUMENT {
132 bool returnBuffer() XRAY_NEVER_INSTRUMENT {
147 uint16_t CPU) XRAY_NEVER_INSTRUMENT {
182 uint16_t CPU) XRAY_NEVER_INSTRUMENT {
237 WallClockFunc R, uint64_t C) XRAY_NEVER_INSTRUMENT
245 uint16_t CPU) XRAY_NEVER_INSTRUMENT {
269 uint16_t CPU) XRAY_NEVER_INSTRUMENT {
294 uint64_t Arg) XRAY_NEVER_INSTRUMENT {
311 uint16_t CPU) XRAY_NEVER_INSTRUMENT {
334 int32_t EventSize) XRAY_NEVER_INSTRUMENT {
348 const void *Event, int32_t EventSize) XRAY_NEVER_INSTRUMENT {
361 bool flush() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_fdr_flags.cpp 26 void FDRFlags::setDefaults() XRAY_NEVER_INSTRUMENT {
32 void registerXRayFDRFlags(FlagParser *P, FDRFlags *F) XRAY_NEVER_INSTRUMENT {
39 const char *useCompilerDefinedFDRFlags() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_fdr_logging.cpp 279 XRayLogFlushStatus fdrLoggingFlush() XRAY_NEVER_INSTRUMENT {
387 XRayLogInitStatus fdrLoggingFinalize() XRAY_NEVER_INSTRUMENT {
416 static TSCAndCPU getTimestamp() XRAY_NEVER_INSTRUMENT {
446 static bool setupTLD(ThreadLocalData &TLD) XRAY_NEVER_INSTRUMENT {
496 XRayEntryType Entry) XRAY_NEVER_INSTRUMENT {
526 uint64_t Arg) XRAY_NEVER_INSTRUMENT {
556 std::size_t EventSize) XRAY_NEVER_INSTRUMENT {
586 std::size_t EventSize) noexcept XRAY_NEVER_INSTRUMENT {
615 size_t OptionsSize) XRAY_NEVER_INSTRUMENT {
727 bool fdrLogDynamicInitializer() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_flags.cpp 26 void Flags::setDefaults() XRAY_NEVER_INSTRUMENT {
32 void registerXRayFlags(FlagParser *P, Flags *F) XRAY_NEVER_INSTRUMENT {
44 const char *useCompilerDefinedFlags() XRAY_NEVER_INSTRUMENT {
57 void initializeFlags() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_function_call_trie.h 171 explicit Allocators(Buffers &B) XRAY_NEVER_INSTRUMENT {
193 explicit Allocators(uptr Max) XRAY_NEVER_INSTRUMENT {
211 Allocators(Allocators &&O) XRAY_NEVER_INSTRUMENT {
240 Allocators &operator=(Allocators &&O) XRAY_NEVER_INSTRUMENT {
294 ~Allocators() XRAY_NEVER_INSTRUMENT {
306 static Allocators InitAllocators() XRAY_NEVER_INSTRUMENT {
310 static Allocators InitAllocatorsCustom(uptr Max) XRAY_NEVER_INSTRUMENT {
316 InitAllocatorsFromBuffers(Allocators::Buffers &Bufs) XRAY_NEVER_INSTRUMENT {
329 explicit FunctionCallTrie(const Allocators &A) XRAY_NEVER_INSTRUMENT
340 FunctionCallTrie(FunctionCallTrie &&O) XRAY_NEVER_INSTRUMENT
347 FunctionCallTrie &operator=(FunctionCallTrie &&O) XRAY_NEVER_INSTRUMENT {
356 ~FunctionCallTrie() XRAY_NEVER_INSTRUMENT {}
359 uint16_t CPU) XRAY_NEVER_INSTRUMENT {
418 uint16_t CPU) XRAY_NEVER_INSTRUMENT {
465 const RootArray &getRoots() const XRAY_NEVER_INSTRUMENT { return Roots; }
480 void deepCopyInto(FunctionCallTrie &O) const XRAY_NEVER_INSTRUMENT {
543 void mergeInto(FunctionCallTrie &O) const XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_init.cpp 63 void __xray_init() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_interface.cpp 102 std::size_t PageSize) XRAY_NEVER_INSTRUMENT
111 int MakeWriteable() XRAY_NEVER_INSTRUMENT {
131 ~MProtectHelper() XRAY_NEVER_INSTRUMENT {
150 int32_t FuncId) XRAY_NEVER_INSTRUMENT {
179 bool Enable) XRAY_NEVER_INSTRUMENT {
230 XRayPatchingStatus controlPatching(bool Enable) XRAY_NEVER_INSTRUMENT {
313 bool Enable) XRAY_NEVER_INSTRUMENT {
372 XRayEntryType)) XRAY_NEVER_INSTRUMENT {
385 XRAY_NEVER_INSTRUMENT {
397 uint16_t, const void *, size_t)) XRAY_NEVER_INSTRUMENT {
408 int __xray_remove_handler() XRAY_NEVER_INSTRUMENT {
412 int __xray_remove_customevent_handler() XRAY_NEVER_INSTRUMENT {
416 int __xray_remove_typedevent_handler() XRAY_NEVER_INSTRUMENT {
421 const char *const event_type) XRAY_NEVER_INSTRUMENT {
431 XRayPatchingStatus __xray_patch() XRAY_NEVER_INSTRUMENT {
435 XRayPatchingStatus __xray_unpatch() XRAY_NEVER_INSTRUMENT {
439 XRayPatchingStatus __xray_patch_function(int32_t FuncId) XRAY_NEVER_INSTRUMENT {
444 __xray_unpatch_function(int32_t FuncId) XRAY_NEVER_INSTRUMENT {
463 uintptr_t __xray_function_address(int32_t FuncId) XRAY_NEVER_INSTRUMENT {
477 size_t __xray_max_function_id() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_log_interface.cpp 27 XRayBuffer NullBufferIterator(XRayBuffer) XRAY_NEVER_INSTRUMENT {
54 XRAY_NEVER_INSTRUMENT {
59 void __xray_log_remove_buffer_iterator() XRAY_NEVER_INSTRUMENT {
65 XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT {
85 __xray_log_select_mode(const char *Mode) XRAY_NEVER_INSTRUMENT {
99 const char *__xray_log_get_current_mode() XRAY_NEVER_INSTRUMENT {
106 void __xray_set_log_impl(XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT {
123 void __xray_remove_log_impl() XRAY_NEVER_INSTRUMENT {
132 size_t ArgsSize) XRAY_NEVER_INSTRUMENT {
140 XRAY_NEVER_INSTRUMENT {
161 size_t ConfigSize) XRAY_NEVER_INSTRUMENT {
180 XRayLogInitStatus __xray_log_finalize() XRAY_NEVER_INSTRUMENT {
187 XRayLogFlushStatus __xray_log_flushLog() XRAY_NEVER_INSTRUMENT {
195 void (*Processor)(const char *, XRayBuffer)) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_profile_collector.cpp 111 tid_t TId) XRAY_NEVER_INSTRUMENT {
168 const FunctionCallTrie &Trie) XRAY_NEVER_INSTRUMENT {
199 XRAY_NEVER_INSTRUMENT {
232 void serialize() XRAY_NEVER_INSTRUMENT {
255 [&]() XRAY_NEVER_INSTRUMENT { deallocateBuffer(ProfileArena, MaxSize); });
262 [&]() XRAY_NEVER_INSTRUMENT { deallocateBuffer(PathArena, MaxSize); });
305 void reset() XRAY_NEVER_INSTRUMENT {
378 XRayBuffer nextBuffer(XRayBuffer B) XRAY_NEVER_INSTRUMENT {
388 &Once, +[]() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_profiling.cpp 74 static ProfilingData *getThreadLocalData() XRAY_NEVER_INSTRUMENT {
75 thread_local auto ThreadOnce = []() XRAY_NEVER_INSTRUMENT {
92 auto AllocatorsUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT {
103 auto NodeBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT {
110 auto RootsBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT {
118 auto ShadowStackBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT {
154 static void cleanupTLD() XRAY_NEVER_INSTRUMENT {
167 static void postCurrentThreadFCT(ProfilingData &T) XRAY_NEVER_INSTRUMENT {
199 const char *profilingCompilerDefinedFlags() XRAY_NEVER_INSTRUMENT {
207 XRayLogFlushStatus profilingFlush() XRAY_NEVER_INSTRUMENT {
272 XRayEntryType Entry) XRAY_NEVER_INSTRUMENT {
311 uint64_t) XRAY_NEVER_INSTRUMENT {
315 XRayLogInitStatus profilingFinalize() XRAY_NEVER_INSTRUMENT {
353 size_t OptionsSize) XRAY_NEVER_INSTRUMENT {
430 &ProfilingKey, +[](void *P) XRAY_NEVER_INSTRUMENT {
456 Atexit(+[]() XRAY_NEVER_INSTRUMENT {
461 at_scope_exit([]() XRAY_NEVER_INSTRUMENT { cleanupTLD(); });
485 bool profilingDynamicInitializer() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_profiling_flags.cpp 25 void ProfilerFlags::setDefaults() XRAY_NEVER_INSTRUMENT {
32 ProfilerFlags *F) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_segmented_array.h 87 Iterator(Segment *IS, uint64_t Off, uint64_t S) XRAY_NEVER_INSTRUMENT
91 Iterator(const Iterator &) NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
92 Iterator() NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
93 Iterator(Iterator &&) NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
94 Iterator &operator=(const Iterator &) XRAY_NEVER_INSTRUMENT = default;
95 Iterator &operator=(Iterator &&) XRAY_NEVER_INSTRUMENT = default;
96 ~Iterator() XRAY_NEVER_INSTRUMENT = default;
98 Iterator &operator++() XRAY_NEVER_INSTRUMENT {
113 Iterator &operator--() XRAY_NEVER_INSTRUMENT {
126 Iterator operator++(int) XRAY_NEVER_INSTRUMENT {
132 Iterator operator--(int) XRAY_NEVER_INSTRUMENT {
140 const Iterator<W> &R) XRAY_NEVER_INSTRUMENT {
146 const Iterator<W> &R) XRAY_NEVER_INSTRUMENT {
150 U &operator*() const XRAY_NEVER_INSTRUMENT {
161 U *operator->() const XRAY_NEVER_INSTRUMENT { return &(**this); }
204 Segment *NewSegment() XRAY_NEVER_INSTRUMENT {
262 Segment *InitHeadAndTail() XRAY_NEVER_INSTRUMENT {
279 Segment *AppendNewSegment() XRAY_NEVER_INSTRUMENT {
296 explicit Array(AllocatorType &A) XRAY_NEVER_INSTRUMENT
303 Array() XRAY_NEVER_INSTRUMENT : Alloc(nullptr),
312 Array(Array &&O) XRAY_NEVER_INSTRUMENT : Alloc(O.Alloc),
324 Array &operator=(Array &&O) XRAY_NEVER_INSTRUMENT {
338 ~Array() XRAY_NEVER_INSTRUMENT {
343 bool empty() const XRAY_NEVER_INSTRUMENT { return Size == 0; }
345 AllocatorType &allocator() const XRAY_NEVER_INSTRUMENT {
350 uint64_t size() const XRAY_NEVER_INSTRUMENT { return Size; }
353 T *AppendEmplace(Args &&... args) XRAY_NEVER_INSTRUMENT {
382 T *Append(const T &E) XRAY_NEVER_INSTRUMENT {
414 T &operator[](uint64_t Offset) const XRAY_NEVER_INSTRUMENT {
429 T &front() const XRAY_NEVER_INSTRUMENT {
435 T &back() const XRAY_NEVER_INSTRUMENT {
444 T *find_element(Predicate P) const XRAY_NEVER_INSTRUMENT {
458 void trim(uint64_t Elements) XRAY_NEVER_INSTRUMENT {
627 Iterator<T> begin() const XRAY_NEVER_INSTRUMENT {
630 Iterator<T> end() const XRAY_NEVER_INSTRUMENT {
633 Iterator<const T> cbegin() const XRAY_NEVER_INSTRUMENT {
636 Iterator<const T> cend() const XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_utils.cpp 135 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT {
153 void LogWriter::Flush() XRAY_NEVER_INSTRUMENT {
157 LogWriter *LogWriter::Open() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_x86_64.cpp 33 retryingReadSome(int Fd, char *Begin, char *End) XRAY_NEVER_INSTRUMENT {
53 long long *Value) XRAY_NEVER_INSTRUMENT {
75 uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT {
132 void (*Trampoline)()) XRAY_NEVER_INSTRUMENT {
178 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
223 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
251 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
298 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
331 bool probeRequiredCPUFeatures() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_x86_64.inc 21 ALWAYS_INLINE uint64_t readTSC(uint8_t &CPU) XRAY_NEVER_INSTRUMENT {