mirror of https://github.com/l4ka/pistachio.git
- Don't trace switches from/to the KDB tcb
This commit is contained in:
parent
b1c0dce7bb
commit
b69d605bc7
|
@ -129,7 +129,8 @@ INLINE void tcb_t::switch_to(tcb_t * dest)
|
|||
dest, dest->stack, dest->pdir_cache, dest->space);
|
||||
//enter_kdebug("hmm");
|
||||
#endif
|
||||
tbuf_record_event (1, 0, "switch %t => %t", (word_t)this, (word_t)dest);
|
||||
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
|
||||
active_cpu_space.set(get_cpu(), dest->space);
|
||||
|
|
Loading…
Reference in New Issue