Index: base/debug/profiler.h |
diff --git a/base/debug/profiler.h b/base/debug/profiler.h |
index 7cce7b08f90ac99d095ee5b7b57d22c8935b063d..ea81b13c6ae4712b69b277bc3e68ee5755661715 100644 |
--- a/base/debug/profiler.h |
+++ b/base/debug/profiler.h |
@@ -38,6 +38,9 @@ BASE_EXPORT void RestartProfilingAfterFork(); |
// Returns true iff this executable is instrumented with the Syzygy profiler. |
BASE_EXPORT bool IsBinaryInstrumented(); |
+// Returns true iff this executable supports profiling. |
+BASE_EXPORT bool IsProfilingSupported(); |
+ |
// There's a class of profilers that use "return address swizzling" to get a |
// hook on function exits. This class of profilers uses some form of entry hook, |
// like e.g. binary instrumentation, or a compiler flag, that calls a hook each |