!1045 perf: hisi: delete global enable pmu from xxx_write_counter()
Merge Pull Request from: @hejunhao3 UC PMU global enable register be setup in pmu callback pmu::enable(), which also be will setup in pmu::start()->xxx_write_counter(). And it will start statistical information when callback pmu:start() return, not is pmu:enable() return. Therefore the driver counter counts more data than normal. Link:https://gitee.com/openeuler/kernel/pulls/1045 Reviewed-by: Yang Shen <shenyang39@huawei.com> Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com>
Showing
想要评论请 注册 或 登录