From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: Announcement: xenalyze trace analysis tool released Date: Fri, 14 Aug 2009 11:19:47 +0100 Message-ID: References: <4A84BD45.9030205@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A84BD45.9030205@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Akio Takebe Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 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 > > Best Regards, > > Akio Takebe > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >