Unverified Commit f6603b4a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!1282 Stop attempts to auxtrace mmap when not an auxtrace event

Merge Pull Request from: @ci-robot 
 
PR sync from: Junhao He <hejunhao3@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/52FHC7PBPOY7YSYWOZP3EKCP6VNZ4LGN/ 
The patches stop attempts to auxtrace mmap when it is not an
auxtrace event e.g. when mmapping the CPUs on which only sideband is
captured

Adrian Hunter (6):
  libperf evlist: Remove ->idx() per_cpu parameter
  libperf evlist: Move ->idx() into mmap_per_evsel()
  libperf evlist: Add evsel as a parameter to ->idx()
  perf auxtrace: Record whether an auxtrace mmap is needed
  perf auxtrace: Add mmap_needed to auxtrace_mmap_params
  perf auxtrace: Remove auxtrace_mmap_params__set_idx() per_cpu
    parameter


-- 
2.30.0
 
 
Link:https://gitee.com/openeuler/kernel/pulls/1282

 

Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 6848cbbb f1d1ceb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment