Commit 6607fc0d authored by Yicong Yang's avatar Yicong Yang Committed by shiyongbang
Browse files

hwtracing: hisi_ptt: Don't try to attach a task

maillist inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I892TR
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7d52e2cfef91fc504b4ea7df88fb680fb0118cee



----------------------------------------------------------------------

PTT is an uncore PMU and shouldn't be attached to any task. Block
the usage in pmu::event_init().

Signed-off-by: default avatarYicong Yang <yangyicong@hisilicon.com>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20231010084731.30450-5-yangyicong@huawei.com


Signed-off-by: default avatarshiyongbang <shiyongbang@huawei.com>
parent 654bbda7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment