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

Side by Side Diff: tools/gn/bootstrap/bootstrap.py

Issue 1900223003: [tracing] Ignore tracing allocations in heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make heap_profiler.h and rebase Created 4 years, 8 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This file isn't officially supported by the Chromium project. It's maintained 6 # This file isn't officially supported by the Chromium project. It's maintained
7 # on a best-effort basis by volunteers, so some things may be broken from time 7 # on a best-effort basis by volunteers, so some things may be broken from time
8 # to time. If you encounter errors, it's most often due to files in base that 8 # to time. If you encounter errors, it's most often due to files in base that
9 # have been added or moved since somebody last tried this script. Generally 9 # have been added or moved since somebody last tried this script. Generally
10 # such errors are easy to diagnose. 10 # such errors are easy to diagnose.
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 'base/threading/thread.cc', 287 'base/threading/thread.cc',
288 'base/threading/thread_checker_impl.cc', 288 'base/threading/thread_checker_impl.cc',
289 'base/threading/thread_collision_warner.cc', 289 'base/threading/thread_collision_warner.cc',
290 'base/threading/thread_id_name_manager.cc', 290 'base/threading/thread_id_name_manager.cc',
291 'base/threading/thread_local_storage.cc', 291 'base/threading/thread_local_storage.cc',
292 'base/threading/thread_restrictions.cc', 292 'base/threading/thread_restrictions.cc',
293 'base/threading/worker_pool.cc', 293 'base/threading/worker_pool.cc',
294 'base/time/time.cc', 294 'base/time/time.cc',
295 'base/timer/elapsed_timer.cc', 295 'base/timer/elapsed_timer.cc',
296 'base/timer/timer.cc', 296 'base/timer/timer.cc',
297 'base/trace_event/heap_profiler.cc',
297 'base/trace_event/heap_profiler_allocation_context.cc', 298 'base/trace_event/heap_profiler_allocation_context.cc',
298 'base/trace_event/heap_profiler_allocation_context_tracker.cc', 299 'base/trace_event/heap_profiler_allocation_context_tracker.cc',
299 'base/trace_event/heap_profiler_allocation_register.cc', 300 'base/trace_event/heap_profiler_allocation_register.cc',
300 'base/trace_event/heap_profiler_heap_dump_writer.cc', 301 'base/trace_event/heap_profiler_heap_dump_writer.cc',
301 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', 302 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc',
302 'base/trace_event/heap_profiler_type_name_deduplicator.cc', 303 'base/trace_event/heap_profiler_type_name_deduplicator.cc',
303 'base/trace_event/memory_allocator_dump.cc', 304 'base/trace_event/memory_allocator_dump.cc',
304 'base/trace_event/memory_allocator_dump_guid.cc', 305 'base/trace_event/memory_allocator_dump_guid.cc',
305 'base/trace_event/memory_dump_manager.cc', 306 'base/trace_event/memory_dump_manager.cc',
306 'base/trace_event/memory_dump_request_args.cc', 307 'base/trace_event/memory_dump_request_args.cc',
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 cmd.append('-v') 514 cmd.append('-v')
514 cmd.append('gn') 515 cmd.append('gn')
515 check_call(cmd) 516 check_call(cmd)
516 517
517 if not options.debug: 518 if not options.debug:
518 check_call(['strip', os.path.join(build_dir, 'gn')]) 519 check_call(['strip', os.path.join(build_dir, 'gn')])
519 520
520 521
521 if __name__ == '__main__': 522 if __name__ == '__main__':
522 sys.exit(main(sys.argv[1:])) 523 sys.exit(main(sys.argv[1:]))
OLDNEW
« base/trace_event/heap_profiler.h ('K') | « base/trace_event/trace_log.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698