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-devel

Re: [Xen-devel] Re: how to avoid lost trace records?

To: Olaf Hering <olaf@xxxxxxxxx>, George Dunlap <dunlapg@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: how to avoid lost trace records?
From: Keir Fraser <keir@xxxxxxx>
Date: Thu, 25 Nov 2010 22:27:38 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 25 Nov 2010 14:28:37 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=8lmn5dvM3aFFpm6p3UE/fa+WohfWRYrKaBi/0ZMJlIE=; b=cETHz1RKHsbV+PsZhnFUi53wPY/6xjIY/O63JQ/6PYaqCgf+76eJGk95kyb9y5VcX/ unVjftMwThZotmobYt80SFM6I9/sNorTfIsVYxL8tEeY/6/OFqNpkKCqw8uCKrzZ+PQc 2+QLuDS3wwQve3CGZjVECixYFBy8vPTOSqwW4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=mpu+POTxkMm4QWb5y2VH5vwMmGaIc7URNc8fyzCMIzOYPcrQvWcM0hM8R1VsSr1Liq BSn5FmxII78ODVpqh4yvuqzYUpFn8GUkxYtm53nxmuRV4jyx/YdHFY/G7X8Id2/asGDK xGt+xsqh/IDHyf3QP1elu7AMQKwPWDfMEsIi4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101125210408.GA16766@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuM7/cLPwI8cURtYEqWJk0acX+W4w==
Thread-topic: [Xen-devel] Re: how to avoid lost trace records?
User-agent: Microsoft-Entourage/12.27.0.100910
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