Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423142AbbENXEF (ORCPT ); Thu, 14 May 2015 19:04:05 -0400 Received: from mga02.intel.com ([134.134.136.20]:47938 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422877AbbENXEE (ORCPT ); Thu, 14 May 2015 19:04:04 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,431,1427785200"; d="scan'208";a="710417852" Date: Thu, 14 May 2015 16:04:00 -0700 From: Andi Kleen To: Stephane Eranian Cc: linux-kernel@vger.kernel.org, acme@redhat.com, peterz@infradead.org, mingo@elte.hu, jolsa@redhat.com, namhyung@kernel.org, kan.liang@intel.com, dsahern@gmail.com Subject: Re: [PATCH v1 0/3] perf: add indirect jump filtering support Message-ID: <20150514230400.GB32105@tassilo.jf.intel.com> References: <1431637800-31061-1-git-send-email-eranian@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431637800-31061-1-git-send-email-eranian@google.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 Content-Length: 892 Lines: 24 On Thu, May 14, 2015 at 11:09:57PM +0200, Stephane Eranian wrote: > This short patch series adds a new filter to the branch stack > sampling feature. The new filter enables sampling only indirect > jumps. For each the source and target are captured. > > The new branch_sample_type flag is: PERF_SAMPLE_BRANCH_IND_JUMP > > The series provides full support in the perf record tool: > > $ perf record -j ind_jmp ... > > On Intel x86 processors, the filter is implemented using the > LBR hw filter. > > This filter is useful to study targets of indirect jumps. Patches look all good to me. Reviewed-by: Andi Kleen -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/