/system/extras/simpleperf/ |
dwarf_unwind.h | 25 struct ThreadEntry; 28 using ThreadEntry = simpleperf::ThreadEntry; 30 std::vector<uint64_t> UnwindCallChain(int abi, const ThreadEntry& thread, const RegSet& regs,
|
thread_tree.h | 64 struct ThreadEntry { 71 // ThreadTree contains thread information (in ThreadEntry) and mmap information 91 ThreadEntry* FindThreadOrNew(int pid, int tid); 96 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip, 99 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip); 122 std::vector<const ThreadEntry*> GetAllThreads() const; 125 ThreadEntry* CreateThread(int pid, int tid); 131 std::unordered_map<int, std::unique_ptr<ThreadEntry>> thread_tree_; 151 using ThreadEntry = simpleperf::ThreadEntry; [all...] |
thread_tree.cpp | 49 ThreadEntry* thread = FindThreadOrNew(pid, tid); 58 ThreadEntry* parent = FindThreadOrNew(ppid, ptid); 59 ThreadEntry* child = FindThreadOrNew(pid, tid); 67 ThreadEntry* ThreadTree::FindThreadOrNew(int pid, int tid) { 82 ThreadEntry* ThreadTree::CreateThread(int pid, int tid) { 89 ThreadEntry* process = FindThreadOrNew(pid, pid); 92 ThreadEntry* thread = new ThreadEntry{ 97 auto pair = thread_tree_.insert(std::make_pair(tid, std::unique_ptr<ThreadEntry>(thread))); 132 ThreadEntry* thread = FindThreadOrNew(pid, tid) [all...] |
cmd_report_sample.cpp | 91 bool GetCallEntry(const ThreadEntry* thread, bool in_kernel, uint64_t ip, bool omit_unknown_dso, 93 bool GetCallEntry(const ThreadEntry* thread, bool in_kernel, uint64_t ip, bool omit_unknown_dso, 374 const ThreadEntry* thread = 430 bool ReportSampleCommand::GetCallEntry(const ThreadEntry* thread, 454 bool ReportSampleCommand::GetCallEntry(const ThreadEntry* thread, 521 std::vector<const ThreadEntry*> threads = thread_tree_.GetAllThreads(); 522 auto compare_thread_id = [](const ThreadEntry* t1, const ThreadEntry* t2) { 549 const ThreadEntry* thread =
|
sample_tree_test.cpp | 65 const ThreadEntry* thread = thread_tree_->FindThreadOrNew(pid, tid); 84 const ThreadEntry* GetThreadOfSample(SampleEntry*) override {
|
sample_tree.h | 104 const ThreadEntry* thread = GetThreadOfSample(sample); 196 virtual const ThreadEntry* GetThreadOfSample(EntryT*) = 0;
|
cmd_report.cpp | 67 const ThreadEntry* thread; 77 uint64_t sample_count, const ThreadEntry* thread, 144 const ThreadEntry* thread = 159 const ThreadEntry* thread = 183 const ThreadEntry* thread = sample->thread; 198 const ThreadEntry* GetThreadOfSample(SampleEntry* sample) override {
|
dwarf_unwind.cpp | 97 std::vector<uint64_t> UnwindCallChain(int abi, const ThreadEntry& thread,
|
report_lib_interface.cpp | 147 const ThreadEntry* current_thread_;
|
cmd_record.cpp | [all...] |
cmd_kmem.cpp | 229 const ThreadEntry* GetThreadOfSample(SlabSample*) override { return nullptr; }
|
/system/core/libbacktrace/ |
ThreadEntry.cpp | 25 #include "ThreadEntry.h" 28 ThreadEntry* ThreadEntry::list_ = nullptr; 29 pthread_mutex_t ThreadEntry::list_mutex_ = PTHREAD_MUTEX_INITIALIZER; 31 // Assumes that ThreadEntry::list_mutex_ has already been locked before 32 // creating a ThreadEntry object. 33 ThreadEntry::ThreadEntry(pid_t pid, pid_t tid) 36 next_(ThreadEntry::list_), prev_(nullptr) { 43 if (ThreadEntry::list_) [all...] |
ThreadEntry.h | 24 class ThreadEntry { 26 static ThreadEntry* Get(pid_t pid, pid_t tid, bool create = true); 28 static void Remove(ThreadEntry* entry); 51 ThreadEntry(pid_t pid, pid_t tid); 52 ~ThreadEntry(); 63 ThreadEntry* next_; 64 ThreadEntry* prev_; 67 static ThreadEntry* list_;
|
BacktraceCurrent.cpp | 36 #include "ThreadEntry.h" 124 ThreadEntry* entry = ThreadEntry::Get(getpid(), gettid(), false); 154 ThreadEntry* entry = ThreadEntry::Get(Pid(), Tid()); 164 ThreadEntry::Remove(entry); 180 ThreadEntry::Remove(entry); 213 // Wait for the thread to indicate it is done with the ThreadEntry. 228 ThreadEntry::Remove(entry);
|
/system/extras/simpleperf/nonlinux_support/ |
nonlinux_support.cpp | 23 std::vector<uint64_t> UnwindCallChain(int, const ThreadEntry&, const RegSet&,
|
/external/deqp/framework/delibs/dethread/win32/ |
deThreadWin32.c | 42 } ThreadEntry; 60 ThreadEntry* entry = (ThreadEntry*)entryPtr; 73 ThreadEntry* entry = (ThreadEntry*)deMalloc(sizeof(ThreadEntry));
|
/external/google-breakpad/src/client/linux/handler/ |
exception_handler.h | 242 static int ThreadEntry(void* arg);
|
exception_handler.cc | 49 // (set signal handler to ThreadEntry (static function to bounce 397 int ExceptionHandler::ThreadEntry(void *arg) { 508 ThreadEntry, stack, CLONE_FILES | CLONE_FS | CLONE_UNTRACED,
|
/external/v8/src/base/platform/ |
platform-posix.cc | 597 static void* ThreadEntry(void* arg) { 638 result = pthread_create(&data_->thread_, &attr, ThreadEntry, this);
|
platform-win32.cc | [all...] |
/art/tools/dmtracedump/ |
tracedump.cc | 132 typedef struct ThreadEntry { 135 } ThreadEntry; 189 ThreadEntry* threads; 653 pKeys->threads = new ThreadEntry[count]; 796 return ((const ThreadEntry*) thread1)->threadId - 797 ((const ThreadEntry*) thread2)->threadId; [all...] |