arm_spe: fix getting the wrong tid
hulk inclusion category: feature bugzilla: 18657 CVE: NA ------------------------------------------- Now the tid/pid getting is wrong when recording multi-threads. To fix this problem, we introduce task switch events to recognize the thread context, and the timestamp of spe record is necessary too. Signed-off-by: NWei Li <liwei391@huawei.com> Reviewed-by: NXuefeng Wang <wxf.wang@hisilicon.com> Reviewed-by: NTan Xiaojun <tanxiaojun@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
tools/perf/arch/arm64/util/tsc.c
0 → 100644
想要评论请 注册 或 登录