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

Unified Diff: src/platform-linux.cc

Issue 1547023: C++ profiler: publish the new API, make compatible with WebKit / Chromium. (Closed)
Patch Set: comments addressed Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | src/profile-generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform-linux.cc
diff --git a/src/platform-linux.cc b/src/platform-linux.cc
index b628295f7ee2d8a9945fcf01debeceeb89955d24..03f73dd1b5e1c4d22f1b3440dc700bc11413e173 100644
--- a/src/platform-linux.cc
+++ b/src/platform-linux.cc
@@ -771,13 +771,9 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) {
// Implement this on MIPS.
UNIMPLEMENTED();
#endif
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR
- active_sampler_->SampleStack(sample);
-#else
if (IsVmThread()) {
active_sampler_->SampleStack(sample);
}
-#endif
}
}
#ifndef ENABLE_CPP_PROFILES_PROCESSOR
« no previous file with comments | « src/flag-definitions.h ('k') | src/profile-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698