[llvm] [ctx_prof] test tool: generate ctxprof bistream from json (PR #100379)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 17:15:11 PDT 2024


================
@@ -0,0 +1,29 @@
+[
+  {
+    "Guid": 1000,
+    "Counters": [1, 2, 3],
+    "Callsites": [
+      [],
+      [
+        {
+          "Guid": 2000,
+          "Counters": [4, 5]
+        },
+        {
+          "Guid": 18446744073709551613,
+          "Counters": [6, 7, 8]
+        }
+    ], 
+    [
+      {
+        "Guid": 3000,
+        "Counters": [40, 50]
+      }
+    ]
+  ]
+  },
+  {
+    "Guid": 18446744073709551612,
+    "Counters": [5, 9, 10]
----------------
teresajohnson wrote:

I don't see these counter values in the tested output

https://github.com/llvm/llvm-project/pull/100379


More information about the llvm-commits mailing list