On a Ubuntu server 14.04 (4.4.0-62-generic) on Intel Xeon CPU E5-2698 v4, I am trying to collect hardware event counts for ArangoDB with Intel VTune. But if I start collecting, the server will die right away.
I think the reason is that ArangoDB is collecting hardware events internally. So I tried to turn off the ArangoDB's statistics gathering.
--server.statistics value
But still the same.
How can I collect hardware events of ArangoDB with profiling tool?