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

Unified Diff: src/profiler/sampler.h

Issue 1752173003: Additional fixes for external callback logging in profiler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test-log-stack-tracer.cc Created 4 years, 10 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/profiler/profile-generator.cc ('k') | src/profiler/sampler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profiler/sampler.h
diff --git a/src/profiler/sampler.h b/src/profiler/sampler.h
index d890f71c258aa5c8b70a970aa0de74aa70e752b2..8e8ef1cfc3e99dda279d165b8905223d5d189a65 100644
--- a/src/profiler/sampler.h
+++ b/src/profiler/sampler.h
@@ -34,7 +34,7 @@ struct TickSample {
TickSample()
: state(OTHER),
pc(NULL),
- external_callback(NULL),
+ external_callback_entry(NULL),
frames_count(0),
has_external_callback(false),
update_stats(true),
@@ -49,7 +49,7 @@ struct TickSample {
Address pc; // Instruction pointer.
union {
Address tos; // Top stack value (*sp).
- Address external_callback;
+ Address external_callback_entry;
};
static const unsigned kMaxFramesCountLog2 = 8;
static const unsigned kMaxFramesCount = (1 << kMaxFramesCountLog2) - 1;
« no previous file with comments | « src/profiler/profile-generator.cc ('k') | src/profiler/sampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698