[tracing] Throttle rate of heavy dumps and support to request light/heavy dumps

Currently all the dump providers dump detailed dumps every periodic
dump. This makes the trace files huge. So, this CL throttles down the
rate of heavy dumps of all the dump providers and removes temporary
hacks. Along with this, this CL also adds support to request light and
heavy dumps by adding MemoryDumpArgs as param to RequestGlobalDump()

TBR=pfeldman@chromium.org
BUG=499731

Review URL: https://codereview.chromium.org/1267963002

Cr-Commit-Position: refs/heads/master@{#342145}


CrOS-Libchrome-Original-Commit: 33f2d3a5b276b70040adfd21edf364bd666b0aa2
5 files changed
tree: e3c45e630108df68580edb2a2de34848603bd917
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/