[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)
Lei Wang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 11 17:35:42 PDT 2024
================
@@ -246,10 +270,32 @@ template <> struct MappingTraits<bolt::BinaryProfileHeader> {
}
};
+namespace bolt {
+struct PseudoProbeDesc {
+ std::vector<Hex64> GUID;
+ std::vector<Hex64> Hash;
+ std::vector<uint32_t> GUIDHash; // Index of hash for that GUID in Hash
----------------
wlei-llvm wrote:
Give another name? IIUC, it's not Hash but Index.
>// Index of hash for that GUID in Hash
I don't fully get this, does this mean we have different Hashes for the same GUID, is this a global index or just the index for different Hash but the same GUID.
https://github.com/llvm/llvm-project/pull/107137
More information about the llvm-branch-commits
mailing list