[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1462886313-13660-1-git-send-email-alexander.shishkin@linux.intel.com>
Date: Tue, 10 May 2016 16:18:31 +0300
From: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Thomas Gleixner <tglx@...utronix.de>, x86@...nel.org,
Borislav Petkov <bp@...en8.de>, Ingo Molnar <mingo@...hat.com>,
linux-kernel@...r.kernel.org, vince@...ter.net, eranian@...gle.com,
Arnaldo Carvalho de Melo <acme@...radead.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Markus Metzger <markus.t.metzger@...el.com>
Subject: [PATCH 0/2] perf, pt: Fix massive data losses
Hi Peter,
Markus reported that PT is losing a lot of its data in cpu-wide mode.
There are two problems in play here, both are amplified by the fact
that cpu-wide events don't normally get re-scheduled, so if we don't
disable them when their buffers are full, they get forever stuck.
Hence two patches. I propose to put these through perf/urgent and also
stable trees so that people with older kernels still get to collect
humongous amounts of PT traces in cpu-wide mode.
Alexander Shishkin (2):
perf/x86/intel/pt: Generate PMI in the STOP region as well
perf: Disable the event on a truncated AUX record
arch/x86/events/intel/pt.c | 2 ++
kernel/events/ring_buffer.c | 10 +++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
--
2.8.1
Powered by blists - more mailing lists