- Don't trace switches from/to the KDB tcb

This commit is contained in:
Jan Stoess 2007-12-07 19:33:32 +01:00
parent b1c0dce7bb
commit b69d605bc7
1 changed files with 2 additions and 1 deletions

View File

@ -129,6 +129,7 @@ INLINE void tcb_t::switch_to(tcb_t * dest)
dest, dest->stack, dest->pdir_cache, dest->space);
//enter_kdebug("hmm");
#endif
if (this != get_kdebug_tcb() && dest != get_kdebug_tcb())
tbuf_record_event (1, 0, "switch %t => %t", (word_t)this, (word_t)dest);
#ifdef CONFIG_SMP