| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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/libsampler/v8-sampler.h" | 5 #include "src/libsampler/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 |
| 11 #include <errno.h> | 11 #include <errno.h> |
| 12 #include <pthread.h> | 12 #include <pthread.h> |
| 13 #include <signal.h> | 13 #include <signal.h> |
| 14 #include <sys/time.h> | 14 #include <sys/time.h> |
| 15 | 15 |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 #endif | 664 #endif |
| 665 SampleStack(state); | 665 SampleStack(state); |
| 666 } | 666 } |
| 667 ResumeThread(profiled_thread); | 667 ResumeThread(profiled_thread); |
| 668 } | 668 } |
| 669 | 669 |
| 670 #endif // USE_SIGNALS | 670 #endif // USE_SIGNALS |
| 671 | 671 |
| 672 } // namespace sampler | 672 } // namespace sampler |
| 673 } // namespace v8 | 673 } // namespace v8 |
| OLD | NEW |