The data format expects hexadecimal numbers, thus output one.
Regression was introduced when I hacked in the 32bit support.
if (it == parent->children.end() || it->instructionPointer != ip) {
index = m_index++;
it = parent->children.insert(it, {ip, index, {}});
- fprintf(out, "t %" PRIxPTR " %zu\n", reinterpret_cast<uintptr_t>(ip), parent->index);
+ fprintf(out, "t %" PRIxPTR " %zx\n", reinterpret_cast<uintptr_t>(ip), parent->index);
}
index = it->index;
parent = &(*it);