diff options
-rw-r--r-- | tools/perf/Documentation/perf-record.txt | 1 | ||||
-rw-r--r-- | tools/perf/util/parse-branch-options.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index b0e9e921d534..9bdea047c5db 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt | |||
@@ -332,6 +332,7 @@ following filters are defined: | |||
332 | - no_tx: only when the target is not in a hardware transaction | 332 | - no_tx: only when the target is not in a hardware transaction |
333 | - abort_tx: only when the target is a hardware transaction abort | 333 | - abort_tx: only when the target is a hardware transaction abort |
334 | - cond: conditional branches | 334 | - cond: conditional branches |
335 | - save_type: save branch type during sampling in case binary is not available later | ||
335 | 336 | ||
336 | + | 337 | + |
337 | The option requires at least one branch type among any, any_call, any_ret, ind_call, cond. | 338 | The option requires at least one branch type among any, any_call, any_ret, ind_call, cond. |
diff --git a/tools/perf/util/parse-branch-options.c b/tools/perf/util/parse-branch-options.c index 38fd11504015..e71fb5f31e84 100644 --- a/tools/perf/util/parse-branch-options.c +++ b/tools/perf/util/parse-branch-options.c | |||
@@ -28,6 +28,7 @@ static const struct branch_mode branch_modes[] = { | |||
28 | BRANCH_OPT("cond", PERF_SAMPLE_BRANCH_COND), | 28 | BRANCH_OPT("cond", PERF_SAMPLE_BRANCH_COND), |
29 | BRANCH_OPT("ind_jmp", PERF_SAMPLE_BRANCH_IND_JUMP), | 29 | BRANCH_OPT("ind_jmp", PERF_SAMPLE_BRANCH_IND_JUMP), |
30 | BRANCH_OPT("call", PERF_SAMPLE_BRANCH_CALL), | 30 | BRANCH_OPT("call", PERF_SAMPLE_BRANCH_CALL), |
31 | BRANCH_OPT("save_type", PERF_SAMPLE_BRANCH_TYPE_SAVE), | ||
31 | BRANCH_END | 32 | BRANCH_END |
32 | }; | 33 | }; |
33 | 34 | ||