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

Side by Side Diff: base/profiler/native_stack_sampler_posix.cc

Issue 2601633002: Use a common buffer across all instances for stack-copy. (Closed)
Patch Set: make StackBuffer word aligned Created 3 years, 7 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "base/profiler/native_stack_sampler.h" 5 #include "base/profiler/native_stack_sampler.h"
6 6
7 namespace base { 7 namespace base {
8 8
9 std::unique_ptr<NativeStackSampler> NativeStackSampler::Create( 9 std::unique_ptr<NativeStackSampler> NativeStackSampler::Create(
10 PlatformThreadId thread_id, 10 PlatformThreadId thread_id,
11 AnnotateCallback annotator, 11 AnnotateCallback annotator,
12 NativeStackSamplerTestDelegate* test_delegate) { 12 NativeStackSamplerTestDelegate* test_delegate) {
13 return std::unique_ptr<NativeStackSampler>(); 13 return std::unique_ptr<NativeStackSampler>();
14 } 14 }
15 15
16 std::unique_ptr<NativeStackSampler::StackBuffer>
17 NativeStackSampler::CreateStackBuffer() {
18 return nullptr;
19 }
20
16 } // namespace base 21 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698