diff options
author | Kan Liang <[email protected]> | 2020-07-03 05:49:23 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-07-08 11:38:55 +0200 |
commit | 33cad284497cf40f55ad6029c06011de3538ebed (patch) | |
tree | 5158a4cc971e7a1383653f137ad56c046790e775 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 217c2a633ebb36f1cc6d249f4ef2e4a809d46818 (diff) |
perf/x86/intel/lbr: Create kmem_cache for the LBR context data
A new kmem_cache method is introduced to allocate the PMU specific data
task_ctx_data, which requires the PMU specific code to create a
kmem_cache.
Currently, the task_ctx_data is only used by the Intel LBR call stack
feature, which is introduced since Haswell. The kmem_cache should be
only created for Haswell and later platforms. There is no alignment
requirement for the existing platforms.
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions