From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966108AbcAZOag (ORCPT ); Tue, 26 Jan 2016 09:30:36 -0500 Received: from mail.kernel.org ([198.145.29.136]:45857 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966000AbcAZOaS (ORCPT ); Tue, 26 Jan 2016 09:30:18 -0500 Date: Tue, 26 Jan 2016 11:30:14 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: Jiri Olsa , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] perf tools: Fix seg fault with Intel PT Message-ID: <20160126143014.GD4361@kernel.org> References: <1453809921-24596-1-git-send-email-adrian.hunter@intel.com> <1453809921-24596-2-git-send-email-adrian.hunter@intel.com> <20160126132317.GA4361@kernel.org> <56A775D7.3050905@intel.com> <20160126135436.GB4361@kernel.org> <56A77C18.60407@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56A77C18.60407@intel.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Jan 26, 2016 at 04:00:56PM +0200, Adrian Hunter escreveu: > On 26/01/16 15:54, Arnaldo Carvalho de Melo wrote: > > [acme@ssdandy linux]$ > > So, this needs: > > 1) A machine that supports Intel PT > > 2) A kernel that supports Intel PT > > 3) A kernel that doesn't have perf_event_attr.context_switch, so that it tries > > to use sched:sched_switch > > 4) an unreadable tracefs > > What was the kernel where you stumbled on this problem? What machine? > Kernel was v4.2, machine was Broadwell. > context_switch was added in v4.3 I think, and PT was v4.1 > so I guess v4.1 and v4.2 are affected. Thanks for the info, my new main machine is a t450s, so Broadwell, will boot with 4.1/4.2. - Arnaldo