perf: add indirect jump filtering support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf: add new PERF_SAMPLE_BRANCH_IND_JUMP branch sample typeinclude/ | +2 | 0 replies | |
| 2/3 | perf/x86: add support for PERF_SAMPLE_BRANCH_IND_JUMParch/ | +9 | 0 replies | |
| 3/3 | perf record: add support for sampling indirect jumpstools/ | +1 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andi Kleen |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/3] perf: add indirect jump filtering support
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.
Stephane Eranian (3):
perf: add new PERF_SAMPLE_BRANCH_IND_JUMP branch sample type perf/x86: add support for PERF_SAMPLE_BRANCH_IND_JUMP perf record: add support for sampling indirect jumps
arch/x86/kernel/cpu/perf_event_intel_lbr.c | 10 +++++++++- include/uapi/linux/perf_event.h | 2 ++ tools/perf/builtin-record.c | 1 + 3 files changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1