aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMao Han <[email protected]>2019-06-04 10:54:49 +0000
committerGuo Ren <[email protected]>2019-07-19 06:21:36 +0000
commitd41435d9b2b3f8fb58dc1258220401ad16aa8a19 (patch)
tree540a4403883432901eb55b4ee166b281addeaa53 /tools/perf/scripts/python/check-perf-trace.py
parentcsky: Add pmu interrupt support (diff)
downloadkernel-d41435d9b2b3f8fb58dc1258220401ad16aa8a19.tar.gz
kernel-d41435d9b2b3f8fb58dc1258220401ad16aa8a19.zip
csky: Fix perf record in kernel/user space
csky_pmu_event_init is called several times during the perf record initialzation. After configure the event counter in either kernel space or user space, csky_pmu_event_init is called twice with no attr specified. Configuration will be overwritten with sampling in both kernel space and user space. --all-kernel/--all-user is useless without this patch applied. Signed-off-by: Mao Han <[email protected]> Signed-off-by: Guo Ren <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions