| Index: src/platform-linux.cc
|
| diff --git a/src/platform-linux.cc b/src/platform-linux.cc
|
| index e158a5fc1b2c86bbef156374c352fcad3e1bd227..ab22a79cd4294a24c310308e8a9ef4fec2413a91 100644
|
| --- a/src/platform-linux.cc
|
| +++ b/src/platform-linux.cc
|
| @@ -466,7 +466,6 @@ PosixMemoryMappedFile::~PosixMemoryMappedFile() {
|
|
|
|
|
| void OS::LogSharedLibraryAddresses() {
|
| -#ifdef ENABLE_LOGGING_AND_PROFILING
|
| // This function assumes that the layout of the file is as follows:
|
| // hex_start_addr-hex_end_addr rwxp <unused data> [binary_file_name]
|
| // If we encounter an unexpected situation we abort scanning further entries.
|
| @@ -523,7 +522,6 @@ void OS::LogSharedLibraryAddresses() {
|
| }
|
| free(lib_name);
|
| fclose(fp);
|
| -#endif
|
| }
|
|
|
|
|
| @@ -531,7 +529,6 @@ static const char kGCFakeMmap[] = "/tmp/__v8_gc__";
|
|
|
|
|
| void OS::SignalCodeMovingGC() {
|
| -#ifdef ENABLE_LOGGING_AND_PROFILING
|
| // Support for ll_prof.py.
|
| //
|
| // The Linux profiler built into the kernel logs all mmap's with
|
| @@ -547,7 +544,6 @@ void OS::SignalCodeMovingGC() {
|
| ASSERT(addr != MAP_FAILED);
|
| munmap(addr, size);
|
| fclose(f);
|
| -#endif
|
| }
|
|
|
|
|
| @@ -842,8 +838,6 @@ Semaphore* OS::CreateSemaphore(int count) {
|
| }
|
|
|
|
|
| -#ifdef ENABLE_LOGGING_AND_PROFILING
|
| -
|
| #if !defined(__GLIBC__) && (defined(__arm__) || defined(__thumb__))
|
| // Android runs a fairly new Linux kernel, so signal info is there,
|
| // but the C library doesn't have the structs defined.
|
| @@ -1131,6 +1125,5 @@ void Sampler::Stop() {
|
| SetActive(false);
|
| }
|
|
|
| -#endif // ENABLE_LOGGING_AND_PROFILING
|
|
|
| } } // namespace v8::internal
|
|
|