Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: src/sampler.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/sampler.h ('k') | src/scanner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "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
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 15 matching lines...) Expand all
31 // GLibc on ARM defines mcontext_t has a typedef for 'struct sigcontext'. 31 // GLibc on ARM defines mcontext_t has a typedef for 'struct sigcontext'.
32 // Old versions of the C library <signal.h> didn't define the type. 32 // Old versions of the C library <signal.h> didn't define the type.
33 #if V8_OS_ANDROID && !defined(__BIONIC_HAVE_UCONTEXT_T) && \ 33 #if V8_OS_ANDROID && !defined(__BIONIC_HAVE_UCONTEXT_T) && \
34 (defined(__arm__) || defined(__aarch64__)) && \ 34 (defined(__arm__) || defined(__aarch64__)) && \
35 !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT) 35 !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT)
36 #include <asm/sigcontext.h> 36 #include <asm/sigcontext.h>
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 "win32-headers.h" 41 #include "src/win32-headers.h"
42 42
43 #endif 43 #endif
44 44
45 #include "v8.h" 45 #include "src/v8.h"
46 46
47 #include "cpu-profiler-inl.h" 47 #include "src/cpu-profiler-inl.h"
48 #include "flags.h" 48 #include "src/flags.h"
49 #include "frames-inl.h" 49 #include "src/frames-inl.h"
50 #include "log.h" 50 #include "src/log.h"
51 #include "platform.h" 51 #include "src/platform.h"
52 #include "simulator.h" 52 #include "src/simulator.h"
53 #include "v8threads.h" 53 #include "src/v8threads.h"
54 #include "vm-state-inl.h" 54 #include "src/vm-state-inl.h"
55 55
56 56
57 #if V8_OS_ANDROID && !defined(__BIONIC_HAVE_UCONTEXT_T) 57 #if V8_OS_ANDROID && !defined(__BIONIC_HAVE_UCONTEXT_T)
58 58
59 // Not all versions of Android's C library provide ucontext_t. 59 // Not all versions of Android's C library provide ucontext_t.
60 // Detect this and provide custom but compatible definitions. Note that these 60 // Detect this and provide custom but compatible definitions. Note that these
61 // follow the GLibc naming convention to access register values from 61 // follow the GLibc naming convention to access register values from
62 // mcontext_t. 62 // mcontext_t.
63 // 63 //
64 // See http://code.google.com/p/android/issues/detail?id=34784 64 // See http://code.google.com/p/android/issues/detail?id=34784
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 #endif // USE_SIMULATOR 728 #endif // USE_SIMULATOR
729 SampleStack(state); 729 SampleStack(state);
730 } 730 }
731 ResumeThread(profiled_thread); 731 ResumeThread(profiled_thread);
732 } 732 }
733 733
734 #endif // USE_SIGNALS 734 #endif // USE_SIGNALS
735 735
736 736
737 } } // namespace v8::internal 737 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/sampler.h ('k') | src/scanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698