diff options
author | mwilli2@equilibrium.research.intel-research.net <mwilli2@equilibrium.research.intel-research.net> | 2004-06-28 17:42:07 +0000 |
---|---|---|
committer | mwilli2@equilibrium.research.intel-research.net <mwilli2@equilibrium.research.intel-research.net> | 2004-06-28 17:42:07 +0000 |
commit | 3af7269ca3cd9bc9d17002eef1aeff81a6fbef1f (patch) | |
tree | 130a2b7abcc8eec67a33438d6089d931ea037b42 /xen/include/xen/trace.h | |
parent | ff7b84f05a5cf3549b221826118aeb8e13e2bf18 (diff) | |
download | xen-3af7269ca3cd9bc9d17002eef1aeff81a6fbef1f.tar.gz xen-3af7269ca3cd9bc9d17002eef1aeff81a6fbef1f.tar.bz2 xen-3af7269ca3cd9bc9d17002eef1aeff81a6fbef1f.zip |
bitkeeper revision 1.1011.3.1 (40e0586fjTiPMS5QT6pzPb5uZe0MMw)
Various xentrace tweaks. Should perform better now. May still need more work.
Let me know if you have problems with it.
Diffstat (limited to 'xen/include/xen/trace.h')
-rw-r--r-- | xen/include/xen/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/trace.h b/xen/include/xen/trace.h index 782023f76e..3064c47a0b 100644 --- a/xen/include/xen/trace.h +++ b/xen/include/xen/trace.h @@ -80,7 +80,7 @@ static inline int trace(u32 event, u32 d1, u32 d2, u32 d3, u32 d4, u32 d5) buf->head_ptr++; buf->head++; - if ( buf->head_ptr == (buf->vdata + (buf->size-1)) ) + if ( buf->head_ptr == (buf->vdata + buf->size) ) buf->head_ptr = buf->vdata; local_irq_restore(flags); |