|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: how to avoid lost trace records?
On 25/11/2010 21:04, "Olaf Hering" <olaf@xxxxxxxxx> wrote:
> --- xen-unstable.hg-4.1.22415.orig/xen/common/trace.c
> +++ xen-unstable.hg-4.1.22415/xen/common/trace.c
> @@ -48,7 +48,8 @@ integer_param("tbuf_size", opt_tbuf_size
>
> /* Pointers to the meta-data objects for all system trace buffers */
> static struct t_info *t_info;
> -#define T_INFO_PAGES 2 /* Size fixed at 2 pages for now. */
> +#define T_INFO_PAGES_ORDER 1 /* Size fixed at 2 pages for now. */
> +#define T_INFO_PAGES (1 << T_INFO_PAGES_ORDER)
> #define T_INFO_SIZE ((T_INFO_PAGES)*(PAGE_SIZE))
> static DEFINE_PER_CPU_READ_MOSTLY(struct t_buf *, t_bufs);
> static DEFINE_PER_CPU_READ_MOSTLY(unsigned char *, t_data);
This patch looks like it has no effect whatsoever.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|