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

Side by Side Diff: src/code-events.h

Issue 2595673002: [profiler] Do not report native function names as script names. (Closed)
Patch Set: Created 3 years, 12 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 | « no previous file | src/log.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #ifndef V8_CODE_EVENTS_H_ 5 #ifndef V8_CODE_EVENTS_H_
6 #define V8_CODE_EVENTS_H_ 6 #define V8_CODE_EVENTS_H_
7 7
8 #include <unordered_set> 8 #include <unordered_set>
9 9
10 #include "src/base/platform/mutex.h" 10 #include "src/base/platform/mutex.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 }; 83 };
84 #undef DECLARE_ENUM 84 #undef DECLARE_ENUM
85 85
86 virtual ~CodeEventListener() {} 86 virtual ~CodeEventListener() {}
87 87
88 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code, 88 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
89 const char* comment) = 0; 89 const char* comment) = 0;
90 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code, 90 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
91 Name* name) = 0; 91 Name* name) = 0;
92 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code, 92 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
93 SharedFunctionInfo* shared, Name* name) = 0; 93 SharedFunctionInfo* shared, Name* source) = 0;
94 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code, 94 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
95 SharedFunctionInfo* shared, Name* source, 95 SharedFunctionInfo* shared, Name* source,
96 int line, int column) = 0; 96 int line, int column) = 0;
97 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code, 97 virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
98 int args_count) = 0; 98 int args_count) = 0;
99 virtual void CallbackEvent(Name* name, Address entry_point) = 0; 99 virtual void CallbackEvent(Name* name, Address entry_point) = 0;
100 virtual void GetterCallbackEvent(Name* name, Address entry_point) = 0; 100 virtual void GetterCallbackEvent(Name* name, Address entry_point) = 0;
101 virtual void SetterCallbackEvent(Name* name, Address entry_point) = 0; 101 virtual void SetterCallbackEvent(Name* name, Address entry_point) = 0;
102 virtual void RegExpCodeCreateEvent(AbstractCode* code, String* source) = 0; 102 virtual void RegExpCodeCreateEvent(AbstractCode* code, String* source) = 0;
103 virtual void CodeMoveEvent(AbstractCode* from, Address to) = 0; 103 virtual void CodeMoveEvent(AbstractCode* from, Address to) = 0;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 std::unordered_set<CodeEventListener*> listeners_; 179 std::unordered_set<CodeEventListener*> listeners_;
180 base::Mutex mutex_; 180 base::Mutex mutex_;
181 181
182 DISALLOW_COPY_AND_ASSIGN(CodeEventDispatcher); 182 DISALLOW_COPY_AND_ASSIGN(CodeEventDispatcher);
183 }; 183 };
184 184
185 } // namespace internal 185 } // namespace internal
186 } // namespace v8 186 } // namespace v8
187 187
188 #endif // V8_CODE_EVENTS_H_ 188 #endif // V8_CODE_EVENTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698