perf cs-etm: add error logging to cs_etm_is_etmv4()
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I79882 CVE: NA ---------------------------------------------------------------------- When setting up SMT, not every process has an ETM, so the path ".../cs_etm/cpux/trcidr/trcidr0" does not exist, and the function perf_pmu__scan_file() will return an error. Log a error when read fails. Signed-off-by: NJunhao He <hejunhao3@huawei.com>
Showing
想要评论请 注册 或 登录