WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Remove unused 'nr_recs' field from trace-buffer header

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Remove unused 'nr_recs' field from trace-buffer header
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Nov 2005 15:28:06 +0000
Delivery-date: Thu, 24 Nov 2005 15:28:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID dca4893b0b9f14a99ea46abcadcefc3246707585
# Parent  188a4fb5ea1f1f937b864dd05393fc1e011a9d5d
Remove unused 'nr_recs' field from trace-buffer header
structure. This also happens to ensure correct t_rec
alignment on ia64. A better layout for trace buffers
will be coming soon.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 188a4fb5ea1f -r dca4893b0b9f xen/common/trace.c
--- a/xen/common/trace.c        Thu Nov 24 11:06:07 2005
+++ b/xen/common/trace.c        Thu Nov 24 14:08:27 2005
@@ -89,7 +89,6 @@
     {
         buf = t_bufs[i] = (struct t_buf *)&rawbuf[i*opt_tbuf_size*PAGE_SIZE];
         buf->cons = buf->prod = 0;
-        buf->nr_recs = nr_recs;
         t_recs[i] = (struct t_rec *)(buf + 1);
     }
 
diff -r 188a4fb5ea1f -r dca4893b0b9f xen/include/public/trace.h
--- a/xen/include/public/trace.h        Thu Nov 24 11:06:07 2005
+++ b/xen/include/public/trace.h        Thu Nov 24 14:08:27 2005
@@ -74,7 +74,6 @@
 struct t_buf {
     unsigned int  cons;      /* Next item to be consumed by control tools. */
     unsigned int  prod;      /* Next item to be produced by Xen.           */
-    unsigned int  nr_recs;   /* Number of records in this trace buffer.    */
     /* 'nr_recs' records follow immediately after the meta-data header.    */
 };
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Remove unused 'nr_recs' field from trace-buffer header, Xen patchbot -unstable <=