| /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,
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-xray/ |
| trie-node.h | 32 int32_t FuncId; 56 assert(Left.FuncId == Right.FuncId); 58 Left.FuncId, NewParent, {}, MergeFn(Left.ExtraData, Right.ExtraData)}); 65 LeftCalleesByFuncId[Callee->FuncId] = Callee; 73 auto iter = LeftCalleesByFuncId.find(Callee->FuncId);
|
| func-id-helper.cpp | 20 std::string FuncIdConversionHelper::SymbolOrNumber(int32_t FuncId) const { 21 auto CacheIt = CachedNames.find(FuncId); 26 auto It = FunctionAddresses.find(FuncId); 28 F << "#" << FuncId; 49 CachedNames[FuncId] = S; 53 std::string FuncIdConversionHelper::FileLineAndColumn(int32_t FuncId) const { 54 auto It = FunctionAddresses.find(FuncId);
|
| xray-converter.cpp | 85 Trace.Records.push_back({R.RecordType, R.CPU, R.Type, R.FuncId, 86 Symbolize ? FuncIdHelper.SymbolOrNumber(R.FuncId) 87 : llvm::to_string(R.FuncId), 142 Writer.write(R.FuncId); 188 if (node_iter->FuncId == FnId) 197 if (node_iter->FuncId == FnId) 208 StackTrieNode *Parent, int32_t FuncId, uint32_t TId, 214 auto match = find_if(ParentCallees, [FuncId](StackTrieNode *ParentCallee) { 215 return FuncId == ParentCallee->FuncId; [all...] |
| func-id-helper.h | 41 std::string SymbolOrNumber(int32_t FuncId) const; 44 std::string FileLineAndColumn(int32_t FuncId) const;
|
| xray-extract.cpp | 63 auto FuncId = Map.getFunctionId(Sled.Function); 64 if (!FuncId) 67 {*FuncId, Sled.Address, Sled.Function, Sled.Kind, Sled.AlwaysInstrument, 68 ExtractSymbolize ? FH.SymbolOrNumber(*FuncId) : "", Sled.Version});
|
| xray-stacks.cpp | 118 "{FuncId: \"{0}\", ThreadId: \"{1}\", RecordType: \"{2}\"}", 119 Converter->SymbolOrNumber(Item.FuncId), Item.TId, 332 StackTrieNode *createTrieNode(uint32_t ThreadId, int32_t FuncId, 334 NodeStore.push_front(StackTrieNode{FuncId, Parent, {}, {{}, {}}}); 342 StackTrieNode *findRootNode(uint32_t ThreadId, int32_t FuncId) { 345 [&](StackTrieNode *N) { return N->FuncId == FuncId; }); 378 auto *Root = findRootNode(R.TId, R.FuncId); 379 TS.emplace_back(Root ? Root : createTrieNode(R.TId, R.FuncId, nullptr), 386 [&](StackTrieNode *N) { return N->FuncId == R.FuncId; }) [all...] |
| /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/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| MCCodeView.h | 148 bool recordFunctionId(unsigned FuncId); 154 bool recordInlinedCallSiteId(unsigned FuncId, unsigned IAFunc, 159 MCCVFunctionInfo *getCVFunctionInfo(unsigned FuncId); 172 std::vector<MCCVLoc> getFunctionLineEntries(unsigned FuncId); 174 std::pair<size_t, size_t> getLineExtent(unsigned FuncId); 179 void emitLineTableForFunction(MCObjectStreamer &OS, unsigned FuncId,
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/XRay/ |
| XRayRecord.h | 83 int32_t FuncId;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/ |
| test_helpers.h | 33 MATCHER_P(FuncId, F, "") { 35 return arg.FuncId == F;
|