Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: tools/valgrind/common.py

Issue 8960011: base::Bind: Remove NewRunnableFunction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lame TODO. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | webkit/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging 5 import logging
6 import os 6 import os
7 import signal 7 import signal
8 import subprocess 8 import subprocess
9 import sys 9 import sys
10 import time 10 import time
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 # Don't show our testing framework: 162 # Don't show our testing framework:
163 ("testing::Test::Run", "_ZN7testing4Test3RunEv"), 163 ("testing::Test::Run", "_ZN7testing4Test3RunEv"),
164 ("testing::TestInfo::Run", "_ZN7testing8TestInfo3RunEv"), 164 ("testing::TestInfo::Run", "_ZN7testing8TestInfo3RunEv"),
165 ("testing::internal::Handle*ExceptionsInMethodIfSupported*", 165 ("testing::internal::Handle*ExceptionsInMethodIfSupported*",
166 "_ZN7testing8internal3?Handle*ExceptionsInMethodIfSupported*"), 166 "_ZN7testing8internal3?Handle*ExceptionsInMethodIfSupported*"),
167 167
168 # Depend on scheduling: 168 # Depend on scheduling:
169 ("MessageLoop::Run", "_ZN11MessageLoop3RunEv"), 169 ("MessageLoop::Run", "_ZN11MessageLoop3RunEv"),
170 ("MessageLoop::RunTask", "_ZN11MessageLoop7RunTask*"), 170 ("MessageLoop::RunTask", "_ZN11MessageLoop7RunTask*"),
171 ("RunnableMethod*", "_ZN14RunnableMethod*"), 171 ("RunnableMethod*", "_ZN14RunnableMethod*"),
172 ("RunnableFunction*", "_ZN16RunnableFunction*"),
173 ("DispatchToMethod*", "_Z*16DispatchToMethod*"), 172 ("DispatchToMethod*", "_Z*16DispatchToMethod*"),
174 ("base::internal::Invoker*::DoInvoke*", 173 ("base::internal::Invoker*::DoInvoke*",
175 "_ZN4base8internal8Invoker*DoInvoke*"), # Invoker{1,2,3} 174 "_ZN4base8internal8Invoker*DoInvoke*"), # Invoker{1,2,3}
176 ("base::internal::RunnableAdapter*::Run*", 175 ("base::internal::RunnableAdapter*::Run*",
177 "_ZN4base8internal15RunnableAdapter*Run*"), 176 "_ZN4base8internal15RunnableAdapter*Run*"),
178 ] 177 ]
179 178
180 ret = [] 179 ret = []
181 for pair in need_mangling: 180 for pair in need_mangling:
182 ret.append(pair[1 if mangled else 0]) 181 ret.append(pair[1 if mangled else 0])
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 return False 229 return False
231 230
232 print "-----------------------------------------------------" 231 print "-----------------------------------------------------"
233 print "Suppressions used:" 232 print "Suppressions used:"
234 print " count name" 233 print " count name"
235 for (name, count) in sorted(suppcounts.items(), key=lambda (k,v): (v,k)): 234 for (name, count) in sorted(suppcounts.items(), key=lambda (k,v): (v,k)):
236 print "%7d %s" % (count, name) 235 print "%7d %s" % (count, name)
237 print "-----------------------------------------------------" 236 print "-----------------------------------------------------"
238 sys.stdout.flush() 237 sys.stdout.flush()
239 return True 238 return True
OLDNEW
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | webkit/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698