diff options
author | Sandipan Das <sandipan.das@amd.com> | 2022-08-11 14:29:57 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-08-27 00:05:44 +0200 |
commit | f9c732249b110fae9ebf4ce33db4cb3a12c6eae3 (patch) | |
tree | 0faf447e9152652a83ec8cefb5aee0a49820b8f6 /arch/x86/events/utils.c | |
parent | perf/x86: Move branch classifier (diff) | |
download | linux-f9c732249b110fae9ebf4ce33db4cb3a12c6eae3.tar.xz linux-f9c732249b110fae9ebf4ce33db4cb3a12c6eae3.zip |
perf/x86/amd/lbr: Add LbrExtV2 software branch filter support
With AMD Last Branch Record Extension Version 2 (LbrExtV2), it is necessary
to process the branch records further as hardware filtering is not granular
enough for identifying certain types of branches. E.g. to record system
calls, one should record far branches. The filter captures both far calls
and far returns but the irrelevant records are filtered out based on the
branch type as seen by the branch classifier.
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/e51de057517f77788abd393c832e8dea616d489c.1660211399.git.sandipan.das@amd.com
Diffstat (limited to 'arch/x86/events/utils.c')
0 files changed, 0 insertions, 0 deletions