Lines Matching refs:Sled

151 bool patchSled(const XRaySledEntry &Sled, bool Enable,  in patchSled()  argument
154 switch (Sled.Kind) { in patchSled()
156 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_FunctionEntry); in patchSled()
159 Success = patchFunctionExit(Enable, FuncId, Sled); in patchSled()
162 Success = patchFunctionTailExit(Enable, FuncId, Sled); in patchSled()
165 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_ArgLoggerEntry); in patchSled()
168 Success = patchCustomEvent(Enable, FuncId, Sled); in patchSled()
171 Success = patchTypedEvent(Enable, FuncId, Sled); in patchSled()
174 Report("Unsupported sled kind '%" PRIu64 "' @%04x\n", Sled.Address, in patchSled()
175 int(Sled.Kind)); in patchSled()
189 const auto &Sled = InstrMap.Sleds[I]; in findFunctionSleds() local
190 const auto Function = Sled.function(); in findFunctionSleds()
198 Index.Begin = &Sled; in findFunctionSleds()
199 Index.End = &Sled; in findFunctionSleds()
300 const auto &Sled = InstrMap.Sleds[I]; in controlPatching() local
301 if (Sled.address() < MinSled->address()) in controlPatching()
302 MinSled = &Sled; in controlPatching()
303 if (Sled.address() > MaxSled->address()) in controlPatching()
304 MaxSled = &Sled; in controlPatching()
327 auto &Sled = InstrMap.Sleds[I]; in controlPatching() local
328 auto F = Sled.function(); in controlPatching()
335 patchSled(Sled, Enable, FuncId); in controlPatching()
505 const XRaySledEntry *Sled = InstrMap.SledsIndex in __xray_function_address() local
508 return Sled->function() in __xray_function_address()