Home
last modified time | relevance | path

Searched refs:XRAY_NEVER_INSTRUMENT (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm-project/compiler-rt/lib/xray/
Dxray_segmented_array.h87 Iterator(Segment *IS, uint64_t Off, uint64_t S) XRAY_NEVER_INSTRUMENT in Iterator()
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 {
[all …]
Dxray_arm.cpp33 inline static uint32_t getMovwMask(const uint32_t Value) XRAY_NEVER_INSTRUMENT { in getMovwMask()
38 inline static uint32_t getMovtMask(const uint32_t Value) XRAY_NEVER_INSTRUMENT { in getMovtMask()
47 const uint32_t Value) XRAY_NEVER_INSTRUMENT { in write32bitLoadReg()
63 const uint32_t Value) XRAY_NEVER_INSTRUMENT { in write32bitLoadR0()
72 const uint32_t Value) XRAY_NEVER_INSTRUMENT { in write32bitLoadIP()
78 void (*TracingHook)()) XRAY_NEVER_INSTRUMENT { in patchSled()
131 void (*Trampoline)()) XRAY_NEVER_INSTRUMENT { in patchFunctionEntry()
136 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit()
141 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit()
147 XRAY_NEVER_INSTRUMENT { // FIXME: Implement in arm? in patchCustomEvent()
[all …]
Dxray_log_interface.cpp27 XRayBuffer NullBufferIterator(XRayBuffer) XRAY_NEVER_INSTRUMENT { in NullBufferIterator()
54 XRAY_NEVER_INSTRUMENT { in __xray_log_set_buffer_iterator()
59 void __xray_log_remove_buffer_iterator() XRAY_NEVER_INSTRUMENT { in __xray_log_remove_buffer_iterator()
65 XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT { in __xray_log_register_mode()
85 __xray_log_select_mode(const char *Mode) XRAY_NEVER_INSTRUMENT { in __xray_log_select_mode()
99 const char *__xray_log_get_current_mode() XRAY_NEVER_INSTRUMENT { in __xray_log_get_current_mode()
106 void __xray_set_log_impl(XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT { in __xray_set_log_impl()
123 void __xray_remove_log_impl() XRAY_NEVER_INSTRUMENT { in __xray_remove_log_impl()
132 size_t ArgsSize) XRAY_NEVER_INSTRUMENT { in __xray_log_init()
140 XRAY_NEVER_INSTRUMENT { in __xray_log_init_mode()
[all …]
Dxray_interface.cpp102 std::size_t PageSize) XRAY_NEVER_INSTRUMENT in MProtectHelper()
111 int MakeWriteable() XRAY_NEVER_INSTRUMENT { in MakeWriteable()
131 ~MProtectHelper() XRAY_NEVER_INSTRUMENT { in ~MProtectHelper()
150 int32_t FuncId) XRAY_NEVER_INSTRUMENT { in patchSled()
180 const XRaySledMap &InstrMap) XRAY_NEVER_INSTRUMENT { in findFunctionSleds()
206 bool Enable) XRAY_NEVER_INSTRUMENT { in patchFunction()
257 XRayPatchingStatus controlPatching(bool Enable) XRAY_NEVER_INSTRUMENT { in controlPatching()
341 bool Enable) XRAY_NEVER_INSTRUMENT { in mprotectAndPatchFunction()
402 XRayEntryType)) XRAY_NEVER_INSTRUMENT { in __xray_set_handler()
415 XRAY_NEVER_INSTRUMENT { in __xray_set_customevent_handler()
[all …]
Dxray_AArch64.cpp36 void (*TracingHook)()) XRAY_NEVER_INSTRUMENT { in patchSled()
94 void (*Trampoline)()) XRAY_NEVER_INSTRUMENT { in patchFunctionEntry()
99 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit()
104 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit()
110 XRAY_NEVER_INSTRUMENT { // FIXME: Implement in aarch64? in patchCustomEvent()
115 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent()
121 bool probeRequiredCPUFeatures() XRAY_NEVER_INSTRUMENT { return true; } in probeRequiredCPUFeatures()
125 extern "C" void __xray_ArgLoggerEntry() XRAY_NEVER_INSTRUMENT { in __xray_ArgLoggerEntry()
Dxray_fdr_controller.h42 bool finalized() const XRAY_NEVER_INSTRUMENT { in finalized()
46 bool hasSpace(size_t S) XRAY_NEVER_INSTRUMENT { in hasSpace()
51 constexpr int32_t mask(int32_t FuncId) const XRAY_NEVER_INSTRUMENT { in mask()
55 bool getNewBuffer() XRAY_NEVER_INSTRUMENT { in getNewBuffer()
70 bool setupNewBuffer() XRAY_NEVER_INSTRUMENT { in setupNewBuffer()
109 bool prepareBuffer(size_t S) XRAY_NEVER_INSTRUMENT { in prepareBuffer()
132 bool returnBuffer() XRAY_NEVER_INSTRUMENT { in returnBuffer()
147 uint16_t CPU) XRAY_NEVER_INSTRUMENT { in recordPreamble()
182 uint16_t CPU) XRAY_NEVER_INSTRUMENT { in rewindRecords()
237 WallClockFunc R, uint64_t C) XRAY_NEVER_INSTRUMENT in FDRController()
[all …]
Dxray_tsc.h26 inline bool probeRequiredCPUFeatures() XRAY_NEVER_INSTRUMENT { return true; } in probeRequiredCPUFeatures()
28 ALWAYS_INLINE uint64_t readTSC(uint8_t &CPU) XRAY_NEVER_INSTRUMENT { in readTSC()
33 inline uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT { in getTSCFrequency()
65 inline bool probeRequiredCPUFeatures() XRAY_NEVER_INSTRUMENT { return true; } in probeRequiredCPUFeatures()
67 ALWAYS_INLINE uint64_t readTSC(uint8_t &CPU) XRAY_NEVER_INSTRUMENT { in readTSC()
79 inline uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT { in getTSCFrequency()
Dxray_powerpc64.cpp54 void (*Trampoline)()) XRAY_NEVER_INSTRUMENT { in patchFunctionEntry()
72 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit()
90 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit()
95 bool probeRequiredCPUFeatures() XRAY_NEVER_INSTRUMENT { return true; } in probeRequiredCPUFeatures()
98 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent()
104 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent()
111 extern "C" void __xray_ArgLoggerEntry() XRAY_NEVER_INSTRUMENT { in __xray_ArgLoggerEntry()
Dxray_profiling.cpp74 static ProfilingData *getThreadLocalData() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
75 thread_local auto ThreadOnce = []() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
92 auto AllocatorsUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
103 auto NodeBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
110 auto RootsBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
118 auto ShadowStackBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
154 static void cleanupTLD() XRAY_NEVER_INSTRUMENT { in cleanupTLD()
167 static void postCurrentThreadFCT(ProfilingData &T) XRAY_NEVER_INSTRUMENT { in postCurrentThreadFCT()
199 const char *profilingCompilerDefinedFlags() XRAY_NEVER_INSTRUMENT { in profilingCompilerDefinedFlags()
207 XRayLogFlushStatus profilingFlush() XRAY_NEVER_INSTRUMENT { in profilingFlush()
[all …]
Dxray_mips.cpp42 uint32_t Imm) XRAY_NEVER_INSTRUMENT { in encodeInstruction()
48 uint32_t Imm) XRAY_NEVER_INSTRUMENT { in encodeSpecialInstruction()
54 void (*TracingHook)()) XRAY_NEVER_INSTRUMENT { in patchSled()
139 void (*Trampoline)()) XRAY_NEVER_INSTRUMENT { in patchFunctionEntry()
144 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit()
149 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit()
156 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent()
162 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent()
169 extern "C" void __xray_ArgLoggerEntry() XRAY_NEVER_INSTRUMENT { in __xray_ArgLoggerEntry()
Dxray_allocator.h39 template <class T> T *allocate() XRAY_NEVER_INSTRUMENT { in allocate()
77 template <class T> void deallocate(T *B) XRAY_NEVER_INSTRUMENT { in deallocate()
90 T *allocateBuffer(size_t S) XRAY_NEVER_INSTRUMENT { in allocateBuffer()
126 template <class T> void deallocateBuffer(T *B, size_t S) XRAY_NEVER_INSTRUMENT { in deallocateBuffer()
139 T *initArray(size_t N, U &&... Us) XRAY_NEVER_INSTRUMENT { in initArray()
180 void *Alloc() XRAY_NEVER_INSTRUMENT { in Alloc()
225 explicit Allocator(size_t M) XRAY_NEVER_INSTRUMENT in Allocator()
233 explicit Allocator(void *P, size_t M) XRAY_NEVER_INSTRUMENT in Allocator()
244 Allocator(Allocator &&O) XRAY_NEVER_INSTRUMENT { in Allocator()
259 Allocator &operator=(Allocator &&O) XRAY_NEVER_INSTRUMENT {
[all …]
Dxray_mips64.cpp43 uint32_t Imm) XRAY_NEVER_INSTRUMENT { in encodeInstruction()
49 uint32_t Imm) XRAY_NEVER_INSTRUMENT { in encodeSpecialInstruction()
55 void (*TracingHook)()) XRAY_NEVER_INSTRUMENT { in patchSled()
147 void (*Trampoline)()) XRAY_NEVER_INSTRUMENT { in patchFunctionEntry()
152 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit()
157 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit()
164 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent()
170 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent()
176 extern "C" void __xray_ArgLoggerEntry() XRAY_NEVER_INSTRUMENT { in __xray_ArgLoggerEntry()
Dxray_basic_logging.cpp87 static LogWriter *getLog() XRAY_NEVER_INSTRUMENT { in getLog()
117 static LogWriter *getGlobalLog() XRAY_NEVER_INSTRUMENT { in getGlobalLog()
124 static ThreadLocalData &getThreadLocalData() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
159 RDTSC ReadTSC) XRAY_NEVER_INSTRUMENT { in InMemoryRawLog()
256 RDTSC ReadTSC) XRAY_NEVER_INSTRUMENT { in InMemoryRawLogWithArg()
301 XRayEntryType Type) XRAY_NEVER_INSTRUMENT { in basicLoggingHandleArg0RealTSC()
306 XRAY_NEVER_INSTRUMENT { in basicLoggingHandleArg0EmulateTSC()
307 InMemoryRawLog(FuncId, Type, [](uint8_t &CPU) XRAY_NEVER_INSTRUMENT { in basicLoggingHandleArg0EmulateTSC()
320 uint64_t Arg1) XRAY_NEVER_INSTRUMENT { in basicLoggingHandleArg1RealTSC()
325 uint64_t Arg1) XRAY_NEVER_INSTRUMENT { in basicLoggingHandleArg1EmulateTSC()
[all …]
Dxray_x86_64.cpp29 retryingReadSome(int Fd, char *Begin, char *End) XRAY_NEVER_INSTRUMENT { in retryingReadSome()
49 long long *Value) XRAY_NEVER_INSTRUMENT { in readValueFromFile()
71 uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT { in getTSCFrequency()
86 uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT {
105 uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT {
125 void (*Trampoline)()) XRAY_NEVER_INSTRUMENT { in patchFunctionEntry()
172 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit()
218 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit()
247 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent()
296 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent()
[all …]
Dxray_function_call_trie.h171 explicit Allocators(Buffers &B) XRAY_NEVER_INSTRUMENT { in Allocators()
193 explicit Allocators(uptr Max) XRAY_NEVER_INSTRUMENT { in Allocators()
211 Allocators(Allocators &&O) XRAY_NEVER_INSTRUMENT { in Allocators()
240 Allocators &operator=(Allocators &&O) XRAY_NEVER_INSTRUMENT {
294 ~Allocators() XRAY_NEVER_INSTRUMENT { in ~Allocators()
306 static Allocators InitAllocators() XRAY_NEVER_INSTRUMENT { in InitAllocators()
310 static Allocators InitAllocatorsCustom(uptr Max) XRAY_NEVER_INSTRUMENT { in InitAllocatorsCustom()
316 InitAllocatorsFromBuffers(Allocators::Buffers &Bufs) XRAY_NEVER_INSTRUMENT { in InitAllocatorsFromBuffers()
329 explicit FunctionCallTrie(const Allocators &A) XRAY_NEVER_INSTRUMENT in FunctionCallTrie()
340 FunctionCallTrie(FunctionCallTrie &&O) XRAY_NEVER_INSTRUMENT in FunctionCallTrie()
[all …]
Dxray_flags.cpp26 void Flags::setDefaults() XRAY_NEVER_INSTRUMENT { in setDefaults()
32 void registerXRayFlags(FlagParser *P, Flags *F) XRAY_NEVER_INSTRUMENT { in registerXRayFlags()
44 const char *useCompilerDefinedFlags() XRAY_NEVER_INSTRUMENT { in useCompilerDefinedFlags()
57 void initializeFlags() XRAY_NEVER_INSTRUMENT { in initializeFlags()
Dxray_utils.cpp48 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT { in WriteAll()
78 void LogWriter::Flush() XRAY_NEVER_INSTRUMENT { in Flush()
82 LogWriter *LogWriter::Open() XRAY_NEVER_INSTRUMENT { in Open()
139 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT {
157 void LogWriter::Flush() XRAY_NEVER_INSTRUMENT {
161 LogWriter *LogWriter::Open() XRAY_NEVER_INSTRUMENT {
Dxray_fdr_flags.cpp26 void FDRFlags::setDefaults() XRAY_NEVER_INSTRUMENT { in setDefaults()
32 void registerXRayFDRFlags(FlagParser *P, FDRFlags *F) XRAY_NEVER_INSTRUMENT { in registerXRayFDRFlags()
39 const char *useCompilerDefinedFDRFlags() XRAY_NEVER_INSTRUMENT { in useCompilerDefinedFDRFlags()
Dxray_basic_flags.cpp27 void BasicFlags::setDefaults() XRAY_NEVER_INSTRUMENT { in setDefaults()
34 BasicFlags *F) XRAY_NEVER_INSTRUMENT { in registerXRayBasicFlags()
41 const char *useCompilerDefinedBasicFlags() XRAY_NEVER_INSTRUMENT { in useCompilerDefinedBasicFlags()
Dxray_profile_collector.cpp111 tid_t TId) XRAY_NEVER_INSTRUMENT { in post()
168 const FunctionCallTrie &Trie) XRAY_NEVER_INSTRUMENT { in populateRecords()
199 XRAY_NEVER_INSTRUMENT { in serializeRecords()
232 void serialize() XRAY_NEVER_INSTRUMENT { in serialize()
255 [&]() XRAY_NEVER_INSTRUMENT { deallocateBuffer(ProfileArena, MaxSize); }); in serialize()
262 [&]() XRAY_NEVER_INSTRUMENT { deallocateBuffer(PathArena, MaxSize); }); in serialize()
305 void reset() XRAY_NEVER_INSTRUMENT { in reset()
378 XRayBuffer nextBuffer(XRayBuffer B) XRAY_NEVER_INSTRUMENT { in nextBuffer()
388 &Once, +[]() XRAY_NEVER_INSTRUMENT { in nextBuffer()
Dxray_powerpc64.inc21 ALWAYS_INLINE uint64_t readTSC(uint8_t &CPU) XRAY_NEVER_INSTRUMENT {
26 inline uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT {
32 inline bool probeRequiredCPUFeatures() XRAY_NEVER_INSTRUMENT {
Dxray_defs.h16 #define XRAY_NEVER_INSTRUMENT __attribute__((xray_never_instrument)) macro
18 #define XRAY_NEVER_INSTRUMENT macro
Dxray_fdr_logging.cpp279 XRayLogFlushStatus fdrLoggingFlush() XRAY_NEVER_INSTRUMENT { in fdrLoggingFlush()
387 XRayLogInitStatus fdrLoggingFinalize() XRAY_NEVER_INSTRUMENT { in fdrLoggingFinalize()
416 static TSCAndCPU getTimestamp() XRAY_NEVER_INSTRUMENT { in getTimestamp()
446 static bool setupTLD(ThreadLocalData &TLD) XRAY_NEVER_INSTRUMENT { in setupTLD()
496 XRayEntryType Entry) XRAY_NEVER_INSTRUMENT { in fdrLoggingHandleArg0()
526 uint64_t Arg) XRAY_NEVER_INSTRUMENT { in fdrLoggingHandleArg1()
556 std::size_t EventSize) XRAY_NEVER_INSTRUMENT { in fdrLoggingHandleCustomEvent()
586 std::size_t EventSize) noexcept XRAY_NEVER_INSTRUMENT { in fdrLoggingHandleTypedEvent()
615 size_t OptionsSize) XRAY_NEVER_INSTRUMENT { in fdrLoggingInit()
727 bool fdrLogDynamicInitializer() XRAY_NEVER_INSTRUMENT { in fdrLogDynamicInitializer()
Dxray_profiling_flags.cpp25 void ProfilerFlags::setDefaults() XRAY_NEVER_INSTRUMENT { in setDefaults()
32 ProfilerFlags *F) XRAY_NEVER_INSTRUMENT { in registerProfilerFlags()
Dxray_buffer_queue.h104 Iterator(BufferRep *Root, size_t O, size_t M) XRAY_NEVER_INSTRUMENT in Iterator()
255 template <class F> void apply(F Fn) XRAY_NEVER_INSTRUMENT { in apply()

12