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] Announcement: xenalyze trace analysis tool released

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Announcement: xenalyze trace analysis tool released
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Fri, 14 Aug 2009 11:19:47 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 14 Aug 2009 03:20:13 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=mlwVPpLQdqDjh1VcRICj2ubmhDflJ4rzQAGYmaze9W0=; b=sA+ThWP5/ErxoE9r6pU+klxK6eYDFlXiOiShhl86S0kIaQ42YQ1++b/MJSa4r6hDZ3 Or+9gU9s2D8eyhq8E4fotWlUc2zqW/FMK7EmGX8EIMwlLtfa9L3y6sCba6xOQ2ELjxP2 +M8FQUYk/cNB2I/9gBH0N5Vh3jzfYXohuB+TM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=uoXbZ0mgbcIhveQbnmgYkRnby8/+Yj4S6rYPkTz6Yiwdl4aukJPqOCqrislrvIo9SN l9lflMcKrYsgEAmRe6PBXAJ3WTMb4vHGpqsd2hVJxsovuMGdbR4ILP+Rst7PqyNQQbtk TOfKdM+LotjzslzKCAoo2rk9gScyPdHHrs5vo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A84BD45.9030205@xxxxxxxxxxxxxx>
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>
References: <de76405a0908130851l590ce9ecsc7106efdb84df8f5@xxxxxxxxxxxxxx> <4A84BD45.9030205@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hmm, that won't do; with this patch it won't compile on x86-32. :-)

I'll take a look and see what the best solution is.  Thanks for the patch!

 -George

On Fri, Aug 14, 2009 at 2:26 AM, Akio Takebe<takebe_akio@xxxxxxxxxxxxxx> wrote:
> Hi, George
>
> It's interesting tool.
> I got many error on x86_64 dom0 while compiling. The patch fixes these.
>
> gcc -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
> -Wno-unused-value -Wdeclaration-after-statement -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -o xenalyze
> xenalyze.c
> cc1: warnings being treated as errors
> xenalyze.c: In function 'init_hvm_data':
> xenalyze.c:1321: warning: format '%d' expects type 'int', but argument 3 has
> type 'size_t'
> xenalyze.c: In function 'hvm_msr_write_process':
> xenalyze.c:4055: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c: In function 'hvm_msr_read_process':
> xenalyze.c:4104: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c: In function 'shadow_emulate_process':
> xenalyze.c:5128: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c:5142: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c:5156: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c: In function 'shadow_parse_other':
> xenalyze.c:5228: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c:5244: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c:5256: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c: In function 'shadow_fixup_process':
> xenalyze.c:5445: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c:5458: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c:5471: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c: In function 'shadow_mmio_process':
> xenalyze.c:5559: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c:5570: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c: In function 'vcpu_create':
> xenalyze.c:6080: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c: In function 'domain_create':
> xenalyze.c:6122: warning: format '%d' expects type 'int', but argument 4 has
> type 'long unsigned int'
> xenalyze.c: In function 'scan_for_new_pcpu':
> xenalyze.c:7119: warning: format '%lld' expects type 'long long int', but
> argument 5 has type 'loff_t'
> xenalyze.c: In function 'process_cpu_change':
> xenalyze.c:7194: warning: format '%llx' expects type 'long long unsigned
> int', but argument 4 has type 'loff_t'
> xenalyze.c:7194: warning: format '%llx' expects type 'long long unsigned
> int', but argument 5 has type 'loff_t'
> xenalyze.c:7220: warning: format '%lld' expects type 'long long int', but
> argument 5 has type 'loff_t'
> xenalyze.c:7245: warning: format '%llx' expects type 'long long unsigned
> int', but argument 5 has type 'loff_t'
> xenalyze.c: In function '__read_record':
> xenalyze.c:7538: warning: format '%d' expects type 'int', but argument 4 has
> type 'ssize_t'
> xenalyze.c:7547: warning: format '%d' expects type 'int', but argument 4 has
> type 'ssize_t'
> xenalyze.c:7547: warning: format '%d' expects type 'int', but argument 5 has
> type 'ssize_t'
> xenalyze.c: In function '__fill_in_record_info':
> xenalyze.c:7594: warning: format '%016llx' expects type 'long long unsigned
> int', but argument 3 has type 'loff_t'
> make: *** [xenalyze] Error 1
>
> Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
>
> Best Regards,
>
> Akio Takebe
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>

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

<Prev in Thread] Current Thread [Next in Thread>