Messages in this thread Patch in this message | | | From | Stephane Eranian <> | Subject | [PATCH v1 3/3] perf record: add support for sampling indirect jumps | Date | Thu, 14 May 2015 23:10:00 +0200 |
| |
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> --- tools/perf/builtin-record.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 5dfe913..860c133 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -773,6 +773,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 }; -- 1.9.1
| |