mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
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@xensource.com>
This commit is contained in:
1 parent
0d79c5a9ec
commit
0b7989bf3d
2 files changed
-2
No files matched your search
@@ -89,7 +89,6 @@ static int alloc_trace_bufs(void)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,6 @@ struct t_rec {
|
||||
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. */
|
||||
};
|
||||
|
||||
|
||||