i was attempting to use the latest version of userspace program, perf,
for my testing. however, i realize that this may not be appropriate as
perf should ideally be paired with the corresponding version of the
Linux kernel.
with newer kernels, we no longer need to specify specific cortex events
to
Merging commit 5c816728651ae425954542fed64d21 into mtk-v5.15-dev, and
the results remain the same:
```
root@genio-1200-evk:~# sudo taskset -c 7 perf stat -e
armv8_cortex_a55/cpu_cycles/ -e armv8_cortex_a78/cpu_cycles/ -e cycles sleep 1
Performance counter stats for 'sleep 1':
armv8_
Hi Jianhui,
Unfortunately,
1. This issue also occurs to mtk-v6.6 (our work-in-progress kernel branch)
which is based on Linux 6.6.22.
Could you show me the kernel git repo that Ubuntu Noble is using that
does not have this issue?
2. After cherry-pick the following commit to mtk-v5.15, the
Hi Jianhui,
Thanks for letting us know, I can reproduce this issue in IoT Yocto's
rity-demo-image on Genio 1200 EVK:
```
root@genio-1200-evk:~# sudo taskset -c 7 perf stat -e
armv8_cortex_a55/cpu_cycles/ -e armv8_cortex_a78/cpu_cycles/ -e cycles stress
-c 7 --timeout 1s
stress-ng: info: [3843]
** Also affects: linux-mtk (Ubuntu Noble)
Importance: Undecided
Status: New
** No longer affects: linux-mtk (Ubuntu Noble)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060063
Title:
PMU
** Changed in: linux-mtk (Ubuntu)
Status: Invalid => In Progress
** Changed in: linux-mtk (Ubuntu)
Assignee: (unassigned) => Jian Hui Lee (jianhuilee)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.
the issue could be also reproduced on
kirkstone_k5.15_v24.0_genio-700-evk_private_240626082053.tar.gz
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060063
Title:
PMU counters for Cortex-A78 not wor
5.15 kernel needs at least backporting the following patch to make the perf
working as expected:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/perf/arm_pmu.c?id=5c816728651ae425954542fed64d21d40cb75a9f
$ sudo taskset -c 7 ./perf stat -e armv8_cortex_a55/cpu_cy
** Changed in: linux-mtk (Ubuntu Jammy)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060063
Title:
PMU counters for Cortex-A78 not working correctly
To manage no
v6.11rc2:
$ sudo taskset -c 7 ./perf stat -e cycles sleep 5
Performance counter stats for 'sleep 5':
armv8_cortex_a55/cycles/
(0.00%)
1763635 armv8_cortex_a78/cycles/
** Also affects: linux-mtk (Ubuntu Jammy)
Importance: Undecided
Status: New
** Changed in: linux-mtk (Ubuntu Jammy)
Assignee: (unassigned) => Jian Hui Lee (jianhuilee)
** Changed in: linux-mtk (Ubuntu)
Status: New => Invalid
--
You received this bug notification because yo
11 matches
Mail list logo