From: tip-bot for Stephane Eranian <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
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
Subject: [tip:perf/core] perf record: Add support for sampling indirect jumps
Date: Sun, 7 Jun 2015 10:48:46 -0700 [thread overview]
Message-ID: <tip-5b68164d6a1fdbe02b30bd777d1f686c6d901f28@git.kernel.org> (raw)
In-Reply-To: <1431637800-31061-4-git-send-email-eranian@google.com>
Commit-ID: 5b68164d6a1fdbe02b30bd777d1f686c6d901f28
Gitweb: http://git.kernel.org/tip/5b68164d6a1fdbe02b30bd777d1f686c6d901f28
Author: Stephane Eranian <eranian@google.com>
AuthorDate: Thu, 14 May 2015 23:10:00 +0200
Committer: Ingo Molnar <mingo@kernel.org>
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 <eranian@google.com>
[ Fixup against: f00898f4e20b (perf tools: Move branch option parsing to own file) ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
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 <mingo@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
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
};
next prev parent reply other threads:[~2015-06-07 17:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 21:09 [PATCH v1 0/3] perf: add indirect jump filtering support Stephane Eranian
2015-05-14 21:09 ` [PATCH v1 1/3] perf: add new PERF_SAMPLE_BRANCH_IND_JUMP branch sample type Stephane Eranian
2015-06-07 17:48 ` [tip:perf/core] " tip-bot for Stephane Eranian
2015-05-14 21:09 ` [PATCH v1 2/3] perf/x86: add support for PERF_SAMPLE_BRANCH_IND_JUMP Stephane Eranian
2015-06-07 17:48 ` [tip:perf/core] perf/x86/intel: " tip-bot for Stephane Eranian
2015-05-14 21:10 ` [PATCH v1 3/3] perf record: add support for sampling indirect jumps Stephane Eranian
2015-06-07 17:48 ` tip-bot for Stephane Eranian [this message]
2015-05-14 23:04 ` [PATCH v1 0/3] perf: add indirect jump filtering support Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-5b68164d6a1fdbe02b30bd777d1f686c6d901f28@git.kernel.org \
--to=tipbot@zytor.com \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=eranian@google.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®