Home
last modified time | relevance | path

Searched refs:XRayPatchingStatus (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/lib/xray/
Dxray_interface.cpp205 XRayPatchingStatus patchFunction(int32_t FuncId, in patchFunction()
209 return XRayPatchingStatus::NOT_INITIALIZED; // Not initialized. in patchFunction()
214 return XRayPatchingStatus::ONGOING; // Already patching. in patchFunction()
225 return XRayPatchingStatus::NOT_INITIALIZED; in patchFunction()
231 return XRayPatchingStatus::FAILED; in patchFunction()
248 return XRayPatchingStatus::FAILED; in patchFunction()
251 return XRayPatchingStatus::SUCCESS; in patchFunction()
257 XRayPatchingStatus controlPatching(bool Enable) XRAY_NEVER_INSTRUMENT { in controlPatching()
260 return XRayPatchingStatus::NOT_INITIALIZED; // Not initialized. in controlPatching()
265 return XRayPatchingStatus::ONGOING; // Already patching. in controlPatching()
[all …]
/external/llvm-project/compiler-rt/test/xray/TestCases/Posix/
Dcoverage-sample.cpp42 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
44 assert(__xray_unpatch() == XRayPatchingStatus::SUCCESS); in main()
64 assert(__xray_patch_function(id) == XRayPatchingStatus::SUCCESS); in main()
68 assert(__xray_unpatch() == XRayPatchingStatus::SUCCESS); in main()
82 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
83 assert(__xray_unpatch_function(1) == XRayPatchingStatus::SUCCESS); in main()
85 assert(__xray_unpatch() == XRayPatchingStatus::SUCCESS); in main()
Dprofiling-multi-threaded.cpp43 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
Dprofiling-single-threaded.cpp42 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
Dlogging-modes.cpp76 assert(__xray_patch() == XRayPatchingStatus::SUCCESS); in main()
/external/llvm-project/compiler-rt/include/xray/
Dxray_interface.h88 enum XRayPatchingStatus { enum
97 extern XRayPatchingStatus __xray_patch();
101 extern XRayPatchingStatus __xray_unpatch();
105 extern XRayPatchingStatus __xray_patch_function(int32_t FuncId);
109 extern XRayPatchingStatus __xray_unpatch_function(int32_t FuncId);