Lines Matching refs:Enable
43 static inline bool patchSled(const bool Enable, const uint32_t FuncId,
46 // When |Enable| == true,
74 // When |Enable|==false, we set the first instruction in the sled back to
78 if (Enable) {
127 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
130 return patchSled(Enable, FuncId, Sled, Trampoline);
133 bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
135 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
138 bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
142 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
145 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
151 bool patchTypedEvent(const bool Enable, const uint32_t FuncId,