|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Remove unused 'nr_recs' field from trace-buffer header
# 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 <=
|
|
|
|
|