<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/153469>153469</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Is it possible to have a `__llvm_profile_get_counters`?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
alpaylan
</td>
</tr>
</table>
<pre>
I am curious if it's possible to read the profile counters in the runtime, similar to how we can run `__llvm_profile_reset_counters` for resetting them or `__llvm_profile_dump` for dumping them in the file.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskd2OpCAQhZ8GbypjEBttL7jYn5jMUxiUUmuDYijozrz9RtOzm0nmClKc8-VwyjLTsiMaoX8K_buwOa0hGusP--HtXozBfZh3sBtMOVLIDDQDJaFahiMw0-gRUoCI1kFaEY4YZvIIU8h7wshA-zWPeU-0oVC_gGkjb-NpW8MTngiT3U8BiEYOg_ePbXhhhoiMafiEiUbCHCJc00T7cqI3CPEbp8vb8ak_7__Ur0CnqCycqV1Xd7ZAU7VaV1UltS5W47Sa5qrTTo9uvrumrbtunuTUSuxwarAgo6TS8l7V1V1LrUt0cnSjRtmq-4yyEzeJmyVfnqnKEJeCmDOaSte3piu8HdHzVbtSOz7hehVKnVuI5jS9jXlhcZOeOPF_TKLk0bwzUPqygtU-EOw3TSxfGxR1X-TozZrSwaL-IVQvVL9QWvNYTmETqj_tr-PtiOEPTkmo_krIQvWvLzyM-hsAAP__BaTBXA">