[GIT PULL 0/2] perf/urgent fixes

From: Arnaldo Carvalho de Melo
Date: Mon Feb 01 2016 - 12:13:33 EST


See http://www.infradead.org/rpr.html

Hi Ingo,

Please consider pulling,

- Arnaldo

The following changes since commit 28fb8a5b6e233fc384fb27f9f91f811b40ba9cf8:

Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2016-01-30 09:15:49 +0100)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo

for you to fetch changes up to d3a37ea00a9fbc0f4fa91647c9ae66c038ba65e3:

perf tools: Fix fault in error patch of intel_pt_process_auxtrace_info() (2016-02-01 12:03:35 -0300)

----------------------------------------------------------------
perf/urgent fixes:

- tracepoint_error() can receive e=NULL, robustify it, fixes a problem noticed
with a very specific combination: Machine with Intel PT (e.g. Broadwell),
kernel with no perf_event_attr.context_switch feature (e.g. 4.2) and unreadable
tracefs (for instance !root users), making the fallback from
perf_event_attr.context_switch to the sched:sched_switch tracepoint to fail
reading its info from tracefs, fix it. (Adrian Hunter)

- Fix fault in error path of intel_pt_process_auxtrace_info(), obeying
the existing 'struct thread' lifetime cycle checking expectations, noticed
for instance, when processing perf.data files with Intel PT data using
'perf script' (Wang Nan)

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

----------------------------------------------------------------
Adrian Hunter (1):
perf tools: tracepoint_error() can receive e=NULL, robustify it

Wang Nan (1):
perf tools: Fix fault in error patch of intel_pt_process_auxtrace_info()

tools/perf/util/intel-pt.c | 4 ++++
tools/perf/util/parse-events.c | 3 +++
2 files changed, 7 insertions(+)