Thread (11 messages) flat view 11 messages, 4 authors, 2021-01-26

Re: [PATCH v2 3/3] perf vendor events: Add Fujitsu A64FX V1.2 pmu event

From: John Garry <hidden>
Date: 2021-01-21 17:45:09
Also in: lkml

On 21/01/2021 10:54, Shunsuke Nakamura wrote:
+  {
+    "PublicDescription": "This event counts each correction to the predicted program flow that occurs because of a misprediction from, or no prediction from, the branch prediction resources and that relates to instructions that the branch prediction resources are capable of predicting.",
+    "EventCode": "0x10",
+    "EventName": "BR_MIS_PRED",
I think that we need to the same here as the IMPDEF recommended events - 
add a common JSON to reduce the duplication.

I had done work on this for current CPUs, but never got it finished. Let 
me check the status.

Cheers,
John

Ps, arm have put JSONs here for their cores:

https://github.com/ARM-software/data/tree/master/pmu

But unfortunately the schema does not suit perf.

I raised an issue, but no response.

I'm just wondering if you hand copied the JSON data.

+    "BriefDescription": "This event counts each correction to the predicted program flow that occurs because of a misprediction from, or no prediction from, the branch prediction resources and that relates to instructions that the branch prediction resources are capable of predicting."
+  },

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help