summaryrefslogtreecommitdiffstats
path: root/sql
diff options
context:
space:
mode:
authorprimiano <primiano@chromium.org>2015-10-30 06:21:40 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-30 13:22:34 +0000
commit186d6bfe41254d6e453a82bed9c8714b70b2af67 (patch)
tree0a5edaa2e965cc98c49689ff1887129d452bed5f /sql
parentb0171a54ebf5185259fbb741d771c573d0934ad7 (diff)
downloadchromium_src-186d6bfe41254d6e453a82bed9c8714b70b2af67.zip
chromium_src-186d6bfe41254d6e453a82bed9c8714b70b2af67.tar.gz
chromium_src-186d6bfe41254d6e453a82bed9c8714b70b2af67.tar.bz2
[tracing] Add names to memory-infra dumpers for debugging
Follow-up CL to crrev.com/1425793002. Adds an extra |name| argument to the memory-infra RegisterDumpProvider methods. This allow to see the names of the dump providers in the trace and diagnose dump providers getting stuck or taking more time than usual. No further behavioral change is introduced by this CL. BUG=547764 TBR=xhwang@chromium.org,simonhatch@chromium.org,jochen@chromium.org,shess@chromium.org,piman@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1406213005 Cr-Commit-Position: refs/heads/master@{#357089}
Diffstat (limited to 'sql')
-rw-r--r--sql/connection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/connection.cc b/sql/connection.cc
index 28beafc..a904632 100644
--- a/sql/connection.cc
+++ b/sql/connection.cc
@@ -355,7 +355,7 @@ Connection::Connection()
query_time_histogram_(NULL),
clock_(new TimeSource()) {
base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
- this);
+ this, "sql::Connection", nullptr);
}
Connection::~Connection() {