Lines Matching refs:Enable
76 inline static bool patchSled(const bool Enable, const uint32_t FuncId,
79 // When |Enable| == true,
102 // When |Enable|==false, we set back the first instruction in the sled to be
107 if (Enable) {
129 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
132 return patchSled(Enable, FuncId, Sled, Trampoline);
135 bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
137 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
140 bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
142 return patchSled(Enable, FuncId, Sled, __xray_FunctionTailExit);
145 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
151 bool patchTypedEvent(const bool Enable, const uint32_t FuncId,