Revert "flamegraph: try to keep the node order just in case"

This reverts commit 104b3045ce8730f3f1533ea726c315e6ebc9e50d.
split some APIs
<3 regex filters