Searched refs:FunctionCallTrie (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_profile_collector.h14 // FunctionCallTrie instances can be handed off by threads, to be
28 /// collecting FunctionCallTrie instances, indexed by thread ID. On demand, the
33 /// Posts the FunctionCallTrie associated with a specific Thread ID. This
36 /// Moves the collection of FunctionCallTrie, Allocators, and Buffers associated
40 void post(BufferQueue *Q, FunctionCallTrie &&T,
41 FunctionCallTrie::Allocators &&A,
42 FunctionCallTrie::Allocators::Buffers &&B, tid_t TId);
44 /// The serialize will process all FunctionCallTrie instances in memory, and
H A Dxray_profiling.cc56 thread_local FunctionCallTrie::Allocators::Buffers ThreadBuffers;
57 thread_local std::aligned_storage<sizeof(FunctionCallTrie::Allocators),
58 alignof(FunctionCallTrie::Allocators)>::type
60 thread_local std::aligned_storage<sizeof(FunctionCallTrie),
61 alignof(FunctionCallTrie)>::type
129 new (&AllocatorsStorage) FunctionCallTrie::Allocators(
130 FunctionCallTrie::InitAllocatorsFromBuffers(ThreadBuffers));
132 reinterpret_cast<FunctionCallTrie::Allocators *>(&AllocatorsStorage));
142 FunctionCallTrie(*reinterpret_cast<FunctionCallTrie variable
[all...]
H A Dxray_function_call_trie.h28 /// A FunctionCallTrie represents the stack traces of XRay instrumented
93 class FunctionCallTrie { class in namespace:__xray
107 // A Node in the FunctionCallTrie gives us a list of callees, the cumulative
330 explicit FunctionCallTrie(const Allocators &A) XRAY_NEVER_INSTRUMENT
337 FunctionCallTrie() = delete;
338 FunctionCallTrie(const FunctionCallTrie &) = delete;
339 FunctionCallTrie &operator=(const FunctionCallTrie &) = delete;
341 FunctionCallTrie(FunctionCallTri
[all...]
H A Dxray_profile_collector.cc33 typename std::aligned_storage<sizeof(FunctionCallTrie)>::type TrieStorage;
62 FunctionCallTrie::Allocators::Buffers Buffers;
63 FunctionCallTrie::Allocators Allocators;
64 FunctionCallTrie FCT;
109 void post(BufferQueue *Q, FunctionCallTrie &&T,
110 FunctionCallTrie::Allocators &&A,
111 FunctionCallTrie::Allocators::Buffers &&B,
117 T.~FunctionCallTrie();
136 T.~FunctionCallTrie();
156 // the function call stack as represented from a FunctionCallTrie
[all...]
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
H A Dfunction_call_trie_test.cc23 FunctionCallTrie::Allocators Allocators = FunctionCallTrie::InitAllocators();
24 FunctionCallTrie Trie(Allocators);
29 auto A = FunctionCallTrie::InitAllocators();
30 FunctionCallTrie Trie(A);
46 auto A = FunctionCallTrie::InitAllocators();
47 FunctionCallTrie Trie(A);
61 auto A = FunctionCallTrie::InitAllocators();
62 FunctionCallTrie Trie(A);
77 auto A = FunctionCallTrie
[all...]
H A Dprofile_collector_test.cc117 FunctionCallTrie::Allocators::Buffers Buffers;
123 auto Allocators = FunctionCallTrie::InitAllocatorsFromBuffers(Buffers);
124 FunctionCallTrie T(Allocators);
180 // use a thread local allocator, and will post the FunctionCallTrie to the
187 thread_local FunctionCallTrie::Allocators::Buffers Buffers = [] {
188 FunctionCallTrie::Allocators::Buffers B;
197 FunctionCallTrie::InitAllocatorsFromBuffers(Buffers);
199 FunctionCallTrie T(Allocators);

Completed in 126 milliseconds