/haiku-fatelf/src/apps/debugger/user_interface/cli/ |
H A D | CliThreadCommand.cpp | 45 long threadID = strtol(argv[1], &endPointer, 0); local 46 if (*endPointer != '\0' || threadID < 0) { 54 if (Thread* thread = team->ThreadByID(threadID)) 57 printf("Error: No thread with ID %ld\n", threadID);
|
/haiku-fatelf/src/apps/debugger/user_interface/gui/model/ |
H A D | VariablesViewStateHistory.cpp | 19 thread_id threadID; member in struct:VariablesViewStateHistory::Key 22 Key(thread_id threadID, FunctionID* functionID) argument 24 threadID(threadID), 31 return functionID->HashValue() ^ threadID; 36 return threadID == other.threadID && *functionID == *other.functionID; 48 StateEntry(thread_id threadID, FunctionID* functionID) argument 50 Key(threadID, functionID), 140 VariablesViewStateHistory::GetState(thread_id threadID, FunctionI argument 165 SetState(thread_id threadID, FunctionID* functionID, VariablesViewState* state) argument [all...] |
H A D | VariablesViewStateHistory.h | 23 VariablesViewState* GetState(thread_id threadID, 27 status_t SetState(thread_id threadID,
|
/haiku-fatelf/src/tests/system/libroot/os/ |
H A D | system_watching_test.cpp | 178 int32 threadID; local 179 if (message.FindInt32("thread", &threadID) == B_OK) 180 printf("thread: %" B_PRId32 "\n", threadID); 189 int32 threadID; local 190 if (message.FindInt32("thread", &threadID) == B_OK) 191 printf("thread: %" B_PRId32 "\n", threadID); 200 int32 threadID; local 201 if (message.FindInt32("thread", &threadID) == B_OK) 202 printf("thread: %" B_PRId32 "\n", threadID);
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | haiku-nat.c | 181 haiku_find_thread(team_debug_info *teamDebugInfo, thread_id threadID) argument 185 if (info->thread == threadID) 194 haiku_add_thread(team_debug_info *teamDebugInfo, thread_id threadID) argument 199 if (threadID == teamDebugInfo->nub_thread) { 201 threadID); 205 threadDebugInfo = haiku_find_thread(teamDebugInfo, threadID); 215 threadDebugInfo->thread = threadID; 222 gdbThreadInfo = add_thread(ptid_build(teamDebugInfo->team, 0, threadID)); 232 "gdb thread info: %p\n", teamDebugInfo->team, threadID, gdbThreadInfo)); 239 haiku_remove_thread(team_debug_info *teamDebugInfo, thread_id threadID) argument 596 haiku_init_child_debugging(thread_id threadID, bool debugThread) argument 693 haiku_continue_thread(team_debug_info *teamDebugInfo, thread_id threadID, uint32 handleEvent, bool step) argument 713 haiku_stop_thread(team_debug_info *teamDebugInfo, thread_id threadID) argument 776 thread_id threadID = ptid_get_tid(inferior_ptid); local 824 thread_id threadID; local 880 thread_id threadID = (thread ? thread->thread : -1); local 982 thread_id threadID = ptid_get_tid(ptid); local 1014 team_id threadID = ptid_get_tid(ptid); local 1357 thread_id threadID = ptid_get_tid(inferior_ptid); local 1482 thread_id threadID = ptid_get_tid(inferior_ptid); local [all...] |
/haiku-fatelf/src/system/kernel/scheduler/ |
H A D | scheduler_tracing.cpp | 115 int64 threadID; 117 || !evaluate_debug_expression(argv[1], (uint64*)&threadID, true)) { 122 if (threadID <= 0) { 123 kprintf("Invalid thread ID: %lld\n", threadID); 155 if (entry->ThreadID() == threadID) { 190 } else if (entry->PreviousThreadID() == threadID) { 223 if (entry->ThreadID() != threadID) 238 if (entry->ThreadID() != threadID) 263 kprintf("thread %lld never ran.\n", threadID); 267 kprintf("scheduling statistics for thread %lld:\n", threadID); [all...] |
/haiku-fatelf/src/apps/debuganalyzer/model_loader/ |
H A D | ThreadModelLoader.cpp | 137 thread_id threadID = fThread->ID(); local 155 if (event->thread == threadID) 164 keepEvent = event->thread == threadID 165 || event->previous_thread == threadID ; 173 keepEvent = event->thread == threadID; 181 keepEvent = event->thread == threadID;
|
/haiku-fatelf/src/apps/debugger/model/ |
H A D | Thread.cpp | 15 Thread::Thread(Team* team, thread_id threadID) argument 18 fID(threadID),
|
H A D | Thread.h | 43 Thread(Team* team, thread_id threadID);
|
/haiku-fatelf/headers/private/kernel/vm/ |
H A D | vm_types.h | 229 thread_id threadID = thread_get_current_thread_id(); local 231 threadID, -1); 244 thread_id threadID = thread_get_current_thread_id(); local 246 threadID); 247 if (previousThread != threadID) { 272 thread_id threadID = thread_get_current_thread_id(); local 274 threadID, expectedPreviousThread);
|
/haiku-fatelf/src/apps/debugger/user_interface/gui/team_window/ |
H A D | ThreadListView.cpp | 48 bool Update(thread_id threadID) argument 67 if (threadID >= 0 && oldThread->ID() == threadID) 273 thread_id threadID; local 274 if (message->FindInt32("thread", &threadID) != B_OK) 275 threadID = -1; 277 fThreadsTableModel->Update(threadID);
|
H A D | TeamWindow.h | 151 void _HandleThreadStateChanged(thread_id threadID); 152 void _HandleCpuStateChanged(thread_id threadID); 153 void _HandleStackTraceChanged(thread_id threadID);
|
H A D | TeamWindow.cpp | 360 int32 threadID; local 361 if (message->FindInt32("thread", &threadID) != B_OK) 364 _HandleThreadStateChanged(threadID); 369 int32 threadID; local 370 if (message->FindInt32("thread", &threadID) != B_OK) 373 _HandleCpuStateChanged(threadID); 379 int32 threadID; local 380 if (message->FindInt32("thread", &threadID) != B_OK) 383 _HandleStackTraceChanged(threadID); 1262 TeamWindow::_HandleThreadStateChanged(thread_id threadID) argument 1291 _HandleCpuStateChanged(thread_id threadID) argument 1302 _HandleStackTraceChanged(thread_id threadID) argument [all...] |
/haiku-fatelf/src/bin/debug/scheduling_recorder/ |
H A D | scheduling_recorder.cpp | 105 thread_id threadID = -1; local 107 threadID = load_program(programArgs, programArgCount, 109 if (threadID < 0) { 111 programArgs[0], strerror(threadID)); 114 fMainTeam = threadID; 160 if (threadID >= 0) 161 resume_thread(threadID);
|
/haiku-fatelf/src/bin/debug/profile/ |
H A D | profile.cpp | 157 status_t AddThread(thread_id threadID) argument 160 status_t error = get_thread_info(threadID, &threadInfo); 164 return AddThread(threadInfo.team, threadID, threadInfo.name); 167 status_t AddThread(team_id teamID, thread_id threadID, const char* name) argument 169 if (FindThread(threadID) != NULL) 176 Thread* thread = new(std::nothrow) Thread(threadID, name, team); 206 void RemoveThread(thread_id threadID) argument 208 if (Thread* thread = FindThread(threadID)) { 223 Thread* FindThread(thread_id threadID) const 226 if (thread->ID() == threadID) 651 thread_id threadID = -1; local 843 thread_id threadID = load_program(programArgs, programArgCount, local [all...] |
/haiku-fatelf/headers/private/kernel/ |
H A D | UserTimer.h | 163 ThreadTimeUserTimer(thread_id threadID); 260 int32 _user_create_timer(clockid_t clockID, thread_id threadID, 263 status_t _user_delete_timer(int32 timerID, thread_id threadID); 264 status_t _user_get_timer(int32 timerID, thread_id threadID, 266 status_t _user_set_timer(int32 timerID, thread_id threadID,
|
H A D | user_debugger.h | 264 void user_debug_thread_created(thread_id threadID); 265 void user_debug_thread_deleted(team_id teamID, thread_id threadID);
|
/haiku-fatelf/src/system/kernel/ |
H A D | UserEvent.cpp | 240 thread_id threadID = thread_create_thread(fCreationAttributes, false); local 241 if (threadID >= 0) 242 resume_thread(threadID);
|
H A D | UserTimer.cpp | 70 status_t LockAndGetTimer(thread_id threadID, int32 timerID, argument 76 if (threadID >= 0) { 77 thread = Thread::GetAndLock(threadID); 846 ThreadTimeUserTimer::ThreadTimeUserTimer(thread_id threadID) argument 848 fThreadID(threadID), 1644 _user_create_timer(clockid_t clockID, thread_id threadID, uint32 flags, argument 1674 if (threadID >= 0) { 1675 thread = Thread::GetAndLock(threadID); 1691 _user_delete_timer(int32 timerID, thread_id threadID) argument 1700 status_t error = timerLocker.LockAndGetTimer(threadID, timerI 1719 _user_get_timer(int32 timerID, thread_id threadID, struct user_timer_info* userInfo) argument 1752 _user_set_timer(int32 timerID, thread_id threadID, bigtime_t startTime, bigtime_t interval, uint32 flags, struct user_timer_info* userOldInfo) argument [all...] |
/haiku-fatelf/src/apps/debugger/controllers/ |
H A D | TeamDebugger.h | 42 status_t Init(team_id teamID, thread_id threadID, 62 virtual void ThreadActionRequested(thread_id threadID, 155 ThreadHandler* _GetThreadHandler(thread_id threadID);
|
H A D | TeamDebugger.cpp | 300 TeamDebugger::Init(team_id teamID, thread_id threadID, bool stopInMain) argument 499 if (threadID >= 0) { 509 debug_thread(threadID); 537 int32 threadID; local 538 if (message->FindInt32("thread", &threadID) != B_OK) 541 if (ThreadHandler* handler = _GetThreadHandler(threadID)) { 643 int32 threadID; local 644 if (message->FindInt32("thread", &threadID) != B_OK) 647 if (ThreadHandler* handler = _GetThreadHandler(threadID)) { 655 int32 threadID; local 667 int32 threadID; local 802 ThreadActionRequested(thread_id threadID, uint32 action) argument 1637 _GetThreadHandler(thread_id threadID) argument [all...] |
/haiku-fatelf/src/bin/debug/strace/ |
H A D | strace.cpp | 513 thread_id threadID = -1; local 516 || !get_id(*programArgs, (traceTeam ? teamID : threadID))) { 518 threadID = load_program(programArgs, programArgCount, traceLoading); 519 if (threadID < 0) { 521 programArgs[0], strerror(threadID)); 529 status_t error = get_thread_info(threadID, &threadInfo); 532 ": %s\n", kCommandName, threadID, strerror(error)); 564 if (threadID >= 0) { 571 set_thread_debugging_flags(nubPort, threadID, threadDebugFlags); 574 resume_thread(threadID); [all...] |
/haiku-fatelf/src/apps/debugger/ |
H A D | Debugger.cpp | 281 TeamDebugger::Listener* listener, thread_id threadID = -1, 304 error = debugger->Init(teamID, threadID, stopInMain); 438 int32 threadID; local 439 if (message->FindInt32("thread", &threadID) == B_OK) 440 wait_for_thread(threadID, NULL);
|
/haiku-fatelf/src/system/kernel/debug/ |
H A D | user_debugger.cpp | 1051 user_debug_thread_created(thread_id threadID) argument 1063 message.new_thread = threadID; 1071 user_debug_thread_deleted(team_id teamID, thread_id threadID) argument 1114 message.origin.thread = threadID; 1608 thread_id threadID, port_id &threadDebugPort) 1613 Thread* thread = Thread::GetAndLock(threadID); 1800 thread_id threadID = message.set_thread_flags.thread; local 1806 nubThread->id, threadID, flags)); 1809 Thread* thread = Thread::GetAndLock(threadID); 1830 thread_id threadID; local 1607 debug_nub_thread_get_thread_debug_port(Thread *nubThread, thread_id threadID, port_id &threadDebugPort) argument 1865 thread_id threadID = message.set_cpu_state.thread; local 1893 thread_id threadID = message.get_cpu_state.thread; local 2045 thread_id threadID = message.set_signal_masks.thread; local 2103 thread_id threadID = message.get_signal_masks.thread; local 2228 thread_id threadID = message.start_profiler.thread; local 2337 thread_id threadID = message.stop_profiler.thread; local 2866 _user_debug_thread(thread_id threadID) argument [all...] |
/haiku-fatelf/src/add-ons/accelerants/intel_810/ |
H A D | accelerant.cpp | 132 thread_id threadID = spawn_thread(SuppressArtifacts, local 135 result = resume_thread(threadID);
|