xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <George.Dunlap@eu.citrix.com>
To: Akio Takebe <takebe_akio@jp.fujitsu.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Announcement: xenalyze trace analysis tool released
Date: Fri, 14 Aug 2009 11:19:47 +0100	[thread overview]
Message-ID: <de76405a0908140319g2b3f9cd4m67dc117aeff6f4aa@mail.gmail.com> (raw)
In-Reply-To: <4A84BD45.9030205@jp.fujitsu.com>

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@jp.fujitsu.com> 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@jp.fujitsu.com>
>
> Best Regards,
>
> Akio Takebe
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>

  reply	other threads:[~2009-08-14 10:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 15:51 Announcement: xenalyze trace analysis tool released George Dunlap
2009-08-14  1:26 ` Akio Takebe
2009-08-14 10:19   ` George Dunlap [this message]
2010-04-30 22:02     ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de76405a0908140319g2b3f9cd4m67dc117aeff6f4aa@mail.gmail.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=takebe_akio@jp.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).