Commit fca2b6f6 authored by Junhao He's avatar Junhao He
Browse files

perf auxtrace ptt: Record whether an auxtrace mmap is needed

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7HI80


CVE: NA

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

Add a flag needs_auxtrace_mmap to record whether an auxtrace mmap is
needed, in preparation for correctly determining whether or not an
auxtrace mmap is needed.

The change was added in the mainline [1], but it was deleted
when upstream openEuler for fixes build error. openEuler OLK-5.10
now has merge evsel->needs_auxtrace_mmap. Therefore, backport this
modification to OpenEuler OLK-5.10.

[1] commit 057381a7 ("perf auxtrace arm64: Add support for
HiSilicon PCIe Tune and Trace device driver")

Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
parent 19a9d13a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment