Messages in this thread | | | Date | Thu, 5 Jan 2023 19:02:04 +0800 | Subject | Re: [PATCH v5 1/6] perf vendor events arm64: Add topdown L1 metrics for neoverse-n2 | From | Jing Zhang <> |
| |
在 2023/1/5 下午6:13, John Garry 写道: > Maybe during runtime we could create a pseudo metric/event for SLOT. This metric would be created during init, and it always just returns the value which was read from PMMIR_EL1. > > I'm not sure how well that would play will trying to resolve metrics when building generated pmu-events.c, but I don't think it's all too difficult to achieve. >
I'll try it in the v7 patch. I want to release the v6 patch first, to correct a mistake I made. :)
> Have you actually read this value for the n2 core? Does look correct?
Yes, I read it in n2 and it has a value of 5 which is correct. If the STALL_SLOT event is not implemented, PMMIR_EL1.SLOT might read as zero.
| |