| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project 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 "src/profiler/sampler.h" | 5 #include "src/profiler/sampler.h" |
| 6 | 6 |
| 7 #if V8_OS_POSIX && !V8_OS_CYGWIN | 7 #if V8_OS_POSIX && !V8_OS_CYGWIN |
| 8 | 8 |
| 9 #define USE_SIGNALS | 9 #define USE_SIGNALS |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT) | 35 !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT) |
| 36 #include <asm/sigcontext.h> // NOLINT | 36 #include <asm/sigcontext.h> // NOLINT |
| 37 #endif | 37 #endif |
| 38 | 38 |
| 39 #elif V8_OS_WIN || V8_OS_CYGWIN | 39 #elif V8_OS_WIN || V8_OS_CYGWIN |
| 40 | 40 |
| 41 #include "src/base/win32-headers.h" | 41 #include "src/base/win32-headers.h" |
| 42 | 42 |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 #include "src/atomic-utils.h" | 45 #include "src/base/atomic-utils.h" |
| 46 #include "src/base/platform/platform.h" | 46 #include "src/base/platform/platform.h" |
| 47 #include "src/flags.h" | 47 #include "src/flags.h" |
| 48 #include "src/frames-inl.h" | 48 #include "src/frames-inl.h" |
| 49 #include "src/log.h" | 49 #include "src/log.h" |
| 50 #include "src/profiler/cpu-profiler-inl.h" | 50 #include "src/profiler/cpu-profiler-inl.h" |
| 51 #include "src/simulator.h" | 51 #include "src/simulator.h" |
| 52 #include "src/v8threads.h" | 52 #include "src/v8threads.h" |
| 53 #include "src/vm-state-inl.h" | 53 #include "src/vm-state-inl.h" |
| 54 | 54 |
| 55 | 55 |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 SampleStack(state); | 1030 SampleStack(state); |
| 1031 } | 1031 } |
| 1032 ResumeThread(profiled_thread); | 1032 ResumeThread(profiled_thread); |
| 1033 } | 1033 } |
| 1034 | 1034 |
| 1035 #endif // USE_SIGNALS | 1035 #endif // USE_SIGNALS |
| 1036 | 1036 |
| 1037 | 1037 |
| 1038 } // namespace internal | 1038 } // namespace internal |
| 1039 } // namespace v8 | 1039 } // namespace v8 |
| OLD | NEW |