| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef BASE_DEBUG_PROFILER_H | 5 #ifndef BASE_DEBUG_PROFILER_H_ |
| 6 #define BASE_DEBUG_PROFILER_H | 6 #define BASE_DEBUG_PROFILER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 | 12 |
| 13 // The Profiler functions allow usage of the underlying sampling based | 13 // The Profiler functions allow usage of the underlying sampling based |
| 14 // profiler. If the application has not been built with the necessary | 14 // profiler. If the application has not been built with the necessary |
| 15 // flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions | 15 // flags (-DENABLE_PROFILING and not -DNO_TCMALLOC) then these functions |
| 16 // are noops. | 16 // are noops. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // for each of those purposes, find and return the function in question. | 80 // for each of those purposes, find and return the function in question. |
| 81 // Otherwise returns NULL. | 81 // Otherwise returns NULL. |
| 82 BASE_EXPORT ReturnAddressLocationResolver GetProfilerReturnAddrResolutionFunc(); | 82 BASE_EXPORT ReturnAddressLocationResolver GetProfilerReturnAddrResolutionFunc(); |
| 83 BASE_EXPORT DynamicFunctionEntryHook GetProfilerDynamicFunctionEntryHookFunc(); | 83 BASE_EXPORT DynamicFunctionEntryHook GetProfilerDynamicFunctionEntryHookFunc(); |
| 84 BASE_EXPORT AddDynamicSymbol GetProfilerAddDynamicSymbolFunc(); | 84 BASE_EXPORT AddDynamicSymbol GetProfilerAddDynamicSymbolFunc(); |
| 85 BASE_EXPORT MoveDynamicSymbol GetProfilerMoveDynamicSymbolFunc(); | 85 BASE_EXPORT MoveDynamicSymbol GetProfilerMoveDynamicSymbolFunc(); |
| 86 | 86 |
| 87 } // namespace debug | 87 } // namespace debug |
| 88 } // namespace base | 88 } // namespace base |
| 89 | 89 |
| 90 #endif // BASE_DEBUG_DEBUGGER_H | 90 #endif // BASE_DEBUG_PROFILER_H__ |
| OLD | NEW |