Add kcachegrind support.
Don't generate lots of debugging output unless we need to.
Make sure the profile data is unmarshallable as profile data.