The main use is for users to disable dumping profile data to the file
for certain processes in case the processes don't have permission to
write to the disks, and trying to do so would result in side effects
such as crashes.
Patch by Yuke Liao (@liaoyuke).
Additional context (Chromium use case):
I think it's better to call lprofSetProfileDumped here, just to make sure we keep the implementation at one place, i.e. inside internal lprofSetProfileDumped function (even though it's exported as well).