rem: message.thread = thread->id; message.team = thread->team->id;
add: message.origin.thread = thread->id; message.origin.team = thread->team->id;
context: user_debug_post_syscall(uint32 syscall, void *args, uint64 returnValue,	bigtime_t startTime){	// check whether a debugger is installed	struct thread *thread = thread_get_current_thread();	int32 teamDebugFlags = atomic_get(&thread->team->debug_info.flags);	if (!(teamDebugFlags & B_TEAM_DEBUG_DEBUGGER_INSTALLED))		return;	// check whether post-syscall tracing is enabled for team or thread	int32 threadDebugFlags = atomic_get(&thread->debug_info.flags);	if (!(teamDebugFlags & B_TEAM_DEBUG_POST_SYSCALL)			&& !(threadDebugFlags & B_THREAD_DEBUG_POST_SYSCALL)) {		return;	}	// prepare the message	debug_post_syscall message;	message.thread = thread->id;	message.team = thread->team->id;	message.start_time = startTime;	message.end_time = system_time();	message.return_value = returnValue;	message.syscall = syscall;	// copy the syscall args	if (syscall < (uint32)kSyscallCount) {		if (kSyscallInfos[syscall].parameter_size > 0)			memcpy(message.args, args, kSyscallInfos[syscall].parameter_size);	}	thread_hit_debug_event(B_DEBUGGER_MESSAGE_POST_SYSCALL, &message,		sizeof(message), B_POST_SYSCALL_HIT, NULL);}