perf/core: Add speculation info to branch entries
mainline inclusion from mainline-v6.1-rc1 commit 93315e46 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8EC9K CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=93315e46b000fc80fff5d53c3f444417fb3df6de -------------------------------- Add a new "spec" bitfield to branch entries for providing speculation information. This will be populated using hints provided by branch sampling features on supported hardware. The following cases are covered: * No branch speculation information is available * Branch is speculative but taken on the wrong path * Branch is non-speculative but taken on the correct path * Branch is speculative and taken on the correct path Suggested-by:Stephane Eranian <eranian@google.com> Signed-off-by:
Sandipan Das <sandipan.das@amd.com> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/834088c302faf21c7b665031dd111f424e509a64.1660211399.git.sandipan.das@amd.com Signed-off-by:
Junhao He <hejunhao3@huawei.com>
Loading
Please sign in to comment