diff options
author | Junhao He <hejunhao3@huawei.com> | 2023-10-10 11:47:31 +0300 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2023-11-13 12:43:01 +0300 |
commit | 55e0a2fb0cb5ab7c9c99c1ad4d3e6954de8b73a0 (patch) | |
tree | 290afee22dbc0a8da4bedd53389f904a82a2a7f7 /fs/userfaultfd.c | |
parent | 287e82cf69aa264a52bc37591bd0eb407e20f85c (diff) | |
download | linux-55e0a2fb0cb5ab7c9c99c1ad4d3e6954de8b73a0.tar.xz |
hwtracing: hisi_ptt: Add dummy callback pmu::read()
When start trace with perf option "-C $cpu" and immediately stop it
with SIGTERM or others, the perf core will invoke pmu::read() while
the driver doesn't implement it. Add a dummy pmu::read() to avoid
any issues.
Fixes: ff0de066b463 ("hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device")
Signed-off-by: Junhao He <hejunhao3@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20231010084731.30450-6-yangyicong@huawei.com
Diffstat (limited to 'fs/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions