Commit 06364f69 authored by Kan Liang's avatar Kan Liang Committed by Yunying Sun
Browse files

perf: Add branch_sample_call_stack

mainline inclusion
from mainline-v6.8-rc1
commit 1f2376cd03dd3b965d130ed46a7c92769d614ba1
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8XR3G
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1f2376cd03dd3b965d130ed46a7c92769d614ba1



-------------------------------------

Add a helper function to check call stack sample type.

The later patch will invoke the function in several places.

Intel-SIG: commit 1f2376cd03dd perf: Add branch_sample_call_stack
Backport LBR branch counter support to kernel v6.6.

Signed-off-by: default avatarKan Liang <kan.liang@linux.intel.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20231025201626.3000228-3-kan.liang@linux.intel.com


Signed-off-by: default avatarYunying Sun <yunying.sun@intel.com>
parent 05418157
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment