From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161427AbcFBQHj (ORCPT ); Thu, 2 Jun 2016 12:07:39 -0400 Received: from mga01.intel.com ([192.55.52.88]:8831 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932191AbcFBQHi (ORCPT ); Thu, 2 Jun 2016 12:07:38 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,407,1459839600"; d="scan'208";a="820347810" Date: Thu, 2 Jun 2016 09:07:04 -0700 From: Andi Kleen To: David Carrillo-Cisneros Cc: linux-kernel@vger.kernel.org, "x86@kernel.org" , Ingo Molnar , "Yan, Zheng" , Kan Liang , Peter Zijlstra , Stephane Eranian Subject: Re: [PATCH 2/3] perf/x86/intel: fix for MSR_LAST_BRANCH_FROM_x quirk when no TSX Message-ID: <20160602160704.GS22049@tassilo.jf.intel.com> References: <1464835323-33872-1-git-send-email-davidcc@google.com> <1464835323-33872-3-git-send-email-davidcc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464835323-33872-3-git-send-email-davidcc@google.com> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > $ ./lbr_perf record --call-graph lbr -e cycles:k ./cqm_easy > > where lbr_perf is the patched perf tool, that allows to specify :k > on lbr mode. The above command will trigger a #GPF : Why would you want to do that? We usually have frame pointers for the kernel, so callstack LBR for the kernel is pointless. -Andi