Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752982AbbFGRt2 (ORCPT ); Sun, 7 Jun 2015 13:49:28 -0400 Received: from terminus.zytor.com ([198.137.202.10]:57694 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753435AbbFGRtR (ORCPT ); Sun, 7 Jun 2015 13:49:17 -0400 Date: Sun, 7 Jun 2015 10:48:46 -0700 From: tip-bot for Stephane Eranian Message-ID: Cc: ak@linux.intel.com, peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, eranian@google.com, torvalds@linux-foundation.org, hpa@zytor.com, tglx@linutronix.de, akpm@linux-foundation.org Reply-To: hpa@zytor.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, eranian@google.com, ak@linux.intel.com, mingo@kernel.org, peterz@infradead.org, tglx@linutronix.de, akpm@linux-foundation.org In-Reply-To: <1431637800-31061-4-git-send-email-eranian@google.com> References: <1431637800-31061-4-git-send-email-eranian@google.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf record: Add support for sampling indirect jumps Git-Commit-ID: 5b68164d6a1fdbe02b30bd777d1f686c6d901f28 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2167 Lines: 55 Commit-ID: 5b68164d6a1fdbe02b30bd777d1f686c6d901f28 Gitweb: http://git.kernel.org/tip/5b68164d6a1fdbe02b30bd777d1f686c6d901f28 Author: Stephane Eranian AuthorDate: Thu, 14 May 2015 23:10:00 +0200 Committer: Ingo Molnar CommitDate: Sun, 7 Jun 2015 16:08:31 +0200 perf record: Add support for sampling indirect jumps This patch adds a new branch sampling type support for indirect jumps: perf record -j ind_jmp ....... It enables analysis of indirect jumps targets. It requires kernel and possibly hardware support to operate correctly. Signed-off-by: Stephane Eranian [ Fixup against: f00898f4e20b (perf tools: Move branch option parsing to own file) ] Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Andi Kleen Cc: Andrew Morton Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: acme@redhat.com Cc: dsahern@gmail.com Cc: jolsa@redhat.com Cc: kan.liang@intel.com Cc: namhyung@kernel.org Link: http://lkml.kernel.org/r/1431637800-31061-4-git-send-email-eranian@google.com Signed-off-by: Ingo Molnar Signed-off-by: Ingo Molnar --- tools/perf/util/parse-branch-options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/parse-branch-options.c b/tools/perf/util/parse-branch-options.c index 9d99943..a3b1e13 100644 --- a/tools/perf/util/parse-branch-options.c +++ b/tools/perf/util/parse-branch-options.c @@ -26,6 +26,7 @@ static const struct branch_mode branch_modes[] = { BRANCH_OPT("in_tx", PERF_SAMPLE_BRANCH_IN_TX), BRANCH_OPT("no_tx", PERF_SAMPLE_BRANCH_NO_TX), BRANCH_OPT("cond", PERF_SAMPLE_BRANCH_COND), + BRANCH_OPT("ind_jmp", PERF_SAMPLE_BRANCH_IND_JUMP), BRANCH_END }; -- 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/