HomeSort by: relevance | last modified time | path
    Searched refs:FuncId (Results 1 - 25 of 25) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_basic_logging.h 32 void basicLoggingHandleArg0RealTSC(int32_t FuncId, XRayEntryType Entry);
33 void basicLoggingHandleArg0EmulateTSC(int32_t FuncId, XRayEntryType Entry);
34 void basicLoggingHandleArg1RealTSC(int32_t FuncId, XRayEntryType Entry,
36 void basicLoggingHandleArg1EmulateTSC(int32_t FuncId, XRayEntryType Entry,
xray_fdr_logging.h 32 void fdrLoggingHandleArg0(int32_t FuncId, XRayEntryType Entry);
33 void fdrLoggingHandleArg1(int32_t FuncId, XRayEntryType Entry, uint64_t Arg1);
xray_trampoline_powerpc64.cc 9 void CallXRayPatchedFunction(int32_t FuncId, XRayEntryType Type) {
12 (*fptr)(FuncId, Type);
xray_interface_internal.h 60 bool patchFunctionEntry(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled,
62 bool patchFunctionExit(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
63 bool patchFunctionTailExit(bool Enable, uint32_t FuncId,
65 bool patchCustomEvent(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
66 bool patchTypedEvent(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
xray_AArch64.cc 35 inline static bool patchSled(const bool Enable, const uint32_t FuncId,
74 *CurAddress = FuncId;
93 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
96 return patchSled(Enable, FuncId, Sled, Trampoline);
99 bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
101 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
104 bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
106 return patchSled(Enable, FuncId, Sled, __xray_FunctionTailExit);
109 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
115 bool patchTypedEvent(const bool Enable, const uint32_t FuncId,
    [all...]
xray_powerpc64.cc 53 bool patchFunctionEntry(const bool Enable, uint32_t FuncId,
57 // lis 0, FuncId[16..32]
58 // li 0, FuncId[0..15]
60 (0x3c000000ull + (FuncId >> 16)) +
61 ((0x60000000ull + (FuncId & 0xffff)) << 32);
71 bool patchFunctionExit(const bool Enable, uint32_t FuncId,
74 // lis 0, FuncId[16..32]
75 // li 0, FuncId[0..15]
77 (0x3c000000ull + (FuncId >> 16)) +
78 ((0x60000000ull + (FuncId & 0xffff)) << 32)
    [all...]
xray_interface.cc 151 int32_t FuncId) XRAY_NEVER_INSTRUMENT {
155 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_FunctionEntry);
158 Success = patchFunctionExit(Enable, FuncId, Sled);
161 Success = patchFunctionTailExit(Enable, FuncId, Sled);
164 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_ArgLoggerEntry);
167 Success = patchCustomEvent(Enable, FuncId, Sled);
170 Success = patchTypedEvent(Enable, FuncId, Sled);
179 XRayPatchingStatus patchFunction(int32_t FuncId,
201 // FuncId must be a positive number, less than the number of functions
203 if (FuncId <= 0 || static_cast<size_t>(FuncId) > InstrMap.Functions)
    [all...]
xray_arm.cc 77 inline static bool patchSled(const bool Enable, const uint32_t FuncId,
110 write32bitLoadR0(CurAddress, reinterpret_cast<uint32_t>(FuncId));
130 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
133 return patchSled(Enable, FuncId, Sled, Trampoline);
136 bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
138 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
141 bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
143 return patchSled(Enable, FuncId, Sled, __xray_FunctionTailExit);
146 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
152 bool patchTypedEvent(const bool Enable, const uint32_t FuncId,
    [all...]
xray_mips.cc 53 inline static bool patchSled(const bool Enable, const uint32_t FuncId,
102 uint32_t LoFunctionID = FuncId & 0xffff;
103 uint32_t HiFunctionID = (FuncId >> 16) & 0xffff;
137 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
140 return patchSled(Enable, FuncId, Sled, Trampoline);
143 bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
145 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
148 bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
152 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
155 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
    [all...]
xray_fdr_controller.h 52 constexpr int32_t mask(int32_t FuncId) const XRAY_NEVER_INSTRUMENT {
53 return FuncId & ((1 << 29) - 1);
182 bool rewindRecords(int32_t FuncId, uint64_t TSC,
199 DCHECK_EQ(F.FuncId, FuncId & ~(0x0F << 28));
245 bool functionEnter(int32_t FuncId, uint64_t TSC,
266 mask(FuncId), Delta);
269 bool functionTailExit(int32_t FuncId, uint64_t TSC,
284 return rewindRecords(FuncId, TSC, CPU);
291 mask(FuncId), Delta)
    [all...]
xray_basic_logging.cc 49 int32_t FuncId;
159 void InMemoryRawLog(int32_t FuncId, XRayEntryType Type,
186 E.FuncId = FuncId;
217 if (StackTop.FuncId == FuncId && StackTop.CPU == CPU &&
243 R.FuncId = FuncId;
256 void InMemoryRawLogWithArg(int32_t FuncId, XRayEntryType Type, uint64_t Arg1,
278 InMemoryRawLog(FuncId, Type, ReadTSC)
    [all...]
xray_mips64.cc 54 inline static bool patchSled(const bool Enable, const uint32_t FuncId,
102 uint32_t LoFunctionID = FuncId & 0xffff;
103 uint32_t HiFunctionID = (FuncId >> 16) & 0xffff;
146 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
149 return patchSled(Enable, FuncId, Sled, Trampoline);
152 bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
154 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
157 bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
161 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit);
164 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
    [all...]
xray_fdr_log_records.h 62 int FuncId : 28;
xray_x86_64.cc 130 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
162 *reinterpret_cast<uint32_t *>(Sled.Address + 2) = FuncId;
177 bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
207 *reinterpret_cast<uint32_t *>(Sled.Address + 2) = FuncId;
222 bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
235 *reinterpret_cast<uint32_t *>(Sled.Address + 2) = FuncId;
250 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
297 bool patchTypedEvent(const bool Enable, const uint32_t FuncId,
xray_fdr_log_writer.h 130 bool writeFunction(FunctionRecordKind Kind, int32_t FuncId, int32_t Delta) {
134 R.FuncId = FuncId;
140 bool writeFunctionWithArg(FunctionRecordKind Kind, int32_t FuncId,
149 R.FuncId = FuncId;
xray_trampoline_arm.S 17 @ In C++ it is void extern "C" __xray_FunctionEntry(uint32_t FuncId) with
18 @ FuncId passed in r0 register.
47 @ In C++ it is extern "C" void __xray_FunctionExit(uint32_t FuncId) with
48 @ FuncId passed in r0 register.
78 @ In C++ it is void extern "C" __xray_FunctionTailExit(uint32_t FuncId)
79 @ with FuncId passed in r0 register.
xray_fdr_logging.cc 496 void fdrLoggingHandleArg0(int32_t FuncId,
512 TLD.Controller->functionEnter(FuncId, TSC, CPU);
515 TLD.Controller->functionExit(FuncId, TSC, CPU);
518 TLD.Controller->functionTailExit(FuncId, TSC, CPU);
526 void fdrLoggingHandleArg1(int32_t FuncId, XRayEntryType Entry,
542 TLD.Controller->functionEnterArg(FuncId, TSC, CPU, Arg);
545 TLD.Controller->functionExit(FuncId, TSC, CPU);
548 TLD.Controller->functionTailExit(FuncId, TSC, CPU);
xray_trampoline_powerpc64_asm.S 12 ld 3, 400(1) # FuncId
153 ld 3, 248(1) # FuncId
xray_profiling.cc 272 void profilingHandleArg0(int32_t FuncId,
299 FCT->enterFunction(FuncId, TSC, CPU);
303 FCT->exitFunction(FuncId, TSC, CPU);
311 void profilingHandleArg1(int32_t FuncId, XRayEntryType Entry,
313 return profilingHandleArg0(FuncId, Entry);
  /src/sys/external/bsd/compiler_rt/dist/include/xray/
xray_interface.h 106 extern XRayPatchingStatus __xray_patch_function(int32_t FuncId);
110 extern XRayPatchingStatus __xray_unpatch_function(int32_t FuncId);
115 extern uintptr_t __xray_function_address(int32_t FuncId);
xray_records.h 90 int32_t FuncId = 0;
116 int32_t FuncId = 0;
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
test_helpers.h 33 MATCHER_P(FuncId, F, "") {
35 return arg.FuncId == F;
fdr_controller_test.cc 33 using ::llvm::xray::testing::FuncId;
76 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER)),
77 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::EXIT)))));
100 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::ENTER)),
101 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::EXIT)),
102 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::ENTER_ARG)),
103 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::TAIL_EXIT)))));
136 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER_ARG),
138 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::EXIT)))));
160 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER)
    [all...]
fdr_log_writer_test.cc 30 using ::llvm::xray::testing::FuncId;
73 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER)),
74 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::EXIT)))));
125 FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER)))));
test_helpers.cc 47 << "; Type = " << RecordTypeAsString(R.Type) << "; FuncId = " << R.FuncId

Completed in 23 milliseconds