summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWeihong Zhang <weihong.zhang@intel.com>2023-03-12 14:26:10 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2023-03-16 23:08:40 +0300
commit833c12ce0f4307675beb60b194833c6c7cb506d7 (patch)
tree5f3de37c556c9af65e1d40291225e90df9694d27 /tools/perf/scripts/python/stackcollapse.py
parent72fd6d738c991225c1053ee5003dd45e9c04e0e6 (diff)
downloadlinux-833c12ce0f4307675beb60b194833c6c7cb506d7.tar.xz
selftests/x86/lam: Add inherit test cases for linear-address masking
LAM is enabled per-thread and gets inherited on fork(2)/clone(2). exec() reverts LAM status to the default disabled state. There are two test scenarios: - Fork test cases: These cases were used to test the inheritance of LAM for per-thread, Child process generated by fork() should inherit LAM feature from parent process, Child process can get the LAM mode same as parent process. - Execve test cases: Processes generated by execve() are different from processes generated by fork(), these processes revert LAM status to disabled status. Signed-off-by: Weihong Zhang <weihong.zhang@intel.com> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/all/20230312112612.31869-16-kirill.shutemov%40linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions