From: Andi Kleen <ak@linux.intel.com>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>,
Andi Kleen <andi@firstfloor.org>,
jolsa@kernel.org, namhyung@kernel.org,
alexander.shishkin@intel.com, linux-kernel@vger.kernel.org
Subject: Re: Intel PT not work on 4.5-rc6 as well after suspend/resume assembler
Date: Tue, 1 Mar 2016 15:49:53 -0800 [thread overview]
Message-ID: <20160301234953.GD23621@tassilo.jf.intel.com> (raw)
In-Reply-To: <20160301153524.GD3170@kernel.org>
On Tue, Mar 01, 2016 at 12:35:24PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Feb 29, 2016 at 04:25:49PM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Mon, Feb 29, 2016 at 06:35:28PM +0100, Andi Kleen escreveu:
> > > > What kernel have you used for testing this? 4.5-rc? I'm having trouble
> > > > with intel_pt with 4.5.0-rc4 :-\
>
> > > Works for me (on -rc5). What problem do you see?
>
> > Doesn't work for me on (4.5.0-rc4), but after your report of it working
> > my -rc4 .config and built -rc6+ with it, now it seems to work as
> > expected, will test your patch with it later.
>
> Humm, after suspend/resume it is back not working, using your example
> for this case:
Hi Arnaldo,
PT is always disabled when VT-x is active.
I guess the problem is here that it doesn't get reenabled when context switching
out of the guest. Need to add some code to KVM to do this (similar to how PEBS is handled)
However it should work again when you stop the KVM guest and restart the trace.
-Andi
next prev parent reply other threads:[~2016-03-01 23:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-27 0:32 [PATCH 1/2] perf, tools: Add support for skipping itrace instructions Andi Kleen
2016-02-27 0:32 ` [PATCH 2/2] perf, tools, script: Add support for printing assembler Andi Kleen
2016-02-29 10:27 ` Jiri Olsa
2016-02-29 14:56 ` Arnaldo Carvalho de Melo
2016-02-29 17:35 ` Andi Kleen
2016-02-29 19:25 ` Arnaldo Carvalho de Melo
2016-03-01 15:35 ` Intel PT not work on 4.5-rc6 as well after suspend/resume assembler Arnaldo Carvalho de Melo
2016-03-01 23:49 ` Andi Kleen [this message]
2016-03-02 12:02 ` Arnaldo Carvalho de Melo
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=20160301234953.GD23621@tassilo.jf.intel.com \
--to=ak@linux.intel.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@intel.com \
--cc=andi@firstfloor.org \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=namhyung@kernel.org \
/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