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

Side by Side Diff: src/platform-openbsd.cc

Issue 3831002: Support profiling based on linux kernel performance events. (Closed)
Patch Set: More fixes Created 10 years, 2 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
« no previous file with comments | « src/platform-nullos.cc ('k') | src/platform-solaris.cc » ('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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 // There may be no filename in this line. Skip to next. 282 // There may be no filename in this line. Skip to next.
283 if (start_of_path == NULL) continue; 283 if (start_of_path == NULL) continue;
284 buffer[bytes_read] = 0; 284 buffer[bytes_read] = 0;
285 LOG(SharedLibraryEvent(start_of_path, start, end)); 285 LOG(SharedLibraryEvent(start_of_path, start, end));
286 } 286 }
287 close(fd); 287 close(fd);
288 #endif 288 #endif
289 } 289 }
290 290
291 291
292 void OS::SignalCodeMovingGC() {
293 }
294
295
292 int OS::StackWalk(Vector<OS::StackFrame> frames) { 296 int OS::StackWalk(Vector<OS::StackFrame> frames) {
293 UNIMPLEMENTED(); 297 UNIMPLEMENTED();
294 return 1; 298 return 1;
295 } 299 }
296 300
297 301
298 // Constants used for mmap. 302 // Constants used for mmap.
299 static const int kMmapFd = -1; 303 static const int kMmapFd = -1;
300 static const int kMmapFdOffset = 0; 304 static const int kMmapFdOffset = 0;
301 305
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 } 618 }
615 619
616 // This sampler is no longer the active sampler. 620 // This sampler is no longer the active sampler.
617 active_sampler_ = NULL; 621 active_sampler_ = NULL;
618 active_ = false; 622 active_ = false;
619 } 623 }
620 624
621 #endif // ENABLE_LOGGING_AND_PROFILING 625 #endif // ENABLE_LOGGING_AND_PROFILING
622 626
623 } } // namespace v8::internal 627 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-nullos.cc ('k') | src/platform-solaris.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698