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

Side by Side Diff: chrome/common/profiling/memlog_allocator_shim.h

Issue 2949703002: Add OOP memory logging allocator shim (Closed)
Patch Set: More comments Created 3 years, 6 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_COMMON_PROFILING_MEMLOG_ALLOCATOR_SHIM_H_
6 #define CHROME_COMMON_PROFILING_MEMLOG_ALLOCATOR_SHIM_H_
7
8 #include "chrome/common/profiling/memlog_sender_pipe.h"
9
10 // This is a temporary allocator shim for testing out-of-process heap
11 // profiling.
12 //
13 // TODO(brettw) replace this with the base allocator shim, plus a way to get
14 // the events at the Chrome layer.
15
16 namespace profiling {
17
18 void InitAllocatorShim(MemlogSenderPipe* sender_pipe);
19
20 void AllocatorShimLogAlloc(void* address, size_t sz);
21 void AllocatorShimLogFree(void* address);
22
23 } // namespace profiling
24
25 #endif // CHROME_COMMON_PROFILING_MEMLOG_ALLOCATOR_SHIM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698