public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <dave.hansen@intel.com>
To: x86@kernel.org, Peter Zijlstra <peterz@infradead.org>,
	Seiji Aguchi <seiji.aguchi@hds.com>,
	linux-kernel@vger.kernel.org, Gleb Natapov <gleb@redhat.com>
Subject: KVM_GUEST support breaks page fault tracing
Date: Thu, 08 May 2014 15:22:18 -0700	[thread overview]
Message-ID: <536C039A.5000204@intel.com> (raw)

I noticed on some of my systems that page fault tracing doesn't work:

	cd /sys/kernel/debug/tracing
	echo 1 > events/exceptions/enable
	cat trace;
	# nothing shows up

I eventually traced it down to CONFIG_KVM_GUEST.  At least in a KVM VM,
enabling that option breaks page fault tracing, and disabling fixes it.
 I tried on some old kernels and this does not appear to be a
regression: it never worked.

Anybody have any theories about what is going on?

I'm also having problems with the page fault tracing on bare metal (same
symptom of no trace output).  I'm unsure if it's related.

             reply	other threads:[~2014-05-08 22:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08 22:22 Dave Hansen [this message]
2014-05-08 22:24 ` KVM_GUEST support breaks page fault tracing Thomas Gleixner
2014-05-08 23:05   ` Dave Hansen
2014-05-08 23:45     ` Steven Rostedt
2014-05-09 16:42       ` Dave Hansen

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=536C039A.5000204@intel.com \
    --to=dave.hansen@intel.com \
    --cc=gleb@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=seiji.aguchi@hds.com \
    --cc=x86@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