[tracing] Introduce MemoryDumpArgs to enable light and heavy dumps

The memory dump providers dump a lot of details at each dump which
causes the trace size to be huge. So, this CL introduces MemoryDumpArgs
that will be passed to each DumpProvider as an argument of OnMemoryDump.
The args specify a high or low level of detail. This provides a means to
request a light or heavy dump from the providers when necessary.

TBR=reed@google.com, jam@chromium.org
BUG=499731
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

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


CrOS-Libchrome-Original-Commit: 90694aeec592b22686ad54bc1a225c2b44cc468e
17 files changed
tree: 0cfd717608579218765d8c73e20438fc9c27b381
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/