| 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/sampler.h" | 5 #include "src/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/v8.h" | |
| 46 | |
| 47 #include "src/base/platform/platform.h" | 45 #include "src/base/platform/platform.h" |
| 48 #include "src/cpu-profiler-inl.h" | 46 #include "src/cpu-profiler-inl.h" |
| 49 #include "src/flags.h" | 47 #include "src/flags.h" |
| 50 #include "src/frames-inl.h" | 48 #include "src/frames-inl.h" |
| 51 #include "src/log.h" | 49 #include "src/log.h" |
| 52 #include "src/simulator.h" | 50 #include "src/simulator.h" |
| 53 #include "src/v8threads.h" | 51 #include "src/v8threads.h" |
| 54 #include "src/vm-state-inl.h" | 52 #include "src/vm-state-inl.h" |
| 55 | 53 |
| 56 | 54 |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 SampleStack(state); | 768 SampleStack(state); |
| 771 } | 769 } |
| 772 ResumeThread(profiled_thread); | 770 ResumeThread(profiled_thread); |
| 773 } | 771 } |
| 774 | 772 |
| 775 #endif // USE_SIGNALS | 773 #endif // USE_SIGNALS |
| 776 | 774 |
| 777 | 775 |
| 778 } // namespace internal | 776 } // namespace internal |
| 779 } // namespace v8 | 777 } // namespace v8 |
| OLD | NEW |