Re: [GIT PULL 0/3] perf/urgent fixes

From: Ingo Molnar
Date: Thu Feb 04 2016 - 02:56:20 EST



* Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:

> 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 270bde1e76f400d81f8d0ab68905a18ee17fa2e8:
>
> perf probe: Search both .eh_frame and .debug_frame sections for probe location (2016-02-02 13:30:16 -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 segfault in intel pt, by making it follow the 'struct thread' lifetime cycle
> checking expectations, noticed for instance, when processing perf.data files with
> Intel PT data using 'perf script' and when exiting 'perf report' (Adrian Hunter)
>
> - Fix CFI usage from .eh_frame and .debug_frame, which sometimes requires that we
> fallback from .eh_frame to .debug_frame in architectures such as PowerPC (Hemant Kumar)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Adrian Hunter (2):
> perf tools: tracepoint_error() can receive e=NULL, robustify it
> perf tools: Fix thread lifetime related segfaut in intel_pt
>
> Hemant Kumar (1):
> perf probe: Search both .eh_frame and .debug_frame sections for probe location
>
> tools/perf/util/intel-pt.c | 9 ++++++
> tools/perf/util/parse-events.c | 3 ++
> tools/perf/util/probe-finder.c | 62 +++++++++++++++++++++++++-----------------
> tools/perf/util/probe-finder.h | 5 +++-
> 4 files changed, 53 insertions(+), 26 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo