From: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
To: David Ahern <dsahern@gmail.com>
Cc: Avi Kivity <avi@redhat.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
Ingo Molnar <mingo@elte.hu>,
Arnaldo Carvalho de Melo <acme@infradead.org>,
LKML <linux-kernel@vger.kernel.org>, KVM <kvm@vger.kernel.org>
Subject: Re: [PATCH 3/3] KVM: perf: kvm events analysis tool
Date: Mon, 13 Feb 2012 13:00:11 +0800 [thread overview]
Message-ID: <4F3898DB.2030907@linux.vnet.ibm.com> (raw)
In-Reply-To: <4F387DA4.7020503@gmail.com>
On 02/13/2012 11:04 AM, David Ahern wrote:
> Compile fails on Fedora 16, x86_64 with latest tip-perf-core branch:
>
>
> In file included from builtin-kvm-events.c:19:0:
> ../../arch/x86/include/asm/svm.h:133:1: error: packed attribute is
> unnecessary for ‘vmcb_seg’ [-Werror=packed]
> ../../arch/x86/include/asm/svm.h:178:1: error: packed attribute is
> unnecessary for ‘vmcb_save_area’ [-Werror=packed]
> ../../arch/x86/include/asm/svm.h:183:1: error: packed attribute is
> unnecessary for ‘vmcb’ [-Werror=packed]
> In file included from builtin-kvm-events.c:20:0:
> ../../arch/x86/include/asm/vmx.h:334:0: error: "REG_R8" redefined [-Werror]
> /usr/include/sys/ucontext.h:46:0: note: this is the location of the
> previous definition
> ../../arch/x86/include/asm/vmx.h:335:0: error: "REG_R9" redefined [-Werror]
> /usr/include/sys/ucontext.h:48:0: note: this is the location of the
> previous definition
> ../../arch/x86/include/asm/vmx.h:336:0: error: "REG_R10" redefined [-Werror]
> /usr/include/sys/ucontext.h:50:0: note: this is the location of the
> previous definition
> ../../arch/x86/include/asm/vmx.h:337:0: error: "REG_R11" redefined [-Werror]
> /usr/include/sys/ucontext.h:52:0: note: this is the location of the
> previous definition
> ../../arch/x86/include/asm/vmx.h:338:0: error: "REG_R12" redefined [-Werror]
> /usr/include/sys/ucontext.h:54:0: note: this is the location of the
> previous definition
> ../../arch/x86/include/asm/vmx.h:339:0: error: "REG_R13" redefined [-Werror]
> /usr/include/sys/ucontext.h:56:0: note: this is the location of the
> previous definition
> ../../arch/x86/include/asm/vmx.h:340:0: error: "REG_R14" redefined [-Werror]
> /usr/include/sys/ucontext.h:58:0: note: this is the location of the
> previous definition
> ../../arch/x86/include/asm/vmx.h:341:0: error: "REG_R15" redefined [-Werror]
> /usr/include/sys/ucontext.h:60:0: note: this is the location of the
> previous definition
> ../../arch/x86/include/asm/vmx.h:443:13: error: expected declaration
> specifiers or ‘...’ before numeric constant
> In file included from builtin-kvm-events.c:21:0:
> ../../arch/x86/include/asm/kvm_host.h:15:22: fatal error: linux/mm.h: No
> such file or directory
> cc1: all warnings being treated as errors
>
The first patch(patch 1/3) should be applied!
Thank you, David! :)
next prev parent reply other threads:[~2012-02-13 5:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-09 9:06 [PATCH v4 0/3] KVM: perf: kvm events analysis tool Xiao Guangrong
2012-02-09 9:07 ` [PATCH 1/3] KVM: x86: export svm/vmx exit code and vector code to userspace Xiao Guangrong
2012-02-09 9:08 ` [PATCH 2/3] KVM: x86: add tracepoints to trace mmio begin and complete Xiao Guangrong
2012-02-09 9:09 ` [PATCH 3/3] KVM: perf: kvm events analysis tool Xiao Guangrong
2012-02-13 3:04 ` David Ahern
2012-02-13 5:00 ` Xiao Guangrong [this message]
2012-02-20 23:47 ` David Ahern
2012-02-21 3:52 ` Xiao Guangrong
2012-02-21 4:58 ` David Ahern
2012-02-27 4:57 ` Xiao Guangrong
-- strict thread matches above, loose matches on Subject: below --
2012-03-06 8:55 [PATCH v5 0/3] " Xiao Guangrong
2012-03-06 8:58 ` [PATCH 3/3] " Xiao Guangrong
2012-02-13 5:32 David Ahern
2012-02-13 10:06 ` Xiao Guangrong
2012-02-13 15:52 ` David Ahern
2012-02-16 4:59 ` Xiao Guangrong
2012-02-16 5:05 ` David Ahern
2012-02-16 5:33 ` Xiao Guangrong
2012-02-16 16:35 ` Arnaldo Carvalho de Melo
2012-01-16 9:30 [RFC][PATCH] KVM: perf: a smart tool to analyse kvm events Xiao Guangrong
2012-01-16 9:32 ` [PATCH 3/3] KVM: perf: kvm events analysis tool Xiao Guangrong
2012-01-16 10:04 ` Avi Kivity
2012-01-17 2:30 ` Xiao Guangrong
2012-01-24 12:49 ` Avi Kivity
2012-01-16 10:08 ` Stefan Hajnoczi
2012-01-17 2:37 ` Xiao Guangrong
2012-01-17 11:59 ` Marcelo Tosatti
2012-01-24 12:51 ` Avi Kivity
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=4F3898DB.2030907@linux.vnet.ibm.com \
--to=xiaoguangrong@linux.vnet.ibm.com \
--cc=acme@infradead.org \
--cc=avi@redhat.com \
--cc=dsahern@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mtosatti@redhat.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).